The NetBSD Project

CVS log for src/sys/dev/md.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.86.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 20 09:24:12 2024 UTC (2 years, 1 month ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-2-RELEASE, netbsd-10-1-RELEASE
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +7 -4 lines
Pull up following revision(s) (requested by rin in ticket #884):

	sys/dev/md.c: revision 1.87

It is not sufficient to have a comment /* Sanity check the size. */,
also check the size is greater than zero and a multiple of DEV_BSIZE.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Jan 13 15:46:40 2023 UTC (3 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, HEAD
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -4 lines
It is not sufficient to have a comment /* Sanity check the size. */,
also check the size is greater than zero and a multiple of DEV_BSIZE.

Reported-by: syzbot+318187e5124846542f8d@syzkaller.appspotmail.com

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Sep 24 23:20:13 2022 UTC (4 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -5 lines
malloc(9) -> kmem(9)

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu May 14 08:34:18 2020 UTC (6 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3 lines
Remove extra semicolon.

Revision 1.80.4.4: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:14 2020 UTC (6 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.80.4.3: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.4.3: +1 -1 lines
Sync with HEAD

Revision 1.83.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:02 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +3 -3 lines
Sync with HEAD

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:02 2020 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3 lines
constify

Revision 1.80.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:18 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.80.4.2: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.4.2: +2 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.80.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.80.4.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.4.1: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:45 2020 UTC (6 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +3 -3 lines
Sync with head.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Jan 18 14:02:18 2020 UTC (6 years, 9 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2
Branch point for: bouyer-xenpvh
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3 lines
Mark the cdev MPSAFE too.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Aug 29 16:20:48 2019 UTC (7 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -3 lines
Add "d_minphys" to "mddkdriver" to make physio() on wedges happy.

Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -6 lines
Sync with HEAD

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun May 26 10:22:07 2019 UTC (7 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, 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
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -6 lines
Take "sc_lock" after calling disk_ioctl() to make GPT partitioning work.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Mar 3 19:26:12 2018 UTC (8 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, 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, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +12 -4 lines
conditionally elide conditional for rump.

Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.1: +21 -22 lines
update from HEAD

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Oct 28 03:47:24 2017 UTC (9 years ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -3 lines
Kill some more extern cfdriver xyz_cd in favour of #include "ioconf.h".

Revision 1.78.6.6: download - view: text, markup, annotated - select for diffs
Wed May 17 01:44:17 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78.6.5: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.6.5: +3 -6 lines
At suggestion of chuq@, modify config_attach_pseudo() to return with a
reference held on the device.

Adapt callers to expect the reference to exist, and to ensure that the
reference is released.

Revision 1.78.6.5: download - view: text, markup, annotated - select for diffs
Sun May 14 05:38:38 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78.6.4: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.6.4: +4 -3 lines
Mark variable as __diagused to fix build-break

Revision 1.78.6.4: download - view: text, markup, annotated - select for diffs
Sat Apr 29 11:12:14 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78.6.3: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.6.3: +3 -5 lines
Remove more unnecessary #include for sys/localcount.h

Revision 1.78.6.3: download - view: text, markup, annotated - select for diffs
Fri Apr 28 06:00:33 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78.6.2: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.6.2: +4 -6 lines
Introduce config_detach_release() which does all the work from the
former config_detach().  Now, config_detach() simply acquires a
reference to the device, which config_detach_release() can release!

This is needed because some drivers call config_detach() with a
reference, while other drivers have not been updated to use the
localcount reference mechanism.  So we provide a shim to make
everyone equal.

Revision 1.78.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 27 23:18:21 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78.6.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.6.1: +3 -6 lines
Don't reference a known-NULL pointer, and remove duplicated calls to
mutex_enter() and mutex_exit()

Revision 1.78.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:35 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +58 -17 lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.71.4.5: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:40 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.71.4.4: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.4.4: +5 -5 lines
Sync with HEAD

Revision 1.76.2.7: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:07 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76.2.6: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.6: +6 -2 lines
Sync with HEAD

Revision 1.76.2.6: download - view: text, markup, annotated - select for diffs
Thu Jul 28 23:59:15 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76.2.5: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.2.5: +41 -62 lines
Since md(4) has a pointer from the softc back to the device_t, it is
OK for us to use device_lookup_private_acquire() rather than calling
device_lookup_acquire() followed by device_private().

So, redo earlier changes, which reduces diff to the original code at
the branch-point.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Jul 27 05:14:40 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3 lines
Don't mutex_exit() if we didn't mutex_enter().

Pointed out by coypu. Thanks!

Revision 1.76.2.5: download - view: text, markup, annotated - select for diffs
Wed Jul 27 03:25:00 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76.2.4: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.2.4: +7 -7 lines
Repair the inevitable tyops in previous.

Revision 1.76.2.4: download - view: text, markup, annotated - select for diffs
Wed Jul 27 01:13:50 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76.2.3: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.2.3: +74 -19 lines
Update a few more drivers for localcount(9)

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Jul 27 01:09:44 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4 lines
If we're going to check for a NULL pointer, do the check before we
dereference it (to get the lock address).

Revision 1.76.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 26 05:54:39 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76.2.2: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.2.2: +4 -4 lines
Rename LOCALCOUNT_INITIALIZER to DEVSW_MODULE_INIT.  This better describes
what we're doing, and why.

Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 19 06:26:58 2016 UTC (10 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.2.1: +4 -12 lines
Instead of repeatedly typing the conditional initialization of the
.d_localcount members in the various {b,c}devsw, define an initializer
macro and use it.  This also removes the need for defining new symbols
for each 'struct localcount'.

As suggested by riastradh@

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 18 03:49:59 2016 UTC (10 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +13 -2 lines
Rump drivers are always installed via devsw_attach() so we need to
always allocate a 'struct localcount' for these drivers whenever they
are built as modules.

Revision 1.71.4.4: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:08 2016 UTC (10 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.71.4.3: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.4.3: +13 -2 lines
Sync with HEAD

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Jan 4 16:24:52 2016 UTC (10 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Branch point for: pgoyette-localcount
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +13 -2 lines
Notify disk subsystem of the current geometry.

Ok: Michael van Elst

Revision 1.71.4.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:56 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.71.4.2: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.4.2: +3 -4 lines
Sync with HEAD

Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Aug 20 14:40:17 2015 UTC (11 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -4 lines
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.71.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:06 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.71.4.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.4.1: +6 -4 lines
Sync with HEAD

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Apr 26 15:15:20 2015 UTC (11 years, 6 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -3 lines
Use C99-style initializers for struct dkdriver.

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:08 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -17 lines
Sync with HEAD

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Jan 2 19:42:06 2015 UTC (11 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
We have three sets of DTYPE_ constants in the kernel:
	altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Dec 31 19:52:05 2014 UTC (11 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -16 lines
make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:35 2014 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +26 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:50 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +4 -2 lines
Rebase.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, 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
Branch point for: nick-nhusb
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:02:19 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2 lines
Add d_discard to all struct bdevsw instances I could find.

I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.

Revision 1.66.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.66.8.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.8.1: +24 -5 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:35 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +24 -5 lines
sync with head

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:26 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +20 -5 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Mar 13 10:22:35 2014 UTC (12 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -2 lines
No need to detach (and return EBUSY) if dk_openmask is non-zero.

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:49 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -2 lines
sync with head

Revision 1.66.14.1: download - view: text, markup, annotated - select for diffs
Thu Jul 5 17:36:31 2012 UTC (14 years, 4 months ago) by riz
Branches: netbsd-6
CVS tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +9 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #395):
	sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.95
	sys/arch/atari/atari/autoconf.c: revision 1.62
	sys/dev/md.c: revision 1.67
Add a dirty hack for atari's ancient installation ramdisk:
 Forcibly configure md0, md1, and md2 devices before setroot()
 for atari's traditional "auto-load from floppy on open" md_root device
 which loads installation ramdisk image from floppy.
 md(4) has been changed dynamically configured at first open after 5.0
 and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.
Should be pulled up to netbsd-6.
Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().
Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.
Should be pulled up to netbsd-6 (at least for atari).
Add a sanity check if secsize returned from getdisksize() isn't bogus.
This prevent possible panic "panic: buf mem pool index 23" later in
vfs_bio.c:buf_mempoolidx().
(I'm not sure if it's okay for getdisksize() to assume that
 partinfo taken from DIOCGPART is properly initialized
 on all disk(9) devices or not)
See also:
http://mail-index.NetBSD.org/source-changes/2012/06/30/msg035298.html

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jun 30 10:52:31 2012 UTC (14 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -2 lines
Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().

Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.

Should be pulled up to netbsd-6 (at least for atari).

Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:00 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +182 -50 lines
sync with head

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Nov 25 08:53:30 2010 UTC (15 years, 11 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, matt-mips64-premerge-20101231, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -7 lines
- Don't detach configured devices on last close.
- No kmem allocation and biodone() under lock (from rmind@netbsd.org).

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Nov 23 09:30:43 2010 UTC (15 years, 11 months ago) by hannken
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +47 -14 lines
Make md(4) mp-safe.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Nov 22 21:10:10 2010 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -2 lines
Don't have a COW (Compiler OW) in case there is no kernel_opt.

Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 18 16:09:46 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.1: +27 -1 lines
Implement XIP in md(4).

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 18 16:07:52 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +121 -37 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Nov 11 11:07:06 2010 UTC (16 years ago) by hannken
Branches: MAIN
CVS tags: uebayasi-xip-base6
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +121 -37 lines
Change md(4) to:
- create md devices on first open and destroy on last close.
- add enough disk label support to make DIOCGDINFO and DIOCGPART work.
- add disk_busy()/disk_unbusy() instrumentation.

Ok: David Young <dyoung@netbsd.org>

Revision 1.56.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:32 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +13 -2 lines
sync to netbsd-5

Revision 1.52.4.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:21 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52.4.4: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.4.4: +7 -12 lines
sync with head

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Jan 21 02:14:42 2010 UTC (16 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +7 -6 lines
Take care not to dereference a NULL softc.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Oct 22 20:15:45 2009 UTC (17 years ago) by snj
Branches: MAIN
CVS tags: matt-premerge-20091211, jym-xensuspend-nbase
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -8 lines
Drop 3rd and 4th clauses.  OK gwr@ leo@ (copyright holders).

Revision 1.52.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:02 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52.4.3: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.4.3: +49 -4 lines
sync with head.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Jul 28 17:55:27 2009 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +49 -4 lines
Make mdopen() and mdclose() maintain the openmask.  md_detach()
depends on the openmask to know whether it should either return
EBUSY because the device is open, or tear the device down.

Alan Barrett reports that this fixes kern/41725, in part: it prevents
the UVM fault, and the kernel detaches /dev/md0a after unmounting
/ on /dev/md0a instead of before.

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:45 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +30 -6 lines
Sync with HEAD.

Revision 1.52.4.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:20 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52.4.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.4.2: +30 -6 lines
sync with head

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue May 19 20:25:41 2009 UTC (17 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +30 -6 lines
Add a detachment hook.  Detach md(4) at shutdown.

Revision 1.52.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:18 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52.4.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.4.1: +13 -2 lines
sync with head

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:05 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +13 -2 lines
Sync with HEAD.

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

Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Mon May 11 20:07:08 2009 UTC (17 years, 6 months ago) by bouyer
Branches: 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
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +13 -2 lines
Pull up following revision(s) (requested by manu in ticket #749):
	sys/dev/md.c: revision 1.58
TFTPROOT loads the RAMdisk through TFTP at boot time. It needs the
network to be functionnal, and therefore must be called after
config_finalize(). Unfortunately, config_finalize() attaches md0
through mdattach(), and when tftproot_getfile() attempts to attach it
later by calling mdattach() again, it gets a failure.
This change checks for the RAMdisk size in mdattach(). If it is zero, then
the RAMdisk has not been loaded yet, and nothing is done. It will be
attached later when tftproot_getfile() will call mdattach()

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon May 4 16:20:41 2009 UTC (17 years, 6 months ago) by manu
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, jym-xensuspend-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +13 -2 lines
TFTPROOT loads the RAMdisk through TFTP at boot time. It needs the
network to be functionnal, and therefore must be called after
config_finalize(). Unfortunately, config_finalize() attaches md0
through mdattach(), and when tftproot_getfile() attempts to attach it
later by calling mdattach() again, it gets a failure.

This change checks for the RAMdisk size in mdattach(). If it is zero, then
the RAMdisk has not been loaded yet, and nothing is done. It will be
attached later when tftproot_getfile() will call mdattach()

Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:33 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +30 -66 lines
sync with head.

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:51 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +4 -4 lines
Sync with HEAD.

Revision 1.51.18.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:52 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51.18.4: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.18.4: +4 -4 lines
Sync with HEAD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jan 13 13:35:52 2009 UTC (17 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
g/c BUFQ_FOO() macros and use bufq_foo() directly.

Revision 1.51.18.4: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:19 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51.18.3: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.18.3: +12 -12 lines
Sync with HEAD.

Revision 1.51.18.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:04 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51.18.2: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.18.2: +26 -62 lines
Sync with HEAD.

Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:58 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +28 -64 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:03 2008 UTC (18 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +28 -64 lines
Sync with head.

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:24 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +28 -64 lines
sync with head.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jun 16 10:27:47 2008 UTC (18 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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, matt-mips64-base2, 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, matt-nb5-mips64
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -4 lines
more cleanup: the sc_dev backpointer is unused, remove it

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jun 13 20:05:06 2008 UTC (18 years, 5 months ago) by cegger
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -2 lines
register NULL pmf handlers. md(4) is supposed to not loose / change when resuming from S3.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jun 13 19:55:26 2008 UTC (18 years, 5 months ago) by cegger
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +17 -29 lines
device_t/softc split
while here, remove unused variables and do some other cleanups
with feedback from cube

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jun 11 10:38:44 2008 UTC (18 years, 5 months ago) by drochner
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +20 -45 lines
Replace the weird method to create instances by config_attach_pseudo()
as everyone else does, and remove the private table of instances which
is replaced by the table in the cfdriver.
This could get more cleanup, and I didn't split device/softc yet.

Revision 1.51.18.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51.18.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.18.1: +3 -3 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Apr 9 05:47:19 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
use aprint_*_dev and device_xname

Revision 1.51.18.1: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:20 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +17 -2 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:28 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -4 lines
sync with HEAD

Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:58 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.3: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.3: +3 -4 lines
sync with head.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:10 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -4 lines
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.50.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:01 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -4 lines
sync with head.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Oct 8 16:41:10 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, 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, vmlocking-base, 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, bouyer-xenamd64, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -4 lines
Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:13 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.2: +13 -16 lines
sync with head.

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:16:10 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.2: +5 -6 lines
- Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:21 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +9 -7 lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:13 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +2 -5 lines
Sync with HEAD.

Revision 1.50.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:19 2007 UTC (19 years, 3 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.50.10.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.10.1: +513 -0 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.50.10.1
Sun Jul 29 12:50:18 2007 UTC (19 years, 3 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.50: +0 -513 lines
file md.c was added on branch matt-mips64 on 2007-07-29 12:50:19 +0000

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:18 2007 UTC (19 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -5 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jul 15 08:40:22 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
CVS tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
Default MEMORY_DISK_SERVER to 1 instead of using 'undefined' to mean 1.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:21 2007 UTC (19 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -14 lines
- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:04 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +11 -11 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:42 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -11 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:50 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +9 -6 lines
sync with head.

Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:53 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.1: +11 -11 lines
sync with head.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:03 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +8 -5 lines
Sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:45 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -11 lines
__unused removal on arguments; approved by core.

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:28 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +13 -10 lines
sync with head

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:51 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +13 -10 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:09 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -4 lines
sync with head

Revision 1.43.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:55 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.43.8.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.8.1: +3 -3 lines
sync with head.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Sep 2 07:02:33 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
add missing initializer

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:12 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +16 -16 lines
sync with head.

Revision 1.43.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:45 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -3 lines
Sync with head.

Revision 1.43.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:24 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -3 lines
sync with head.

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:43 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
sync with head.

Revision 1.43.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:17 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -3 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Mar 28 17:38:29 2006 UTC (20 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Use device_unit().

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:53 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -11 lines
merge ktrace-lwp.

Revision 1.36.2.9: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:03:00 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.8: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.8: +6 -6 lines
Sync with HEAD. Here we go again...

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Oct 15 17:29:11 2005 UTC (21 years, 1 month ago) by yamt
Branches: 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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -6 lines
- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:44 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +5 -5 lines
sync with -current

Revision 1.36.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:37 2005 UTC (21 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.7: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.7: +3 -3 lines
Sync with HEAD.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:37 2005 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:53 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +4 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.36.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:53 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.6: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.6: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:26:58 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
nuke trailing whitespace

Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 25 13:03:14 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
convert to new apis.

Revision 1.36.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:19 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.5: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.5: +3 -2 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Oct 28 07:07:39 2004 UTC (22 years ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
move buffer queue related stuffs from buf.h to their own header, bufq.h.

Revision 1.36.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:25 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.4: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.4: +11 -11 lines
Fix the sync with head I botched.

Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:28 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.3: +11 -11 lines
Sync with HEAD.

Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:17 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +39 -64 lines
Sync with HEAD

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Aug 30 00:34:42 2004 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +37 -64 lines
Use ANSI function decls, sprinkle static.

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:54 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +4 -3 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Apr 21 18:40:37 2004 UTC (22 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -3 lines
kill sprintf, use snprintf

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:00 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +12 -14 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:00 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
CVS tags: 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
Branch point for: ktrace-lwp
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -10 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:31 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +12 -14 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue May 13 02:56:13 2003 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Use aprint_error() where appropriate.

Revision 1.25.2.7: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:48:02 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.25.2.6: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.6: +5 -5 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Dec 11 16:24:38 2002 UTC (23 years, 11 months ago) by atatat
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -5 lines
Add /* MEMORY_DISK_SERVER */ comments to the #endifs to match the #ifdefs.

Revision 1.25.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:08:47 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25.2.5: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.5: +1 -1 lines
Catch up to -current

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:03 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.26.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:20 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26.2.3: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.3: +19 -21 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.25.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:21 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25.2.4: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.4: +17 -19 lines
Catch up to -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 months ago) by gehenna
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +19 -21 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:47 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.2: +8 -14 lines
sync kqueue branch with HEAD

Revision 1.28.8.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:19 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.28.8.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.8.1: +8 -14 lines
catch up with -current.

Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:34 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25.2.3: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.3: +8 -14 lines
Catch up to -current.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jul 21 15:32:18 2002 UTC (24 years, 4 months ago) by hannken
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Rename bufq_init() to bufq_alloc().
Add bufq_free() to remove a buffer queue.
Avoid MALLOC while holding a spinlock.

From Chuck Silvers.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Jul 20 11:28:08 2002 UTC (24 years, 4 months ago) by hannken
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -14 lines
Convert to new device buffer queue interface.

Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:47:32 2002 UTC (24 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +19 -21 lines
Add the block/character device switches.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:10 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.2: +3 -4 lines
Catch up to -current.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:37 2002 UTC (24 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +3 -4 lines
Sync w/ -current.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 13 19:28:07 2002 UTC (24 years, 10 months ago) by tsutsui
Branches: 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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -4 lines
Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:52:47 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:41 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +4 -1 lines
Catch up to -current.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Nov 13 05:32:50 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -1 lines
add RCSIDs

Revision 1.26.4.3: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:44:11 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.26.4.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.4.2: +2 -2 lines
Catch up with -current.

Revision 1.26.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 26 15:28:09 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.26.4.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.4.1: +18 -9 lines
* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:23 2001 UTC (25 years, 2 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +25 -48 lines
Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:03 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Catch up with -current.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jul 7 17:04:02 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
bcopy -> memcpy
bzero -> memset

Revision 1.20.8.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:16 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.20.8.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.8.1: +2 -2 lines
Sync with HEAD.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 8 13:11:31 2001 UTC (25 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Fix md_root.c path in comment.

Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:39:46 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +89 -80 lines
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.24: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:58:21 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -3 lines
remove include of <vm/vm.h>

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:10 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Jan 21 23:39:57 2000 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, 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, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +8 -9 lines
Update for sys/buf.h/disksort_*() changes.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Jan 21 12:14:53 2000 UTC (26 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +81 -69 lines
 - use the raw partition for ioctl; `control device' is gone.
 - remove `sc_flags' member from md_softc
 - add check code whether the md device is configured in mdread/mdwrite

Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 23:19:52 1999 UTC (26 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +14 -6 lines
Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:20 1999 UTC (27 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, 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: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -6 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Feb 7 09:34:59 1999 UTC (27 years, 9 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Sep 1 06:13:33 1998 UTC (28 years, 2 months ago) by enami
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -15 lines
Make this file compile again by removing no longer used `struct
cfdriver md_cd' and related code.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Aug 13 02:10:50 1998 UTC (28 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6 lines
Merge paddr_t changes into the main branch.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:03:59 1998 UTC (28 years, 3 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +6 -6 lines
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:09:18 1998 UTC (28 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1 lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 5 07:59:37 1998 UTC (28 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -1 lines
initial import of the new virtual memory system, UVM, into -current.

UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly.  :-)

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:12:48 1997 UTC (29 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +7 -6 lines
Update marc-pcmcia branch from trunk.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Aug 1 19:44:11 1997 UTC (29 years, 3 months ago) by leo
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -6 lines
Use DISKUNIT macro to encode md's unit in the minor number.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri May 23 23:44:34 1997 UTC (29 years, 6 months ago) by jeremy
Branches: MAIN
CVS tags: marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Comment reference to ramdisk.h -> md.h

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 11 06:26:41 1997 UTC (29 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
It's not safe to sleep in mdattach(), so don't pass WAITOK to malloc().

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 28 23:09:26 1996 UTC (29 years, 10 months ago) by pk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +132 -134 lines
Rename this driver `md'.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:37:07 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
backout kprintf changes

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:25:08 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 12 08:30:09 1996 UTC (30 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +24 -7 lines
Add some prototypes.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Mar 22 23:02:02 1996 UTC (30 years, 8 months ago) by gwr
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +61 -38 lines
The ramdisk is now a pseudo-device.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 17 00:43:52 1996 UTC (30 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +15 -11 lines
New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 7 10:26:29 1996 UTC (30 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -1 lines
Allow for a machine dependent match function - rd_match_hook()

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 7 22:03:31 1996 UTC (30 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -3 lines
New generic disk framework.  Highlights:

	- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 17 23:34:25 1995 UTC (31 years ago) by gwr
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -3 lines
sync with head

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Nov 17 23:33:34 1995 UTC (31 years ago) by gwr
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
get size of softc right

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 26 15:38:45 1995 UTC (31 years ago) by gwr
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix a comment

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 8 23:30:57 1995 UTC (31 years, 1 month ago) by gwr
Branches: MAIN
Machine-independent RAM-disk driver.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>