The NetBSD Project

CVS log for src/sys/dev/ofw/ofdisk.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.52.14.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:08 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.52.14.1: +6 -6 lines
Diff to previous 1.52.14.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Merge changes from current as of 20200406

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:10 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jan 26 21:43:52 2020 UTC (4 years, 2 months ago) by thorpej
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-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, 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, HEAD
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored)

Fix __HAVE_OLD_DISKLABEL bits so they at least compile.

Revision 1.52.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:15 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

Sync with HEAD

Revision 1.52.6.1 / (download) - annotate - [select for diffs], Fri Apr 5 08:40:19 2019 UTC (5 years ago) by msaitoh
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Pull up following revision(s) (requested by martin in ticket #1223):
	sys/sys/dkio.h: revision 1.25
	sys/kern/subr_disk.c: revision 1.123
	sys/dev/dksubr.c: revision 1.107
	sys/dev/ccd.c: revision 1.179
	sys/dev/ofw/ofdisk.c: revision 1.53
Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given disk
(if not busy).

Revision 1.53 / (download) - annotate - [select for diffs], Wed Mar 27 19:13:34 2019 UTC (5 years ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given disk
(if not busy).

Revision 1.44.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.44.12.1: +16 -60 lines
Diff to previous 1.44.12.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

update from HEAD

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:04 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.48.2.2: +3 -3 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:12 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:47 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Sat Mar 25 09:21:21 2017 UTC (7 years ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi, netbsd-8
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Virtio block devices may have a "scsi" device_type instead of "block",
so accept both.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:08 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.48.2.1: +7 -4 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Sun Apr 26 15:15:20 2015 UTC (8 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.50: +6 -3 lines
Diff to previous 1.50 (colored)

Use C99-style initializers for struct dkdriver.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:10 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.48: +13 -72 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Wed Dec 31 19:52:06 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.49: +3 -21 lines
Diff to previous 1.49 (colored)

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.49 / (download) - annotate - [select for diffs], Wed Dec 31 17:06:48 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.48: +15 -56 lines
Diff to previous 1.48 (colored)

Centralize wedge ioctls in disk_ioctl.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Nov 9 10:10:08 2014 UTC (9 years, 5 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.47: +14 -2 lines
Diff to previous 1.47 (colored)

support DIOCMWEDGES ioctl

Revision 1.44.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.44: +22 -6 lines
Diff to previous 1.44 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:54 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Rebase.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:37 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

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.46 / (download) - annotate - [select for diffs], Fri Jul 25 08:02:20 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored)

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.44.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:24 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44: +20 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

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.44.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.44: +20 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:28 2014 UTC (10 years, 1 month ago) by dholland
Branch: 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
Changes since 1.44: +20 -6 lines
Diff to previous 1.44 (colored)

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.44 / (download) - annotate - [select for diffs], Tue Jul 26 08:59:38 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.43: +9 -8 lines
Diff to previous 1.43 (colored)

convert to device_t, cfdata_t and CFATTACH_DECL_NEW.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:31 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.4.1: +6 -6 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.41.10.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:16 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.41: +6 -6 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

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

Revision 1.43 / (download) - annotate - [select for diffs], Tue May 12 14:39:22 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.42: +6 -6 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 12 13:17:37 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:53 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40: +19 -18 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.39.16.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:08 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.39.16.1: +17 -16 lines
Diff to previous 1.39.16.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:10 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.40: +19 -18 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:18 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.40: +19 -18 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with head.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:40 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.40: +19 -18 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 12 22:28:26 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base3, 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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, 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, 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, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, 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: jym-xensuspend
Changes since 1.40: +19 -18 lines
Diff to previous 1.40 (colored)

use device_lookup_private to get softc

Revision 1.39.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:36 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.39: +8 -6 lines
Diff to previous 1.39 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 8 20:11:57 2008 UTC (16 years ago) by cegger
Branch: 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
Changes since 1.39: +8 -6 lines
Diff to previous 1.39 (colored)

use aprint_*_dev and device_xname

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:31 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.37: +3 -4 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with HEAD

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:27 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.3: +3 -4 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:50 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.37: +3 -4 lines
Diff to previous 1.37 (colored) next main 1.38 (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.38.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:44 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:40 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.35.2.2: +3 -3 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with head.

Revision 1.37.8.2 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:07 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.37.8.1: +3 -3 lines
Diff to previous 1.37.8.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 17 17:57:11 2007 UTC (16 years, 6 months ago) by he
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, 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.38: +3 -3 lines
Diff to previous 1.38 (colored)

Correct the order of the arguments to disk_init().

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:12 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.37: +3 -4 lines
Diff to previous 1.37 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 8 16:41:12 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.37: +3 -4 lines
Diff to previous 1.37 (colored)

Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:15 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.2: +11 -18 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:16:13 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.35.2.1: +10 -17 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)

- Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:31 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.35: +2 -3 lines
Diff to previous 1.35 (colored)

- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.35.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:26 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.35: +9 -16 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.37.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:44 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.37.10.1: +566 -0 lines
Diff to previous 1.37.10.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

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.37.10.1, Sun Jul 29 12:15:43 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.37: +0 -566 lines
FILE REMOVED

file ofdisk.c was added on branch matt-mips64 on 2007-07-29 12:15:44 +0000

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:43 2007 UTC (16 years, 8 months ago) by ad
Branch: 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
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

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.36 / (download) - annotate - [select for diffs], Sat Jul 21 19:51:48 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.35: +9 -15 lines
Diff to previous 1.35 (colored)

Replace some uses of lockmgr().

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:09 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:15 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

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

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:19 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.1: +2 -3 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:21 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 29 01:52:45 2007 UTC (17 years, 2 months ago) by hubertf
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:15 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:02 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31: +9 -9 lines
Diff to previous 1.31 (colored)

sync with head.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:11 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:33 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:15 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.32.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:22 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 29 07:10:25 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Use device_private().

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:48 2005 UTC (18 years, 4 months ago) by christos
Branch: 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
Changes since 1.31: +8 -8 lines
Diff to previous 1.31 (colored)

merge ktrace-lwp.

Revision 1.27.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:00 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.6: +4 -3 lines
Diff to previous 1.27.2.6 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD. Here we go again...

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 9 12:23:23 2005 UTC (18 years, 10 months ago) by he
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

Now that OF_read and OF_write have different signatures, we need to
cast one of them before assigning to a common function pointer.
Yes, this breaks strict type checking, but is needed to compile with
-Wcast-qual turned on.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:04 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.29: +11 -11 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with -current

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:10 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.29: +11 -11 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.27.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:44:59 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.5: +11 -11 lines
Diff to previous 1.27.2.5 (colored) to branchpoint 1.27 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 2005 UTC (19 years, 1 month ago) by perry
Branch: 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, kent-audio2-base
Changes since 1.29: +11 -11 lines
Diff to previous 1.29 (colored)

nuke trailing whitespace

Revision 1.27.2.5 / (download) - annotate - [select for diffs], Mon Jan 31 08:19:33 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.4: +8 -8 lines
Diff to previous 1.27.2.4 (colored) to branchpoint 1.27 (colored)

Adapt to branch.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:57 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.3: +96 -16 lines
Diff to previous 1.27.2.3 (colored) to branchpoint 1.27 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Sat Sep 25 05:21:03 2004 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.28: +96 -16 lines
Diff to previous 1.28 (colored)

Add support for wedges to the OpenFirmware disk driver.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:00 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.2: +2 -2 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored)

Fix the sync with head I botched.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:02 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.1: +0 -0 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Sync with HEAD.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:05 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 23 21:01:02 2004 UTC (19 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

use safer string manipulation function

Revision 1.27 / (download) - annotate - [select for diffs], Sat May 10 23:12:46 2003 UTC (20 years, 11 months ago) by thorpej
Branch: 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
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself.  This paves the way for some future changes.

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 2 08:45:27 2003 UTC (20 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Change return type of readdisklabel() to const char *
I hope I've found all the correct places!

Revision 1.15.2.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:10:57 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.15.2.6: +3 -2 lines
Diff to previous 1.15.2.6 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Catch up to -current

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 1 11:31:58 2002 UTC (21 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

implement separate read/write disk statistics:
	- disk_unbusy() gets a new parameter to tell the IO direction.
	- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
	when processing hw.diskstats, add the read&write bytes/transfers for
	the old combined stats to attempt to keep backwards compatibility.

unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail.  however, the next time this is
change it will not fail again.

this is just the kernel portion.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 23 09:13:29 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

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.15.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:52 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.5: +4 -8 lines
Diff to previous 1.15.2.5 (colored) to branchpoint 1.15 (colored)

Catch up to -current.

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:21 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.4.2: +25 -14 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (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.23 / (download) - annotate - [select for diffs], Wed Oct 2 16:34:33 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 30 22:10:08 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -5 lines
Diff to previous 1.21 (colored)

Use CFATTACH_DECL().

Revision 1.21 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:38 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Declare all cfattach structures const.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 18 01:46:40 2002 UTC (21 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.19: +4 -7 lines
Diff to previous 1.19 (colored)

fix error checking in ofdisk_open().
remove all vesitages of dk_establish().

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Tue Sep 17 21:20:11 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.4: +21 -6 lines
Diff to previous 1.15.2.4 (colored) to branchpoint 1.15 (colored)

Catch up to -current.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 7 months ago) by gehenna
Branch: MAIN
Changes since 1.18: +21 -6 lines
Diff to previous 1.18 (colored)

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.15.2.4 / (download) - annotate - [select for diffs], Wed Jul 10 17:26:42 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.3: +4 -4 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored)

Need curproc as parameter to ofdisk_{open,close}().

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Mon Jun 24 22:10:09 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.2: +4 -4 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Thu May 16 12:01:36 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.18: +21 -6 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Add the block/character device switches.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:23 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.15.4.1: +4 -1 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

Sync kqueue branch with -current.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:05 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.2.1: +4 -1 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

Catch up to -current.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 13 07:26:28 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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

add RCSIDs

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Oct 10 11:56:56 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.17: +44 -28 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Convert all remaining devices.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:51 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15: +23 -50 lines
Diff to previous 1.15 (colored)

Catch up to -current.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:49 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.15: +23 -50 lines
Diff to previous 1.15 (colored)

Update the kqueue branch to HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 26 02:49:18 2001 UTC (22 years, 7 months ago) by matt
Branch: 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
Changes since 1.16: +19 -52 lines
Diff to previous 1.16 (colored)

Make compile with -Wmissing-prototype -Wstrict-prototypes

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 25 19:05:04 2001 UTC (22 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.15: +9 -3 lines
Diff to previous 1.15 (colored)

Make this compile with -Wmissing-prototypes by adding appropriate
cdev_decl, bdev_decl, cons_decl

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Tue May 1 12:27:26 2001 UTC (22 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.13: +43 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Pull up revisions 1.14-1.15 (requested by fvdl):
  Increase the number of BSD disklabel partitions on i386 to 16.

Revision 1.12.14.2 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:24 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12.14.1: +43 -3 lines
Diff to previous 1.12.14.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 8 02:03:47 2001 UTC (23 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when
the number of partitions is > OLDMAXPARTITIONS. This is better
than silently truncating the label (don't want to silently throw
away partitions when using an old disklabel binary on a label with
> 8 partitions). From Enami Tsugutomo.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 7 18:09:02 2001 UTC (23 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.13: +43 -3 lines
Diff to previous 1.13 (colored)

Adapt all disk devices in MI directories to handle ODIOC* calls
for ports that have bumped MAXPARTITIONS (and thus define
__HAVE_OLD_DISKLABEL).

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:13 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (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.13 / (download) - annotate - [select for diffs], Tue May 16 05:45:52 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 21 02:04:55 1998 UTC (26 years, 1 month ago) by cgd
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, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

-Wall (one real bug, even!)

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 24 07:10:39 1998 UTC (26 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

Minor style change.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 24 05:44:39 1998 UTC (26 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.9: +48 -46 lines
Diff to previous 1.9 (colored)

Several things:
Clean up the name space here a bit.
Add a `busname' element to struct ofprobe (now struct ofbus_attach_args), and
check against it.
Nuke `ofroot'.
Rename the `openfirm' attribute to `ofbus'.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 12 09:33:32 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

Update for config changes.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Oct 14 10:24:16 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.6: +82 -49 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 8 23:35:41 1997 UTC (26 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: 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
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Oops, fix a couple of typos.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 8 23:23:13 1997 UTC (26 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +82 -49 lines
Diff to previous 1.6 (colored)

Implement DIOCGDEFLABEL.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 23 18:42:40 1997 UTC (26 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Fix an oversight and a typo.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 24 00:27:18 1997 UTC (26 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.4: +20 -9 lines
Diff to previous 1.4 (colored)

Three changes to ofdsize():
- If the partition is already open, skip the open/close step.  (Sync
  with other disk drivers.)
- foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
  from the disklabel accordingly.
- Pass correct arguments to ofdopen() and ofdclose().

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 16 23:39:28 1997 UTC (27 years ago) by thorpej
Branch: MAIN
Changes since 1.3: +80 -34 lines
Diff to previous 1.3 (colored)

- Update for no __BROKEN_INDIRECT_CONFIG.
- Determine and remember if we are a floppy.
- Workaround for what is apparently a firmware bug - ignore the sector
  size returned by the device.  On my Firepower's floppy, block-size
  is the same as max-transfer, which causes Lossage.
- Don't read the disklabel on a floppy; do what the ISA floppy driver
  does, which is assign the entire disk to each "partition", although
  we do not deal with the density stuff.
- FIREPOWERBUGS -> FIRMWORKSBUGS
- Some general cleanup.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 13 01:38:13 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.2: +2 -2 lines
Diff to previous 1.2 (colored)

backout kprintf changes

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 10 21:20:35 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 30 16:35:08 1996 UTC (27 years, 6 months ago) by ws
Branch: MAIN

PowerPC port

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>