The NetBSD Project

CVS log for src/sys/dev/isa/isadma.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / isa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.66.58.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.66: +14 -10 lines
Diff to previous 1.66 (colored) next main 1.67 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD

Revision 1.66.52.1 / (download) - annotate - [select for diffs], Thu Jun 7 19:39:54 2018 UTC (5 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.66: +14 -10 lines
Diff to previous 1.66 (colored) next main 1.67 (colored) to selected 1.23.2.4 (colored)

Pull up following revision(s) (requested by jdolecek in ticket #841):

	sys/dev/isa/isadmareg.h: revision 1.9
	sys/dev/isa/isareg.h: revision 1.10
	sys/dev/isa/isadma.c: revision 1.67

fix off-by-one in the mapping of the ISA DMA page registers, they actually
start at 0x81; the code used bus_space_map() starting from 0x80 but
used +1 offset for actual I/O, now it maps starting 0x81 and does I/O
without offset

the reads and writes work exactly the same as before, but this frees
0x80 for being mapped independantly
patch provided in PR kern/52468 by Jonathan Chapman; checked against the spec
and also FreeBSD sys/x86/isa/isa_dma.c

Revision 1.67 / (download) - annotate - [select for diffs], Tue May 29 06:14:33 2018 UTC (5 years, 10 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.66: +14 -10 lines
Diff to previous 1.66 (colored) to selected 1.23.2.4 (colored)

fix off-by-one in the mapping of the ISA DMA page registers, they actually
start at 0x81; the code used bus_space_map() starting from 0x80 but
used +1 offset for actual I/O, now it maps starting 0x81 and does I/O
without offset

the reads and writes work exactly the same as before, but this frees
0x80 for being mapped independantly

patch provided in PR kern/52468 by Jonathan Chapman; checked against the spec
and also FreeBSD sys/x86/isa/isa_dma.c

Revision 1.62.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:25 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62.4.1: +3 -5 lines
Diff to previous 1.62.4.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.23.2.4 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:03 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-0-RC1, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.65: +2 -4 lines
Diff to previous 1.65 (colored) to selected 1.23.2.4 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:15 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.62.2.1: +1 -1 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.57.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:36 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.4.4: +5 -4 lines
Diff to previous 1.57.4.4 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jul 26 22:33:24 2010 UTC (13 years, 8 months ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) to selected 1.23.2.4 (colored)

Add PAE to ALL kernel, so that most paddr_t format string errors get caught
during compilation.

While here, fix the compilation for ALL.

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:28 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored) to selected 1.23.2.4 (colored)

sync with head

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:26 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.58.16.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:38 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.58.16.1: +2 -2 lines
Diff to previous 1.58.16.1 (colored) next main 1.59 (colored) to selected 1.23.2.4 (colored)

sync to netbsd-5

Revision 1.64 / (download) - annotate - [select for diffs], Mon Apr 19 18:24:26 2010 UTC (14 years ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.63: +4 -5 lines
Diff to previous 1.63 (colored) to selected 1.23.2.4 (colored)

Add default implementations for bus_space_is_equal(9),
bus_space_tag_create(9), and bus_space_tag_destroy(9).  Use
bus_space_is_equal(9) throughout the kernel to compare
bus_space_tag_t's.  Tested on i386 and on sparc64.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 22 22:30:58 2010 UTC (14 years ago) by dyoung
Branch: MAIN
Changes since 1.62: +4 -2 lines
Diff to previous 1.62 (colored) to selected 1.23.2.4 (colored)

isadma.c: #if 0 some diagnostic code that compares two bus_space_tag_t's.

pcdisplay.c: #if 0 some code that compares two bus_space_tag_t's
    in order to see if pcdisplay0 is console.  It does not seem to
    be helpful to compare the tags; maybe the author intended to
    compare some other bus property?

MI code should not compare an opaque type such as bus_space_tag_t!

Revision 1.57.4.4 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:09 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.4.3: +44 -4 lines
Diff to previous 1.57.4.3 (colored) to branchpoint 1.57 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Aug 18 16:52:42 2009 UTC (14 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.61: +44 -4 lines
Diff to previous 1.61 (colored) to selected 1.23.2.4 (colored)

Let us safely detach the ISA bus and devices attaching to the ISA
bus:

1 Add isadetach() for detaching the ISA bus, and add some helper
  routines that release resources held for ISA DMA.

2 In isachilddetached(), forget references to child devices.

While I am here, change ISA_DMA_DRQ_ISFREE(...) == 0 to the simpler
expression, !ISA_DMA_DRQ_ISFREE(...).

Revision 1.58.10.1 / (download) - annotate - [select for diffs], Sun Jul 26 18:33:35 2009 UTC (14 years, 8 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.23.2.4 (colored)

Pull up following revision(s) (requested by dholland in ticket #874):
	sys/dev/ic/ciss.c: revision 1.15
	sys/dev/isa/isadma.c: revision 1.59
	sys/dev/usb/ulpt.c: revision 1.82
	sys/dev/ic/tcic2.c: revision 1.31
	sys/dev/isa/if_ntwoc_isa.c: revision 1.18
	sys/dev/pci/if_sk.c: revision 1.57
	sys/dev/pcmcia/if_cnw.c: revision 1.46
More printf format fixes.

Revision 1.58.16.1 / (download) - annotate - [select for diffs], Sun Jul 26 18:31:39 2009 UTC (14 years, 8 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.23.2.4 (colored)

Pull up following revision(s) (requested by dholland in ticket #874):
	sys/dev/ic/ciss.c: revision 1.15
	sys/dev/isa/isadma.c: revision 1.59
	sys/dev/usb/ulpt.c: revision 1.82
	sys/dev/ic/tcic2.c: revision 1.31
	sys/dev/isa/if_ntwoc_isa.c: revision 1.18
	sys/dev/pci/if_sk.c: revision 1.57
	sys/dev/pcmcia/if_cnw.c: revision 1.46
More printf format fixes.

Revision 1.57.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:26 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.4.2: +3 -3 lines
Diff to previous 1.57.4.2 (colored) to branchpoint 1.57 (colored) to selected 1.23.2.4 (colored)

sync with head

Revision 1.58.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:53 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.58: +28 -104 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.61 / (download) - annotate - [select for diffs], Tue May 12 09:10:15 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.23.2.4 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:48 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.4.1: +28 -104 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.58.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:45 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.58.8.1: +27 -103 lines
Diff to previous 1.58.8.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:20 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.59: +27 -103 lines
Diff to previous 1.59 (colored) to selected 1.23.2.4 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:06 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Feb 13 23:31:23 2009 UTC (15 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.23.2.4 (colored)

More printf format fixes.

Revision 1.56.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:31 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.56: +22 -29 lines
Diff to previous 1.56 (colored) next main 1.57 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:03 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:27 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:52 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5, jym-xensuspend
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored) to selected 1.23.2.4 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.57 / (download) - annotate - [select for diffs], Tue Apr 8 20:08:50 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.56: +22 -22 lines
Diff to previous 1.56 (colored) to selected 1.23.2.4 (colored)

use aprint_*_dev and device_xname

Revision 1.55.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:46 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.23.2.4 (colored)

sync with HEAD

Revision 1.53.6.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:43 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.6.1: +3 -3 lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.55.14.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:22 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.55.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:18 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:10 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.23.2.4 (colored)

Sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:19 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) to selected 1.23.2.4 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:39 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53: +7 -7 lines
Diff to previous 1.53 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.54.26.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:54:50 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:12 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) to selected 1.23.2.4 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:02 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.23.2.4 (colored)

merge ktrace-lwp.

Revision 1.52.10.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:54 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.23.2.4 (colored)

sync with -current

Revision 1.52.12.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:45 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.23.2.4 (colored)

sync with head.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:09 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:40 2005 UTC (19 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) to selected 1.23.2.4 (colored)

de-__P

Revision 1.52 / (download) - annotate - [select for diffs], Fri May 9 23:51:29 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, ktrace-lwp, kent-audio2
Changes since 1.51: +30 -21 lines
Diff to previous 1.51 (colored) to selected 1.23.2.4 (colored)

A few ISA sound drivers like to share dma channels, and hence deferred
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.

To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.

All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:37 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored) to selected 1.23.2.4 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.47.2.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:23 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.47.2.2: +2 -2 lines
Diff to previous 1.47.2.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored) to selected 1.23.2.4 (colored)

Catch up to -current.

Revision 1.47.4.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:39:42 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.47.4.2: +3 -3 lines
Diff to previous 1.47.4.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored) to selected 1.23.2.4 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.50 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:22 2002 UTC (21 years, 6 months ago) by provos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) to selected 1.23.2.4 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:55:32 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.47.4.1: +4 -1 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) to selected 1.23.2.4 (colored)

Sync kqueue branch with -current.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:50 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.2.1: +4 -1 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) to selected 1.23.2.4 (colored)

