The NetBSD Project

CVS log for src/sys/arch/hp300/dev/rd.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.126 / (download) - annotate - [select for diffs], Fri Apr 21 23:01:59 2023 UTC (10 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.125: +2 -3 lines
Diff to previous 1.125 (colored)

Remove ancient /* ARGSUSED */ lint comments.

Revision 1.125 / (download) - annotate - [select for diffs], Sun Feb 12 16:04:57 2023 UTC (12 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.124: +6 -6 lines
Diff to previous 1.124 (colored)

fix various typos in comments.

Revision 1.101.22.2 / (download) - annotate - [select for diffs], Tue Dec 6 19:26:06 2022 UTC (14 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.101.22.1: +215 -213 lines
Diff to previous 1.101.22.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1552):

	sys/arch/hp300/dev/rd.c: revision 1.120
	sys/arch/hp300/dev/rd.c: revision 1.121
	sys/arch/hp300/dev/rd.c: revision 1.122
	sys/arch/hp300/dev/rd.c: revision 1.123
	sys/arch/hp300/dev/rd.c: revision 1.124
	sys/arch/hp300/dev/rdreg.h: revision 1.19
	sys/arch/hp300/dev/rd.c: revision 1.111
	sys/arch/hp300/dev/rd.c: revision 1.112
	sys/arch/hp300/dev/rd.c: revision 1.113
	sys/arch/hp300/stand/common/rd.c: revision 1.12
	sys/arch/hp300/dev/rd.c: revision 1.114
	sys/arch/hp300/stand/common/rd.c: revision 1.13
	sys/arch/hp300/dev/rd.c: revision 1.115
	sys/arch/hp300/stand/common/rd.c: revision 1.14
	sys/arch/hp300/dev/rd.c: revision 1.116
	sys/arch/hp300/stand/common/rd.c: revision 1.15
	sys/arch/hp300/dev/rd.c: revision 1.117
	sys/arch/hp300/dev/rd.c: revision 1.118
	sys/arch/hp300/dev/rd.c: revision 1.119
	sys/arch/hp300/dev/rdvar.h: revision 1.27
	sys/arch/hp300/dev/rdreg.h: revision 1.20

Sync a list of HP-IB disk IDs with kernel's one.
Now bootloader can boot from 2202A, 7908A, 7911A, and 7941A.
Tested on 425t and HPDisk.

Make local variables static and read only ones const.

Use common macro for numbers of cylinders and blocks for HP-IB disks.
No binary changes.

Fix "rd(4) at punits not configured on HPDisk are misprobed" problem.
- check not only stat value returned by C_QSTAT command against
  each punit but also desc.d_name returned by C_DESC command
  because it looks HPDisk responds to commands against punits supported
  but not-configured punits at 1-3
- prepare rdreset_unit() function to manage reset punit ops during
  probe without valid softc

The stragety is taken from OpenBSD with several modification.
Tested on 425t with real 9122D and HPDisk emulating two 7937H drives.
Should be pulled up to netbsd-9.

Remove now unused buffer members from softc prepared only for rdreset().

Use proper integer types for HP-IB xfer parameters.
No visible regression on 425t and HPDisk.

Sync with rdreg.h integer type changes.

Remove unnecessary declarations.

Check bounds of RAW_PART by bounds_check_with_mediasize() as other drivers.
With this check, dd(1) without a count value against a raw partition
is terminated properly at the end of media.  Tested on 425t and HPDisk.
Should be pulled up to netbsd-9.

Check bounds of each partition by MI bounds_check_with_label(9).
The previous implementation was committed in rev 1.26 about 26 years ago
and it looks there is no quirk to use the old MD one.

Pass a correct dev_t arg to disk_ioctl().
Probably harmless.

Remove a duplicated static function declaration.

Set disk_geom parameters required by DIOCGPARTINFO in disk_ioctl().
With this change raid(4) no longer complains before mountroot:
RAIDframe: can't get disk size for dev rd0 (22)
Should be pulled up to netbsd-9.

Use proper RAW_PART macro rather than a magic number.

Remove more duplicated static function declarations.

Misc KNF and cosmetics.

Add empty DIOCCACHESYNC ioctl(2) for rd(4).
Without this raid(4) always complains on various raidctl(8) ops:
raid0: cache flush[0] to component 0 failed (22)
RAID1 configured by raid(4) just works HP-IB disks on hp300.

Explicitly include <sys/kernel.h> for hz(9) as man pages says.
XXX: it looks sys/param.h r1.615 and later also has extern int hz

Revision 1.124 / (download) - annotate - [select for diffs], Sat Dec 3 16:56:40 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.123: +3 -2 lines
Diff to previous 1.123 (colored)

Explicitly include <sys/kernel.h> for hz(9) as man pages says.

XXX: it looks sys/param.h r1.615 and later also has extern int hz

Revision 1.123 / (download) - annotate - [select for diffs], Sat Dec 3 06:08:18 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.122: +6 -2 lines
Diff to previous 1.122 (colored)

Add empty DIOCCACHESYNC ioctl(2) for rd(4).

Without this raid(4) always complains on various raidctl(8) ops:
> raid0: cache flush[0] to component 0 failed (22)

RAID1 configured by raid(4) just works HP-IB disks on hp300.

Revision 1.122 / (download) - annotate - [select for diffs], Thu Dec 1 15:02:11 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.121: +54 -50 lines
Diff to previous 1.121 (colored)

Misc KNF and cosmetics.

Revision 1.121 / (download) - annotate - [select for diffs], Wed Nov 30 18:15:32 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.120: +2 -4 lines
Diff to previous 1.120 (colored)

Remove more duplicated static function declarations.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Nov 30 17:42:20 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

Use proper RAW_PART macro rather than a magic number.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Nov 30 17:39:12 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.118: +21 -2 lines
Diff to previous 1.118 (colored)

Set disk_geom parameters required by DIOCGPARTINFO in disk_ioctl().

With this change raid(4) no longer complains before mountroot:
> RAIDframe: can't get disk size for dev rd0 (22)

Should be pulled up to netbsd-9.

Revision 1.118 / (download) - annotate - [select for diffs], Wed Nov 30 17:07:30 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.117: +2 -3 lines
Diff to previous 1.117 (colored)

Remove a duplicated static function declaration.

Revision 1.117 / (download) - annotate - [select for diffs], Wed Nov 30 17:01:56 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

Pass a correct dev_t arg to disk_ioctl().

Probably harmless.

Revision 1.116 / (download) - annotate - [select for diffs], Wed Nov 30 16:37:44 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.115: +5 -31 lines
Diff to previous 1.115 (colored)

Check bounds of each partition by MI bounds_check_with_label(9).

The previous implementation was committed in rev 1.26 about 26 years ago
and it looks there is no quirk to use the old MD one.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Nov 30 15:59:01 2022 UTC (14 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.114: +7 -3 lines
Diff to previous 1.114 (colored)

Check bounds of RAW_PART by bounds_check_with_mediasize() as other drivers.

With this check, dd(1) without a count value against a raw partition
is terminated properly at the end of media.  Tested on 425t and HPDisk.

Should be pulled up to netbsd-9.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Nov 25 16:12:32 2022 UTC (15 months ago) by tsutsui
Branch: MAIN
Changes since 1.113: +2 -4 lines
Diff to previous 1.113 (colored)

Remove unnecessary declarations.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Nov 25 13:02:51 2022 UTC (15 months ago) by tsutsui
Branch: MAIN
Changes since 1.112: +20 -20 lines
Diff to previous 1.112 (colored)

Use proper integer types for HP-IB xfer parameters.

No visible regression on 425t and HPDisk.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Nov 23 18:53:22 2022 UTC (15 months ago) by tsutsui
Branch: MAIN
Changes since 1.111: +64 -63 lines
Diff to previous 1.111 (colored)

Fix "rd(4) at punits not configured on HPDisk are misprobed" problem.

- check not only stat value returned by C_QSTAT command against
  each punit but also desc.d_name returned by C_DESC command
  because it looks HPDisk responds to commands against punits supported
  but not-configured punits at 1-3
- prepare rdreset_unit() function to manage reset punit ops during
  probe without valid softc

The stragety is taken from OpenBSD with several modification.
Tested on 425t with real 9122D and HPDisk emulating two 7937H drives.

Should be pulled up to netbsd-9.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Nov 21 16:22:37 2022 UTC (15 months ago) by tsutsui
Branch: MAIN
Changes since 1.110: +48 -48 lines
Diff to previous 1.110 (colored)

Use common macro for numbers of cylinders and blocks for HP-IB disks.

No binary changes.

Revision 1.103.4.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:08 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.103: +321 -111 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

Sync with HEAD.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Jul 31 20:29:36 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

s/threshhold/threshold

Revision 1.101.22.1 / (download) - annotate - [select for diffs], Wed Jul 14 18:04:04 2021 UTC (2 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.101: +319 -107 lines
Diff to previous 1.101 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1323):

	sys/arch/hp300/dev/rd.c: revision 1.109
	sys/arch/hp300/stand/Makefile.buildboot: revision 1.37
	sys/arch/hp300/stand/common/ct.c: revision 1.8
	sys/arch/hp300/dev/hpibvar.h: revision 1.22
	sys/arch/hp300/dev/ct.c: revision 1.62
	sys/arch/hp300/dev/hpibvar.h: revision 1.23
	sys/arch/hp300/dev/ct.c: revision 1.63
	sys/arch/hp300/dev/hpibvar.h: revision 1.24
	sys/arch/hp300/dev/mt.c: revision 1.55
	sys/arch/hp300/dev/rdreg.h: revision 1.14
	sys/arch/hp300/dev/hpib.c: revision 1.43 (via patch)
	sys/arch/hp300/dev/rdreg.h: revision 1.15
	sys/arch/hp300/dev/rdreg.h: revision 1.16
	sys/arch/hp300/dev/rdreg.h: revision 1.17
	etc/etc.hp300/MAKEDEV.conf: revision 1.15
	sys/arch/hp300/stand/common/hpibvar.h: revision 1.6
	sys/arch/hp300/stand/common/rd.c: revision 1.11
	sys/arch/hp300/dev/ctreg.h: revision 1.11
	sys/arch/hp300/dev/rdvar.h: revision 1.24
	sys/arch/hp300/dev/rdvar.h: revision 1.25
	sys/arch/hp300/dev/rdvar.h: revision 1.26
	sys/arch/hp300/dev/rd.c: revision 1.103
	sys/arch/hp300/dev/rd.c: revision 1.104
	sys/arch/hp300/dev/rd.c: revision 1.105
	sys/arch/hp300/dev/rd.c: revision 1.106
	sys/arch/hp300/dev/rd.c: revision 1.107
	sys/arch/hp300/dev/rd.c: revision 1.108

Consistently use #define<tab> here.

Consistently use #define<tab> as rdreg.h.

No need to bother to use aprint_debug(9) inside #ifdef DEBUG block.

Pull HP-IB probe fixes from OpenBSD/hp300.
https://marc.info/?l=openbsd-cvs&m=113217630426615&w=2

Overhaul the way HP-IB devices are probed. We will now do an exhaustive
probe of the (slave, punit) tuple space, since this is the only way we
can get a dual disk or dual tape enclosure to attach two devices of the
same kind.

This allows using multiple rd(4) disk images on the same slave emulated
by HPDisk (and probably the real 9122D with dual floppy disk drives).

Thanks to Miod Vallat for suggesting this fix.

Move attach messages from common rdident() to explicit rdattach().

Cleanup duplicated CS/80 indentify structures.  From OpenBSD.
https://marc.info/?l=openbsd-cvs&m=113227249626888&w=2

Define the CS/80 identify structure only once and correctly, instead of
duplicating it in every CS/80 driver and using an hardcoded number for
its size.
No functional change.
https://marc.info/?l=openbsd-cvs&m=113273001020159&w=2

Pick HP-IB describe structures changes from main kernel code here as well.

Add support of multiple rd(4) disks on all punits for HPDisk.

Special thanks to Anders Gustafsson, the author of "HPDisk"
(GPIB disk emulator) http://www.dalton.ax/hpdisk/
for providing bare boards and improving firmwares for NetBSD/hp300.

Specify -fno-unwind-tables to shrink binaries.

Before:
   text    data     bss     dec     hex filename
  77902    4328  137120  219350   358d6 uboot

After:
   text    data     bss     dec     hex filename
  64186    4328  137120  205634   32342 uboot

Create rd3 device nodes, for HPDisk.

Add Device and drive info of 2202A, 7908A, 7911A, and 7941A.

Geometries and description info are taken from hpdrive.ini.sample
in HPDrive.  Briefly tested on HPDisk.

Print rd(4) capacity and geometry info as sd(4) and wd(4) do.

Before:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block

After:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 544 MB, 698 cyl, 13 head, 123 sec, 512 bytes/block x 1116102 blocks

Revision 1.109 / (download) - annotate - [select for diffs], Sun Jul 11 13:00:52 2021 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.108: +46 -4 lines
Diff to previous 1.108 (colored)

Add Device and drive info of 2202A, 7908A, 7911A, and 7941A.

Geometries and description info are taken from hpdrive.ini.sample
in HPDrive.  Briefly tested on HPDisk.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jul 9 17:05:33 2021 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.107: +246 -64 lines
Diff to previous 1.107 (colored)

Add support of multiple rd(4) disks on all punits for HPDisk.

Special thanks to Anders Gustafsson, the author of "HPDisk"
(GPIB disk emulator) http://www.dalton.ax/hpdisk/
for providing bare boards and improving firmwares for NetBSD/hp300.

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jul 5 14:51:23 2021 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.106: +14 -14 lines
Diff to previous 1.106 (colored)

Cleanup duplicated CS/80 indentify structures.  From OpenBSD.

https://marc.info/?l=openbsd-cvs&m=113227249626888&w=2
> Define the CS/80 identify structure only once and correctly, instead of
> duplicating it in every CS/80 driver and using an hardcoded number for
> its size.
> No functional change.

https://marc.info/?l=openbsd-cvs&m=113273001020159&w=2
> Pick HP-IB describe structures changes from main kernel code here as well.

Revision 1.106 / (download) - annotate - [select for diffs], Mon Jul 5 14:15:16 2021 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.105: +20 -17 lines
Diff to previous 1.105 (colored)

Move attach messages from common rdident() to explicit rdattach().

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jul 5 14:03:46 2021 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.104: +7 -24 lines
Diff to previous 1.104 (colored)

Pull HP-IB probe fixes from OpenBSD/hp300.

https://marc.info/?l=openbsd-cvs&m=113217630426615&w=2
> Overhaul the way HP-IB devices are probed. We will now do an exhaustive
> probe of the (slave, punit) tuple space, since this is the only way we
> can get a dual disk or dual tape enclosure to attach two devices of the
> same kind.

This allows using multiple rd(4) disk images on the same slave emulated
by HPDisk (and probably the real 9122D with dual floppy disk drives).

Thanks to Miod Vallat for suggesting this fix.

Revision 1.104 / (download) - annotate - [select for diffs], Wed Jun 30 14:54:03 2021 UTC (2 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.103: +9 -9 lines
Diff to previous 1.103 (colored)

No need to bother to use aprint_debug(9) inside #ifdef DEBUG block.

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:26 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.102: +10 -8 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

Sync with HEAD.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Jan 10 00:58:56 2021 UTC (3 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.102: +10 -8 lines
Diff to previous 1.102 (colored)

Print rd(4) capacity and geometry info as sd(4) and wd(4) do.

Before:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block

After:
rd0 at hpibbus1 slave 0 punit 0: 7937H
rd0: 544 MB, 698 cyl, 13 head, 123 sec, 512 bytes/block x 1116102 blocks

Revision 1.102 / (download) - annotate - [select for diffs], Tue Sep 29 02:49:56 2020 UTC (3 years, 4 months ago) by msaitoh
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

s/parition/partition/

Revision 1.92.6.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:13 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.92.6.3: +6 -12 lines
Diff to previous 1.92.6.3 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

update from HEAD

Revision 1.98.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:59 2015 UTC (8 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.98.4.1: +3 -3 lines
Diff to previous 1.98.4.1 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Mon Apr 13 21:18:42 2015 UTC (8 years, 10 months ago) by riastradh
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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-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, 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, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored)

MD rnd.h cleanups.  Please let me know if I broke anything!

Revision 1.98.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:57 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.98: +7 -13 lines
Diff to previous 1.98 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Fri Jan 2 19:42:05 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored)

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.99 / (download) - annotate - [select for diffs], Wed Dec 31 19:52:05 2014 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.98: +6 -12 lines
Diff to previous 1.98 (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.92.6.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:00 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.92.6.2: +25 -10 lines
Diff to previous 1.92.6.2 (colored) to branchpoint 1.92 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:34 2014 UTC (9 years, 6 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-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
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.95.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:57 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.95.2.1: +4 -2 lines
Diff to previous 1.95.2.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

Rebase.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:33 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.96: +3 -2 lines
Diff to previous 1.96 (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.96 / (download) - annotate - [select for diffs], Fri Jul 25 08:02:18 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
Changes since 1.95: +3 -2 lines
Diff to previous 1.95 (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.91.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:46 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.91.2.2: +22 -9 lines
Diff to previous 1.91.2.2 (colored) to branchpoint 1.91 (colored) next main 1.92 (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.93.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:07 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.93: +22 -9 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

sync with head

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:30 2014 UTC (9 years, 10 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Mar 24 19:42:58 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.94: +4 -6 lines
Diff to previous 1.94 (colored)

- remove unused
- use cpu_{g,s}etmodel

Revision 1.94 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:24 2014 UTC (9 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.93: +20 -5 lines
Diff to previous 1.93 (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.92.6.2 / (download) - annotate - [select for diffs], Sun Dec 2 05:46:39 2012 UTC (11 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.92.6.1: +16 -3 lines
Diff to previous 1.92.6.1 (colored) to branchpoint 1.92 (colored)


Don't pass NULL struct dkdriver to disk_init.  That's seriously bogus.

Revision 1.92.6.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:21 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:34 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.91.2.1: +3 -3 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Sat Oct 13 06:12:23 2012 UTC (11 years, 4 months ago) by tsutsui
Branch: 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: rmind-smpnet
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

struct device * -> device_t, struct cfdata * -> cfdata_t
use device_xname()  (from chs@)

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:20 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.91: +2 -9 lines
Diff to previous 1.91 (colored)

sync with head

Revision 1.91.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:03 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.91: +2 -9 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

merge to -current.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Feb 2 19:42:59 2012 UTC (12 years ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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, 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
Branch point for: tls-maxphys
Changes since 1.91: +2 -9 lines
Diff to previous 1.91 (colored)

Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jul 28 03:42:20 2011 UTC (12 years, 7 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

dev_t is uint64_t; use PRIx64 to print it.  Fix DEBUG build.

Revision 1.89.8.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:36 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.89: +3 -41 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync with HEAD.

Revision 1.89.6.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:22 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.89: +3 -41 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

sync with head

Revision 1.89.10.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:39 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.89: +3 -41 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:13 2011 UTC (13 years ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.89: +3 -41 lines
Diff to previous 1.89 (colored)

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.85.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:05 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85.4.1: +31 -31 lines
Diff to previous 1.85.4.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

sync with head.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:09 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.88: +10 -10 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Sync with HEAD.

Revision 1.84.16.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:01 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.16.3: +8 -8 lines
Diff to previous 1.84.16.3 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Jan 13 13:35:51 2009 UTC (15 years, 1 month ago) by yamt
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-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.88: +10 -10 lines
Diff to previous 1.88 (colored)

g/c BUFQ_FOO() macros and use bufq_foo() directly.

Revision 1.84.16.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:32:56 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.16.2: +21 -21 lines
Diff to previous 1.84.16.2 (colored) to branchpoint 1.84 (colored)

Sync with HEAD.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:21 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.86: +23 -23 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

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

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:40 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.86: +23 -23 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Jun 17 21:08:08 2008 UTC (15 years, 8 months ago) by he
Branch: MAIN
CVS Tags: 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-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, 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: nick-hppapmap
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored)

Add some missing parenthesis to restore this to a buildable state.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:00 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.85.2.1: +23 -23 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

sync with head.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Jun 13 09:41:15 2008 UTC (15 years, 8 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4
Changes since 1.86: +23 -23 lines
Diff to previous 1.86 (colored)

use device_lookup_private to get softc

Revision 1.84.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:06 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.16.1: +0 -7 lines
Diff to previous 1.84.16.1 (colored) to branchpoint 1.84 (colored)

Sync with HEAD.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:56 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.85: +2 -9 lines
Diff to previous 1.85 (colored)

sync with head.

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:22 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85: +2 -9 lines
Diff to previous 1.85 (colored)

sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:19 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.85: +2 -9 lines
Diff to previous 1.85 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.84.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:15 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84: +226 -221 lines
Diff to previous 1.84 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Mar 29 06:47:08 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.84: +226 -221 lines
Diff to previous 1.84 (colored)

Split device_t/softc, and misc cosmetic changes.

Revision 1.82.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:16:37 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with HEAD

Revision 1.67.6.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:07 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.6.3: +3 -3 lines
Diff to previous 1.67.6.3 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:29 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) next main 1.83 (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.84 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:23 2007 UTC (16 years, 4 months ago) by garbled
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.83: +2 -2 lines
Diff to previous 1.83 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.80.10.2 / (download) - annotate - [select for diffs], Tue Oct 16 18:23:40 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.80.10.1: +3 -3 lines
Diff to previous 1.80.10.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD

Revision 1.82.8.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:36 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with head.

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

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

Revision 1.80.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:18 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.80: +5 -9 lines
Diff to previous 1.80 (colored)

Sync with HEAD

Revision 1.67.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:25:16 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.6.2: +14 -18 lines
Diff to previous 1.67.6.2 (colored) to branchpoint 1.67 (colored)

sync with head.

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Mon Aug 20 18:16:05 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.2: +3 -3 lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

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

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:11 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.80.2.1: +4 -8 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored)

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

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:20 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.81: +4 -8 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:16 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.81: +4 -8 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:37 2007 UTC (16 years, 7 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-armv6, jmcneill-pm
Changes since 1.81: +4 -8 lines
Diff to previous 1.81 (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.80.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:15:56 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jul 12 20:39:01 2007 UTC (16 years, 7 months ago) by he
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment, matt-mips64
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Adapt to the new signature of callout_init().

Revision 1.78.10.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:45 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.78: +11 -11 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 4 12:06:16 2007 UTC (16 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, ppcoea-renovation
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

Use (char *) cast on pointer arith.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:48 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.78: +10 -10 lines
Diff to previous 1.78 (colored)

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

Revision 1.67.6.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:56 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.6.1: +67 -70 lines
Diff to previous 1.67.6.1 (colored) to branchpoint 1.67 (colored)

sync with head.

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:39:10 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.69: +86 -88 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head

Revision 1.71.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:41:33 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.71.2.3: +67 -70 lines
Diff to previous 1.71.2.3 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jul 21 10:01:39 2006 UTC (17 years, 7 months ago) by tsutsui
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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.77: +67 -70 lines
Diff to previous 1.77 (colored)

Some KNF.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:48:47 2006 UTC (17 years, 7 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.76: +5 -4 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Merge from HEAD.

Revision 1.71.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:44:24 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.71.2.2: +6 -5 lines
Diff to previous 1.71.2.2 (colored) to branchpoint 1.71 (colored)

sync with head.

Revision 1.67.6.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:51:23 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67: +33 -32 lines
Diff to previous 1.67 (colored)

sync with head.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:44:02 2006 UTC (17 years, 8 months ago) by chap
Branch: chap-midi
Changes since 1.75: +6 -5 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jun 16 23:56:58 2006 UTC (17 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, chap-midi-nbase, chap-midi-base
Changes since 1.76: +5 -4 lines
Diff to previous 1.76 (colored)

- strncpy -> strlcpy
- 16 -> sizeof(foo)

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jun 10 12:42:37 2006 UTC (17 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: gdamore-uart-base
Branch point for: gdamore-uart
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

space nits.

Revision 1.71.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:47:56 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.71.6.1: +1 -1 lines
Diff to previous 1.71.6.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:56:47 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.71.2.1: +3 -3 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Sun May 14 21:55:10 2006 UTC (17 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

integrate kauth.

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:26 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.69: +17 -17 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with head.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:32:38 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.71: +12 -12 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

sync with head - hopefully this will work

Revision 1.74 / (download) - annotate - [select for diffs], Fri Apr 14 13:09:05 2006 UTC (17 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:13 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.71: +11 -11 lines
Diff to previous 1.71 (colored)

sync with head.

Revision 1.71.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:00 2006 UTC (17 years, 11 months ago) by tron
Branch: peter-altq
Changes since 1.71: +11 -11 lines
Diff to previous 1.71 (colored)

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

Revision 1.73 / (download) - annotate - [select for diffs], Wed Mar 29 16:03:37 2006 UTC (17 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Add a missing parenthesis.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:25 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.71: +11 -11 lines
Diff to previous 1.71 (colored)

Use device_unit().

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:27:53 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.69: +13 -13 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Feb 25 02:28:56 2006 UTC (18 years ago) by wiz
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Fix some typos.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Feb 23 05:37:47 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.69: +12 -12 lines
Diff to previous 1.69 (colored)

Use device_parent().

Revision 1.69 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:14 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.68: +5 -5 lines
Diff to previous 1.68 (colored)

merge ktrace-lwp.

Revision 1.60.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:09 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.8: +11 -11 lines
Diff to previous 1.60.2.8 (colored) next main 1.61 (colored)

Sync with HEAD. Here we go again...

Revision 1.68 / (download) - annotate - [select for diffs], Sat Oct 15 17:29:10 2005 UTC (18 years, 4 months ago) by yamt
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
Changes since 1.67: +11 -11 lines
Diff to previous 1.67 (colored)

- 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.65.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:09 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.65: +8 -8 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

sync with -current

Revision 1.65.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:32:58 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.65.6.1: +4 -4 lines
Diff to previous 1.65.6.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

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

Revision 1.60.2.8 / (download) - annotate - [select for diffs], Fri Mar 4 16:38:26 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.7: +4 -4 lines
Diff to previous 1.60.2.7 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.67 / (download) - annotate - [select for diffs], Sat Feb 19 16:31:49 2005 UTC (19 years ago) by tsutsui
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
Branch point for: yamt-lazymbuf
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

Include "ioconf.h" for struct cfdriver *_cd decls.

Revision 1.65.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:32 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.65: +6 -6 lines
Diff to previous 1.65 (colored)

sync with head.

Revision 1.60.2.7 / (download) - annotate - [select for diffs], Sun Feb 6 08:59:22 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.6: +6 -6 lines
Diff to previous 1.60.2.6 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Feb 5 16:19:35 2005 UTC (19 years ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.65: +6 -6 lines
Diff to previous 1.65 (colored)

make this compile with DEBUG.

Revision 1.60.2.6 / (download) - annotate - [select for diffs], Mon Jan 24 08:59:39 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.5: +5 -5 lines
Diff to previous 1.60.2.5 (colored)

Adapt to branch.

Revision 1.60.2.5 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:23 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.4: +3 -2 lines
Diff to previous 1.60.2.4 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Oct 28 07:07:36 2004 UTC (19 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

move buffer queue related stuffs from buf.h to their own header, bufq.h.

Revision 1.60.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:15:16 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.3: +2 -2 lines
Diff to previous 1.60.2.3 (colored)

Fix the sync with head I botched.

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:34:09 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.2: +2 -2 lines
Diff to previous 1.60.2.2 (colored)

Sync with HEAD.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:44:31 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60.2.1: +86 -136 lines
Diff to previous 1.60.2.1 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Sat Aug 28 17:45:24 2004 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.63: +6 -10 lines
Diff to previous 1.63 (colored)

Remove the last vestiges of COMPAT_NOLABEL.  It's been 10 years; label
your disks already.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Aug 28 17:37:02 2004 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +83 -129 lines
Diff to previous 1.62 (colored)

Use ANSI function decls, static, and const.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:34:24 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.60: +39 -5 lines
Diff to previous 1.60 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 17 14:37:59 2003 UTC (20 years, 3 months ago) by tsutsui
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
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

TAB/space cleanup.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Aug 7 16:27:34 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.60: +37 -3 lines
Diff to previous 1.60 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:18 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.59: +6 -6 lines
Diff to previous 1.59 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jun 29 15:58:20 2003 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +8 -8 lines
Diff to previous 1.58 (colored)

Adapt to ktrace/lwp changes.

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 3 18:10:47 2003 UTC (20 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

DMA, not dma nor Dma.

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

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

Revision 1.56 / (download) - annotate - [select for diffs], Fri Feb 14 06:55:17 2003 UTC (21 years ago) by gmcgarry
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

Handle 64-bit daddr_t.

Revision 1.45.4.9 / (download) - annotate - [select for diffs], Mon Nov 11 21:58:18 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.45.4.8: +5 -4 lines
Diff to previous 1.45.4.8 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Catch up to -current

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 1 11:31:52 2002 UTC (21 years, 3 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.54: +4 -3 lines
Diff to previous 1.54 (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.54 / (download) - annotate - [select for diffs], Wed Oct 23 09:11:08 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (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.45.4.8 / (download) - annotate - [select for diffs], Fri Oct 18 02:36:50 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.7: +4 -5 lines
Diff to previous 1.45.4.7 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.44.4.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:32:40 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.4.4: +22 -8 lines
Diff to previous 1.44.4.4 (colored) to branchpoint 1.44 (colored) next main 1.45 (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.53 / (download) - annotate - [select for diffs], Wed Oct 2 05:15:54 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.52: +4 -5 lines
Diff to previous 1.52 (colored)

Use CFATTACH_DECL().

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 27 20:31:52 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Declare all cfattach structures const.

Revision 1.45.4.7 / (download) - annotate - [select for diffs], Tue Sep 17 21:14:34 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.6: +20 -5 lines
Diff to previous 1.45.4.6 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 5 months ago) by gehenna
Branch: MAIN
Changes since 1.50: +20 -5 lines
Diff to previous 1.50 (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.44.4.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:35:00 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.4.3: +11 -11 lines
Diff to previous 1.44.4.3 (colored) to branchpoint 1.44 (colored)

sync kqueue branch with HEAD

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:42 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.49.2.1: +11 -11 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

catch up with -current.

Revision 1.45.4.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:41:39 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.5: +11 -11 lines
Diff to previous 1.45.4.5 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jul 26 13:19:53 2002 UTC (21 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.49: +11 -11 lines
Diff to previous 1.49 (colored)

Convert to new device buffer queue interface.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:36:09 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.4.2: +8 -13 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored)

catch up with -current on kqueue branch

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Fri May 17 15:40:58 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.49: +20 -5 lines
Diff to previous 1.49 (colored)

Add device switch.

Revision 1.45.4.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:03:00 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.4: +6 -14 lines
Diff to previous 1.45.4.4 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 8 21:41:44 2002 UTC (21 years, 10 months ago) by gmcgarry
Branch: MAIN
CVS Tags: 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
Branch point for: gehenna-devsw
Changes since 1.48: +6 -14 lines
Diff to previous 1.48 (colored)

Create default disklabel correctly.

Revision 1.45.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:53 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.3: +4 -1 lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:57:34 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.4.1: +40 -1 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

Catch up with -current.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Mar 15 05:55:36 2002 UTC (21 years, 11 months ago) by gmcgarry
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.47: +4 -1 lines
Diff to previous 1.47 (colored)

Add RCSIDs.

Revision 1.45.4.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:09:25 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.2: +40 -1 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Feb 10 00:49:57 2002 UTC (22 years ago) by gmcgarry
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.46: +40 -1 lines
Diff to previous 1.46 (colored)

Implement DIOCGDEFLABEL ioctl.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:42:58 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.44: +10 -10 lines
Diff to previous 1.44 (colored)

Sync kqueue branch with -current.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:24:36 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.1: +1352 -0 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 8 03:34:39 2001 UTC (22 years, 2 months ago) by gmcgarry
Branch: MAIN
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

bcopy -> memcpy
bzero -> memset
bcmp -> memcmp

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Wed Oct 10 11:56:05 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.44.2.1: +57 -42 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Convert all remaining devices.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:38:33 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Catch up with -current.

Revision 1.45.4.1, Sun Sep 16 16:34:29 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45: +0 -1352 lines
FILE REMOVED

file rd.c was added on branch nathanw_sa on 2002-01-08 00:24:36 +0000

Revision 1.45 / (download) - annotate - [select for diffs], Sun Sep 16 16:34:29 2001 UTC (22 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: nathanw_sa
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Spell 'occurred' with two 'r's.

Revision 1.36.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:08:05 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36: +50 -33 lines
Diff to previous 1.36 (colored) next main 1.37 (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.43.4.1 / (download) - annotate - [select for diffs], Wed Oct 18 00:10:42 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.43: +18 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pullup 1.44 [he]:
Add randomness sampling from hil, sd and rd devices.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Thu Oct 12 21:32:06 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.36: +18 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Pull up revision 1.44 (requested by he):
  Add randomness sampling for hil, sd and rd on the hp300 port.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Oct 10 19:58:43 2000 UTC (23 years, 4 months ago) by he
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Changes since 1.43: +18 -3 lines
Diff to previous 1.43 (colored)

Add randomness sampling from hil, sd and rd devices.

Revision 1.43 / (download) - annotate - [select for diffs], Sat May 27 04:52:28 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

sleep() -> tsleep()

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 19 18:54:31 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

A foolish consistency; most parts of the kernel use bp->b_data, so
change these from bp->b_un.b_addr to bp->b_data, as well.  This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 23 06:37:24 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Feb 11 23:00:47 2000 UTC (24 years ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

printf format mismatch in DEBUG code (related to already fixed PR hp300/9388).

Revision 1.39 / (download) - annotate - [select for diffs], Mon Feb 7 20:16:50 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 31 19:04:52 2000 UTC (24 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Make these build again after buf.h/disksort changes.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 21 23:29:03 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.36: +24 -24 lines
Diff to previous 1.36 (colored)

Update for sys/buf.h/disksort_*() changes.

Revision 1.36.20.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:15:58 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

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.36 / (download) - annotate - [select for diffs], Mon Jan 12 18:31:06 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, 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-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: wrstuden-devbsize, thorpej_scsipi, netbsd-1-4
Changes since 1.35: +2 -4 lines
Diff to previous 1.35 (colored)

Update for changes to config.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Oct 14 08:55:20 1997 UTC (26 years, 4 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.34: +37 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 4 10:00:26 1997 UTC (26 years, 4 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.34: +37 -2 lines
Diff to previous 1.34 (colored)

Copyright assigned to The NetBSD Foundation.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 22 15:20:20 1997 UTC (26 years, 7 months ago) by kleink
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Remove old *_UNK style default defines, use standard names from locators.h.
Missed in "locators.h" cleanup; reported by Thorsten Frueauf in PR 3906.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 10 18:14:08 1997 UTC (26 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.32: +1 -6 lines
Diff to previous 1.32 (colored)

Remove misplaced/unnecessary VM #include cruft; from Thorsten Frueauf
<frueauf@ira.uka.de> in PR port-hp300/3851.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 24 00:44:03 1997 UTC (26 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
from the disklabel accordingly.

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 5 21:07:31 1997 UTC (26 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +8 -7 lines
Diff to previous 1.30 (colored)

Update for USELEDS changes.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Apr 9 20:01:04 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +13 -13 lines
Diff to previous 1.29 (colored)

Use the %x printf format where appropriate

Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 2 22:37:35 1997 UTC (26 years, 11 months ago) by scottr
Branch: MAIN
Changes since 1.28: +43 -39 lines
Diff to previous 1.28 (colored)

Fix printf() and other warnings when compiled with DEBUG defined.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 31 07:40:00 1997 UTC (26 years, 11 months ago) by scottr
Branch: MAIN
Changes since 1.27: +42 -36 lines
Diff to previous 1.27 (colored)

Add prototypes, and make this compile with -Wall.  Remove register
modifier from all declarations.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 30 09:14:17 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.26: +269 -226 lines
Diff to previous 1.26 (colored)

Convert to new-style autoconfiguration; old-style config is no longer
supported.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 7 09:29:32 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.25: +53 -26 lines
Diff to previous 1.25 (colored)

Bring some sanity into my frazzled existence:
- Always ensure that RAW_PART ("c") can be opened.
- Disallow unused or non-existent partitions from being opened.
- Don't do bounds checking or partition translation on RAW_PART.
This is consistent with other disk drivers in the NetBSD source tree,
and fixes a condition where the user could not fix a corrupted disklabel
due to a bogus offset for partition "c".

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 14 07:14:19 1996 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

Set the device class on non-dull devices.  This is a transitional thing.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 13 03:14:21 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.23: +50 -50 lines
Diff to previous 1.23 (colored)

backout previous kprintf changes

Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 11 00:11:32 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.22: +50 -50 lines
Diff to previous 1.22 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 6 00:14:17 1996 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +78 -45 lines
Diff to previous 1.21 (colored)

Fix kernel crash dumps.  Still uses the old format for now.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Thu Jun 6 16:22:01 1996 UTC (27 years, 8 months ago) by thorpej
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.20: +1 -35 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Update from trunk:

Remove old-style disk instrumentation support.  Nothing uses it
anymore.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jun 6 16:17:41 1996 UTC (27 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +1 -35 lines
Diff to previous 1.20 (colored)

Remove the old-style disk instrumentation support.  Nothing uses it
anymore.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 14 02:44:54 1996 UTC (28 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.19: +6 -4 lines
Diff to previous 1.19 (colored)

All interrupt routines (except the HIL; don't ask) now take a pointer
to a softc, rather than a unit number.  Add a "dq_softc" member
to struct devqueue; this is a temporary measure until the
dma/controller/device callback spaghetti is untangled.

YAY!  No more need for dcafastservice!

HIL: squish instances of "(void) splhil()" and "(void) spl0();".

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 3 03:00:29 1996 UTC (28 years ago) by thorpej
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)

Remove bogus "return (0);" in rdmatch() that wiggled its way in uninvited.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 10 20:54:29 1996 UTC (28 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.17: +11 -3 lines
Diff to previous 1.17 (colored)

Kludge around a case where a flaky HP-IB disk might be slow to respond
to the identification request in rdmatch().  Similar in spirit to a
patch from Jason Downs (written eons ago), but limited to the broken
device we're trying to reach.  My patch tested (and fixed :-) by
Herb Peyerl.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 7 22:02:12 1996 UTC (28 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.16: +60 -23 lines
Diff to previous 1.16 (colored)

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.16 / (download) - annotate - [select for diffs], Sat Dec 9 07:31:07 1995 UTC (28 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Pass the correct number of arguments to readdisklabel().

Revision 1.15 / (download) - annotate - [select for diffs], Sat Dec 2 18:22:10 1995 UTC (28 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +39 -22 lines
Diff to previous 1.14 (colored)

Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 19 19:07:18 1995 UTC (28 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +79 -33 lines
Diff to previous 1.13 (colored)

Re-arrange things such that we can print out disk geometry regardless of
COMPAT_NOLABEL.

XXX One day when the world doesn't assume DEV_BSIZE bytes/sector, we'll be
able to actually use the stuff sensed from the drive, rather than a table.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 9 07:57:46 1995 UTC (28 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Pass correct number of arguments to hpibgo().

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 4 08:12:57 1995 UTC (28 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +21 -1 lines
Diff to previous 1.11 (colored)

Update for conf.h changes.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 10 13:09:56 1995 UTC (28 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

kernel_pmap --> pmap_kernel()

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 26 07:24:50 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

new RCS ID format.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 27 17:18:50 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.8: +5 -2 lines
Diff to previous 1.8 (colored)

Bug fixes from Mike Hibler.

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 23 05:59:14 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +311 -382 lines
Diff to previous 1.7 (colored)

Merge with 4.4-Lite.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 11 10:16:16 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +1 -23 lines
Diff to previous 1.6 (colored)

Get rid of private *read() and *write() functions.

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 5 10:10:38 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

Most of the changes needed to make this continue to run.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 10 13:59:39 1994 UTC (30 years ago) by mycroft
Branch: MAIN
Changes since 1.4: +12 -15 lines
Diff to previous 1.4 (colored)

Add arg to ioctl functions.  Clean up #includes.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 11 17:19:40 1994 UTC (30 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

*strategy functions return void.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 19:24:28 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 22 07:56:45 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

add rcsids to everything and clean up headers

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu May 13 13:56:46 1993 UTC (30 years, 9 months ago) by cgd
Branch: csrg-net2
CVS Tags: csrg-net2-orig
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

add hp300 kernel files.  generic kernel files might need some help...

Revision 1.1 / (download) - annotate - [select for diffs], Thu May 13 13:56:45 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN

Initial revision

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>