Catch up to -current.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Nov 13 08:01:22 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored) to selected 1.23.2.4 (colored)

add RCSID

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:50 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored) to selected 1.23.2.4 (colored)

Catch up with -current.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:10 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored) to selected 1.23.2.4 (colored)

update to -current

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jul 19 16:41:11 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored) to selected 1.23.2.4 (colored)

Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.

Revision 1.42.8.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:30:38 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.8.2: +5 -3 lines
Diff to previous 1.42.8.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Feb 12 15:49:19 2001 UTC (23 years, 2 months ago) by briggs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored) to selected 1.23.2.4 (colored)

Clean up a couple of printf-format warnings.

Revision 1.42.8.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:03:47 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.8.1: +2 -2 lines
Diff to previous 1.42.8.1 (colored) to branchpoint 1.42 (colored) to selected 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:41:18 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42: +38 -17 lines
Diff to previous 1.42 (colored) to selected 1.23.2.4 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Nov 14 18:28:16 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.23.2.4 (colored)

NBPG -> PAGE_SIZE

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:48 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.43: +6 -5 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.23.2.4 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 28 16:27:55 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.23.2.4 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:21 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.43: +6 -5 lines
Diff to previous 1.43 (colored) to selected 1.23.2.4 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 7 22:07:31 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.42: +31 -11 lines
Diff to previous 1.42 (colored) to selected 1.23.2.4 (colored)

Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 22 07:06:09 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Changes since 1.41: +9 -3 lines
Diff to previous 1.41 (colored) to selected 1.23.2.4 (colored)

If bus_dmamap_create() fails, free the DMA channel.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Feb 22 02:33:48 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.40: +1 -6 lines
Diff to previous 1.40 (colored) to selected 1.23.2.4 (colored)

Oops; remove obsolete code.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 22 02:32:43 1999 UTC (25 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored) to selected 1.23.2.4 (colored)

Add support for demand mode with auto-init.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Mon Nov 23 03:12:57 1998 UTC (25 years, 4 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.23.2.4 (colored)

Fix many real and potential security problems with character device
driver mmap routines that did not properly bounds check offsets.
See NetBSD security advisory NetBSD-SA1998-005 for details.  Done
as a patch because it's large, and a fair number of bits are different
in -current.  (mrg)

Revision 1.39 / (download) - annotate - [select for diffs], Thu Nov 19 15:38:25 1998 UTC (25 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.38: +4 -1 lines
Diff to previous 1.38 (colored) to selected 1.23.2.4 (colored)

fix problems in many d_mmap routines:
	- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 8 05:23:23 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.37: +8 -1 lines
Diff to previous 1.37 (colored) to selected 1.23.2.4 (colored)

DRQ 4 is used to chain the two 8237s together.  Make sure it's always
cascaded and that it will be unmasked when DMA is thawed after being
frozen.  (This also has the effect of making sure that no device ever
erroneously gets DRQ 4.)

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jun 28 06:59:35 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +15 -3 lines
Diff to previous 1.36 (colored) to selected 1.23.2.4 (colored)

Add an additional ISA DMA mode: LOOPDEMAND.  This is for devices, such
as the Shark's CS8900 Ethernet, which want to use the DMA controller in
this mode (as opposed to single mode).

[Editor's note: committed from a Shark using a new bus_dma back-end
 and a CS8900 driver converted to use the MI code :-]

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jun 25 19:18:06 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +7 -13 lines
Diff to previous 1.35 (colored) to selected 1.23.2.4 (colored)

Don't panic if a DRQ is already allocated.  Instead, just return EAGAIN
to indicate that the resource is unavailable.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 9 01:04:18 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +67 -1 lines
Diff to previous 1.34 (colored) to selected 1.23.2.4 (colored)

Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
all ISA DMA.  Needed by e.g. the SmartCard reader for Sharks.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 9 00:00:21 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +212 -182 lines
Diff to previous 1.33 (colored) to selected 1.23.2.4 (colored)

Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device.  The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 4 05:14:35 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +7 -5 lines
Diff to previous 1.32 (colored) to selected 1.23.2.4 (colored)

Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Sat Sep 6 19:00:28 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28.2.2: +1 -10 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.23.2.4 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 5 01:48:33 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.31: +1 -10 lines
Diff to previous 1.31 (colored) to selected 1.23.2.4 (colored)

Enable use of bus_dmamem_mmap().

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Mon Sep 1 20:26:42 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28.2.1: +3 -1 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) to selected 1.23.2.4 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Aug 30 17:33:49 1997 UTC (26 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored) to selected 1.23.2.4 (colored)

Insert a sanity check so we get a panic instead of a kernel page
fault if the DMA map is missing.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:13:22 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28: +14 -1 lines
Diff to previous 1.28 (colored) to selected 1.23.2.4 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 4 22:13:32 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.29: +15 -2 lines
Diff to previous 1.29 (colored) to selected 1.23.2.4 (colored)

Implement a function to test if a drq is taken and use it
in two drivers.  There are still many drivers left to fix...

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 31 22:20:47 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.23.2.4 (colored)

Don't panic when creating a bus dma map for a taken dma channel,
it can happen during probing.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 28 20:56:16 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.27: +28 -1 lines
Diff to previous 1.27 (colored) to selected 1.23.2.4 (colored)

Audio: Remove the machine dependant code I put in audio.c by mistake.
This adds another method to audio_hw_if.  Also remove a field from
audio_hw_if that was not read-only.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 27 01:16:57 1997 UTC (26 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.26: +70 -1 lines
Diff to previous 1.26 (colored) to selected 1.23.2.4 (colored)

Changes to the sudio system:
  - It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 6 23:43:55 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.25: +410 -206 lines
Diff to previous 1.25 (colored) to selected 1.23.2.4 (colored)

Pull thorpej-bus-dma branch into mainline.

Revision 1.23.2.4 / (download) - annotate - [selected], Thu May 29 22:34:05 1997 UTC (26 years, 10 months ago) by mycroft
Branch: thorpej-bus-dma
Changes since 1.23.2.3: +9 -9 lines
Diff to previous 1.23.2.3 (colored) next main 1.24 (colored)

Use single mode, not demand mode, for auto-initialize transfers.

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 29 21:46:07 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-bus-dma-base
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.23.2.4 (colored)

Use single mode, not demand mode, for auto-initialize transfers.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Wed May 28 20:05:20 1997 UTC (26 years, 10 months ago) by mycroft
Branch: thorpej-bus-dma
Changes since 1.23.2.2: +29 -19 lines
Diff to previous 1.23.2.2 (colored) to selected 1.23.2.4 (colored)

Don't use the TC bit to check for wraparound in isa_dmacount(); remember the
transfer length and use that.

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 28 20:02:39 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +32 -21 lines
Diff to previous 1.23 (colored) to selected 1.23.2.4 (colored)

Don't use the TC bit to check for wraparound in isa_dmacount(); remember the
transfer length and use that.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sat May 17 00:32:41 1997 UTC (26 years, 11 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.23.2.1: +116 -1 lines
Diff to previous 1.23.2.1 (colored) to selected 1.23.2.4 (colored)

Add isa_dmamem_*() functions, which are wrappers around bus_dmamem_*()
functions, but encapsulate the peculiar memory contraints of the
on-board ISA DMA controller.  Devices which use the isa_dma*() functions
should use these for DMA-safe memory manipulation.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue May 13 03:14:20 1997 UTC (26 years, 11 months ago) by thorpej
Branch: thorpej-bus-dma
Changes since 1.23: +309 -219 lines
Diff to previous 1.23 (colored) to selected 1.23.2.4 (colored)

Mostly-rewrite, converting the ISA DMA controller driver to be a user
of the bus dma API.  A new isa_dma*() function call interface is exported
to drivers that need to use this controller.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 21 02:17:11 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Branch point for: thorpej-bus-dma
Changes since 1.22: +75 -82 lines
Diff to previous 1.22 (colored) to selected 1.23.2.4 (colored)

Clean up a bit, and export isa_dmamask() and isa_dmaunmask() interfaces.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 21 00:00:21 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.21: +68 -11 lines
Diff to previous 1.21 (colored) to selected 1.23.2.4 (colored)

Add an isa_dmacount() function, to get the current residual count on a channel.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 13 01:37:54 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.23.2.4 (colored)

backout kprintf changes

Revision 1.20 / (download) - annotate - [select for diffs], Thu Oct 10 22:05:06 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.23.2.4 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 29 20:03:26 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.18: +17 -5 lines
Diff to previous 1.18 (colored) to selected 1.23.2.4 (colored)

- prototype fixes

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 31 20:51:43 1996 UTC (28 years ago) by mycroft
Branch: MAIN
Changes since 1.17: +6 -5 lines
Diff to previous 1.17 (colored) to selected 1.23.2.4 (colored)

Fix a slight biff with 16-bit DMA in last change.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 1 04:35:27 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.23.2.4 (colored)

Oops; switched two bits.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 1 04:13:25 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.15: +3 -9 lines
Diff to previous 1.15 (colored) to selected 1.23.2.4 (colored)

Remove two unneeded `if's.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 1 04:08:48 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.14: +32 -19 lines
Diff to previous 1.14 (colored) to selected 1.23.2.4 (colored)

Add support to the ISA DMA framework for auto-initialize mode.
Add experimental SB16 code, disabled for now.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 22 06:21:48 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +11 -5 lines
Diff to previous 1.13 (colored) to selected 1.23.2.4 (colored)

Keep the terminal count information around, as it's self-clearing.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 20 04:17:05 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +23 -14 lines
Diff to previous 1.12 (colored) to selected 1.23.2.4 (colored)

Move the terminal count check into a separate function.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 17 12:09:11 1995 UTC (29 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.23.2.4 (colored)

clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration.  more work still needs to be done,
but it's getting better...

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 10 13:14:54 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.23.2.4 (colored)

kernel_pmap --> pmap_kernel()

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 18 22:07:37 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.23.2.4 (colored)

Convert port, IRQ, and DRQ numbers to ints.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 4 19:25:34 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored) to selected 1.23.2.4 (colored)

Rearrange slightly.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 27 04:17:07 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -0 lines
Diff to previous 1.7 (colored) to selected 1.23.2.4 (colored)

new RCS ID format.

Revision 1.7 / (download) - annotate - [select for diffs], Mon May 23 03:02:13 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.23.2.4 (colored)

quiet compiler warnings

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 24 01:34:07 1994 UTC (30 years ago) by mycroft
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored) to selected 1.23.2.4 (colored)

Rename two files.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 22 22:58:50 1994 UTC (30 years ago) by mycroft
Branch: MAIN
Changes since 1.4: +97 -151 lines
Diff to previous 1.4 (colored) to selected 1.23.2.4 (colored)

Separate DMA functions.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 22 20:24:14 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +46 -14 lines
Diff to previous 1.3 (colored) to selected 1.23.2.4 (colored)

Add at_setup_dmachan().  Minor cleanup.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 17 05:34:23 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +15 -13 lines
Diff to previous 1.2 (colored) to selected 1.23.2.4 (colored)

Minor cleanup.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 16 03:55:59 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.23.2.4 (colored)

Panic if DMA with odd length attempted on a 16-bit channel.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 14 05:22:57 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Diff to selected 1.23.2.4 (colored)

New file with DMA code from isa.c, modified to check for some errors.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>