CVS log for src/sys/dev/isa/mcd.c
Up to [cvs.NetBSD.org] / src / sys / dev / isa
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.116.10.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 20:48:07 2023 UTC (3 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.116.10.1: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.10.1: +3 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #1835):
sys/dev/pci/if_iwi.c: revision 1.117
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.401
sys/dev/scsipi/ses.c: revision 1.52
sys/dev/isa/mcd.c: revision 1.121
(all via patch)
sys/dev: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).
Revision 1.118.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 3 10:55:45 2022 UTC (4 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.118.4.1: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.4.1: +3 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #1485):
sys/dev/pci/if_iwi.c: revision 1.117
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.401
sys/dev/scsipi/ses.c: revision 1.52
sys/dev/isa/mcd.c: revision 1.121
sys/dev: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).
Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Sep 9 23:26:36 2021 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -2
lines
sys/dev: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).
Revision 1.116.18.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:22 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.116.18.2: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.18.2: +1 -0
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.116.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:07 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.116.18.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.18.1: +5 -5
lines
Merge changes from current as of 20200406
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:09 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +5 -5
lines
Sync with head.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Mon Feb 24 12:20:29 2020 UTC (6 years, 8 months ago) by rin
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
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,
ad-namecache-base3
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +5 -5
lines
0x%p --> %p for non-external codes.
Revision 1.116.10.1: download - view: text, markup, annotated - select for diffs
Thu Nov 14 16:04:31 2019 UTC (7 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -2
lines
Pull up following revision(s) (requested by msaitoh in ticket #1439):
sys/dev/sbus/sio16.c: revision 1.25
sys/dev/gpib/mt.c: revision 1.33
sys/arch/mvme68k/dev/wdsc.c: revision 1.33
sys/dev/gpib/ct.c: revision 1.31
sys/dev/isa/mcd.c: revision 1.119
sys/dev/pci/if_stge.c: revision 1.73
sys/dev/gpib/ppi.c: revision 1.25
sys/dev/pcmcia/if_tr_pcmcia.c: revision 1.29
sys/arch/amiga/dev/zssc.c: revision 1.46
sys/arch/mac68k/obio/iwm_fd.c: revision 1.57
sys/arch/amiga/dev/if_qn.c: revision 1.48
sys/dev/isa/tcic2_isa.c: revision 1.28
sys/dev/isa/uha_isa.c: revision 1.42
sys/dev/pci/neo.c: revision 1.55
sys/arch/next68k/dev/nextdisplay.c: revision 1.22
sys/dev/isa/if_iy.c: revision 1.111
Add missing initialization of sc_dev.
Initialize sc_dev correctly to avoid null pointer dereference when
bus_space_map() failed.
Add missing initialization of sc_dev.
Revision 1.118.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 14 15:38:02 2019 UTC (7 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -2
lines
Pull up following revision(s) (requested by msaitoh in ticket #425):
sys/dev/sbus/sio16.c: revision 1.25
sys/dev/gpib/mt.c: revision 1.33
sys/arch/mvme68k/dev/wdsc.c: revision 1.33
sys/dev/gpib/ct.c: revision 1.31
sys/dev/isa/mcd.c: revision 1.119
sys/dev/pci/if_stge.c: revision 1.73
sys/dev/gpib/ppi.c: revision 1.25
sys/dev/pcmcia/if_tr_pcmcia.c: revision 1.29
sys/arch/amiga/dev/zssc.c: revision 1.46
sys/arch/mac68k/obio/iwm_fd.c: revision 1.57
sys/arch/amiga/dev/if_qn.c: revision 1.48
sys/dev/isa/tcic2_isa.c: revision 1.28
sys/dev/isa/uha_isa.c: revision 1.42
sys/dev/pci/neo.c: revision 1.55
sys/arch/next68k/dev/nextdisplay.c: revision 1.22
sys/dev/isa/if_iy.c: revision 1.111
Add missing initialization of sc_dev.
Initialize sc_dev correctly to avoid null pointer dereference when
bus_space_map() failed.
Add missing initialization of sc_dev.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Nov 12 13:17:44 2019 UTC (7 years ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -2
lines
Add missing initialization of sc_dev.
Revision 1.116.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:12 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -3
lines
Sync with HEAD
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Feb 24 20:50:03 2019 UTC (7 years, 8 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +4 -2
lines
Add missing FALLTHROUGH in isa/mcd.c
Requested by GCC in NetBSD/i386 kUBSan KCOV build.
Reviewed by <mgorny>
Revision 1.116.16.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:50 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.117: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:31 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.109.22.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:05 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.109.22.2: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.22.2: +25 -30
lines
update from HEAD
Revision 1.116.8.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:35 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +86 -43
lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.
Revision 1.113.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:42 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.113.4.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.4.2: +17 -10
lines
Sync with HEAD
Revision 1.116.2.2: download - view: text, markup, annotated - select for diffs
Mon Jul 25 23:40:33 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.1: +16 -16
lines
Redo previous
Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 25 03:30:52 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +86 -43
lines
Update a few drivers for localcount(9)
Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Jul 14 10:19:06 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-compat-base,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
netbsd-8-base,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: prg-localcount2,
phil-wifi,
pgoyette-localcount,
pgoyette-compat,
netbsd-8
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +20 -13
lines
- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.
Revision 1.113.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:08 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.113.4.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.4.1: +8 -6
lines
Sync with HEAD
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Apr 26 15:15:20 2015 UTC (11 years, 6 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-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
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +5 -3
lines
Use C99-style initializers for struct dkdriver.
Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:09 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +6 -20
lines
Sync with HEAD
Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Dec 31 19:52:05 2014 UTC (11 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +6 -20
lines
make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.
Revision 1.109.22.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:39 2014 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.109.22.1: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.22.1: +22 -5
lines
Rebase to HEAD as of a few days ago.
Revision 1.111.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:52 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +4 -2
lines
Rebase.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:37 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -2
lines
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:02:19 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -2
lines
Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.
Revision 1.109.12.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:23 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.109.12.1: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.12.1: +20 -5
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:38 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +20 -5
lines
sync with head
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:28 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +20 -5
lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.
I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
Revision 1.109.22.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:10 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +31 -31
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.109.12.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:15 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +31 -31
lines
sync with head
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:25 2012 UTC (14 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +31 -31
lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
Revision 1.104.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:26 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.104.4.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.4.1: +6 -7
lines
sync with head
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:53 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +40 -97
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue May 12 09:10:15 2009 UTC (17 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
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,
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-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +6 -7
lines
struct device * -> device_t, no functional changes intended.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue May 12 08:44:19 2009 UTC (17 years, 6 months ago) by cegger
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -4
lines
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:48 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +46 -99
lines
sync with head.
Revision 1.105.6.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:46 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.105.6.1: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.6.1: +36 -92
lines
Sync with HEAD.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:18 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +36 -92
lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
Revision 1.105.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:13 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -4
lines
Sync with HEAD.
Revision 1.103.12.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:57 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.103.12.3: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.12.3: +2 -2
lines
Sync with HEAD.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Jan 13 13:35:53 2009 UTC (17 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -4
lines
g/c BUFQ_FOO() macros and use bufq_foo() directly.
Revision 1.103.12.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:07 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.103.12.2: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.12.2: +8 -5
lines
Sync with HEAD.
Revision 1.104.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:09 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +10 -7
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:40 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +10 -7
lines
sync with head.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Jun 8 12:43:52 2008 UTC (18 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
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
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +10 -7
lines
Replace device_lookup() with device_lookup_private() on getting softc
for future device_t/softc spilt.
Revision 1.103.12.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:32 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.103.12.1: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.12.1: +28 -28
lines
Sync with HEAD.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:08:50 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
hpcarm-cleanup-nbase
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +28 -28
lines
use aprint_*_dev and device_xname
Revision 1.103.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:21 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +19 -2
lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
as these are always needed.
- convert many, many drivers over to the New Devfs World Order. For a
list of device drivers yet to be converted see,
http://www.netbsd.org/~mjf/devfs-todo.html.
- add a new device_unregister_all(device_t) function to remove all device
names associated with a device_t, which saves us having to construct
device names when the driver is detached.
- add a DEV_AUDIO type for devices.
Revision 1.100.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:13 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.100.6.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.6.1: +12 -16
lines
sync with HEAD
Revision 1.100.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:50 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.100.4.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.4.1: +12 -16
lines
Sync with HEAD.
Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:37 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +12 -16
lines
Sync with HEAD.
Revision 1.102.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:24 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +12 -16
lines
Sync with head.
Revision 1.90.4.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:30:18 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.4.4: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.4.4: +12 -16
lines
sync with head
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Dec 5 07:58:30 2007 UTC (18 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +12 -16
lines
lockmgr -> mutex
Revision 1.100.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:51 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +6 -7
lines
sync with HEAD
Revision 1.90.4.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:48 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.4.3: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.4.3: +6 -7
lines
sync with head.
Revision 1.100.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:24 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +6 -7
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:20 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +5 -5
lines
Sync with HEAD.
Revision 1.97.2.7: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:13 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.97.2.6: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.6: +5 -5
lines
Sync with head.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:20 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
mjf-devfs
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -5
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.100.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:10 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +3 -4
lines
sync with head.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Oct 8 16:41:11 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -4
lines
Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.
Revision 1.90.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:42 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.4.2: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.4.2: +105 -82
lines
sync with head.
Revision 1.97.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 20 22:42:51 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.97.2.5: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.5: +3 -3
lines
Sync with head.
Revision 1.97.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:16:11 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.97.2.4: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.4: +3 -4
lines
- Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.
Revision 1.97.2.4: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:28 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.97.2.3: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.3: +13 -9
lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:23 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +5 -8
lines
Sync with HEAD.
Revision 1.100.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:22 2007 UTC (19 years, 3 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.100.10.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.10.1: +1862 -0
lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
Revision 1.100.10.1
Sun Jul 29 12:50:21 2007 UTC (19 years, 3 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.100: +0 -1862
lines
file mcd.c was added on branch matt-mips64 on 2007-07-29 12:50:22 +0000
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:21 2007 UTC (19 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-mips64,
matt-armv6,
jmcneill-pm
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -8
lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:52:46 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.97.2.2: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.2: +97 -71
lines
Sync with head.
Revision 1.97.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:30 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +99 -73
lines
Sync with head.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:49 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -4
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:48:01 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.1: +4 -4
lines
Adapt to callout API change.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Jun 30 22:16:38 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +97 -71
lines
The cd ioctl definitions are not condusive to being called from within
the kernel (eg from withthe linux compat code).
Add CDIOCREADSUBCHANNEL_BUF and CDIOREADTOCENTRIES_BUF which are like the
existing ioctls withoutthe _BUF, except that the data area immediately
follows the control structure (and is fixed length).
Modify scsipi/cd.c so that it only ever has one 'struct cd_formatted_toc'
allocated on the stack (maybe this info ought to be in the softc)
structure since even one 800 byte on-stack buffer isn't overly friendly.
cdplay(1) still seems able to read the track-list of an ATAPI cd.
Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:52 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +11 -18
lines
Sync with head.
Revision 1.96.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:54:50 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +5 -5
lines
Sync with HEAD.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:13 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +5 -5
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.90.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:27 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.4.1: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.4.1: +14 -39
lines
sync with head.
Revision 1.94.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:29 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.94.4.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.4.1: +12 -12
lines
sync with head.
Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:21 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +13 -46
lines
Sync with head.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:00 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +12 -12
lines
__unused removal on arguments; approved by core.
Revision 1.94.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:04 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +13 -46
lines
sync with head
Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:17 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +13 -46
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.92.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:51:26 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +31 -23
lines
sync with head
Revision 1.92.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:10 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.92.8.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.8.1: +11 -3
lines
sync with head.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Sep 2 07:01:20 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +11 -3
lines
add missing initializer
Revision 1.90.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:04:21 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +32 -32
lines
sync with head.
Revision 1.92.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:26 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +22 -22
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.92.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:52 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +22 -22
lines
sync with head.
Revision 1.92.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:06 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +22 -22
lines
Sync with head.
Revision 1.92.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:09 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +22 -22
lines
sync with head.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Apr 13 23:16:33 2006 UTC (20 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +22 -22
lines
PR/29683: Sergey Svishchev: Make this compile again..
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:03 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +8 -8
lines
merge ktrace-lwp.
Revision 1.84.2.9: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:05:37 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.8: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.8: +6 -6
lines
Sync with HEAD. Here we go again...
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Oct 15 17:29:12 2005 UTC (21 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +6 -6
lines
- change the way to specify a bufq strategy. (by string rather than by number)
- rather than embedding bufq_state in driver softc,
have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
from sys/bufq.h to sys/bufq_impl.h.
(is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c. (not tested)
Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:55 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +55 -55
lines
sync with -current
Revision 1.84.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:52 2005 UTC (21 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.7: preferred, colored
Changes since revision 1.84.2.7: +4 -4
lines
Sync with HEAD.
Revision 1.87.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:33 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.87.6.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.6.1: +16 -16
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Mar 12 22:54:48 2005 UTC (21 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -4
lines
PR/29683: M. B. Buchanan: mcd driver has printf formatting compile issue
and sets the wrong field to the number of ports.
Revision 1.84.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:43:14 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.6: preferred, colored
Changes since revision 1.84.2.6: +14 -14
lines
Sync with HEAD.
Hi Perry!
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:17 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +14 -14
lines
nuke trailing whitespace
Revision 1.87.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:45 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +41 -41
lines
sync with head.
Revision 1.84.2.6: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:09 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.5: preferred, colored
Changes since revision 1.84.2.5: +41 -41
lines
Sync with HEAD.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:40 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +41 -41
lines
de-__P
Revision 1.84.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:55 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.4: preferred, colored
Changes since revision 1.84.2.4: +3 -2
lines
Sync with HEAD.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Oct 28 07:07:40 2004 UTC (22 years ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -2
lines
move buffer queue related stuffs from buf.h to their own header, bufq.h.
Revision 1.84.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:29:47 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.3: preferred, colored
Changes since revision 1.84.2.3: +9 -9
lines
Fix the sync with head I botched.
Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:47:46 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.2: preferred, colored
Changes since revision 1.84.2.2: +11 -11
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Sep 14 20:20:48 2004 UTC (22 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -4
lines
Separate the namespace for default (ie unspecified) locators used
by the isa.c bus driver and the "address/whatever not specified"
argument passed to leaf device drivers.
The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter
"ISA_UNKNOWN_XXX", defined in isavar.h.
This way we save a dependency of every ISA device driver on "locators.h".
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:47:58 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.84.2.1: preferred, colored
Changes since revision 1.84.2.1: +12 -49
lines
Sync with HEAD
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Nov 7 04:10:57 2003 UTC (23 years ago) by mycroft
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -49
lines
Replace home-grown locks with lockmgr().
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:09 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +9 -9
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:20 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +7 -7
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:37 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +9 -9
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat May 10 23:12:44 2003 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3
lines
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.70.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:10:20 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.70.2.8: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.8: +4 -3
lines
Catch up to -current
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Nov 1 11:31:57 2002 UTC (24 years ago) by mrg
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -4
lines
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.80: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:23 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.70.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:42:25 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.7: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.7: +2 -3
lines
Catch up to -current.
Revision 1.70.4.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:39:44 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.70.4.3: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.3: +22 -11
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Oct 2 03:10:49 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3
lines
Fix sizeof and whitespace bug from the script I'm using to do the
CFATTACH_DECL conversion. (Grumble.)
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Oct 2 02:09:19 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -5
lines
Use CFATTACH_DECL().
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:38:41 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3
lines
Declare all cfattach structures const.
Revision 1.70.2.7: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:20:00 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.6: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.6: +18 -6
lines
Catch up to -current.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +20 -8
lines
Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
Revision 1.70.4.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:44:50 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.70.4.2: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.4.2: +7 -8
lines
sync kqueue branch with HEAD
Revision 1.74.8.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:35 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.74.8.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.8.1: +7 -8
lines
catch up with -current.
Revision 1.70.2.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:56 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.5: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.5: +7 -8
lines
Catch up to -current.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Jul 24 19:34:58 2002 UTC (24 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -8
lines
Convert to new device buffer queue interface.
Revision 1.74.8.1: download - view: text, markup, annotated - select for diffs
Thu May 16 12:10:04 2002 UTC (24 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +20 -8
lines
Add the block/character device switches.
Revision 1.70.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:45 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.4: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.4: +2 -2
lines
Catch up to -current.
Revision 1.70.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:09 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.3: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.3: +24 -9
lines
More catchup.
Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:35 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.4.1: +26 -9
lines
Sync kqueue branch with -current.
Revision 1.70.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:30:28 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.2: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.2: +2 -3
lines
Catch up to -current.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jan 7 21:47:11 2002 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +24 -9
lines
Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:
* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:09 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -3
lines
don't need <sys/types.h> when including <sys/param.h>
Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:51 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.1: +4 -1
lines
Catch up to -current.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Nov 13 08:01:24 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -1
lines
add RCSID
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 10 11:56:54 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +26 -20
lines
Convert all remaining devices.
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:50 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
Catch up with -current.
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:10 2001 UTC (25 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
update to -current
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jul 18 20:39:53 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
bzero -> memset
Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Sat May 26 16:22:14 2001 UTC (25 years, 5 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.1: +2 -2
lines
Apply patch (requested by wiz):
Correct typo related to __HAVE_OLD_DISKLABEL changes.
Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Tue May 1 12:27:18 2001 UTC (25 years, 6 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +39 -2
lines
Pull up revisions 1.68-1.69 (requested by fvdl):
Increase the number of BSD disklabel partitions on i386 to 16.
Revision 1.63.8.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:44 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.63.8.2: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.8.2: +2 -2
lines
Sync with HEAD.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Feb 10 12:16:34 2001 UTC (25 years, 9 months ago) by taca
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa,
kqueue
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2
lines
Insert missing '#' for cpp(1). This should close PR/12167.
Revision 1.63.8.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:23 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.63.8.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.8.1: +39 -2
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Jan 8 02:03:47 2001 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
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.68: download - view: text, markup, annotated - select for diffs
Sun Jan 7 18:09:01 2001 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +39 -2
lines
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.63.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:41:18 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +41 -31
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Jul 6 02:02:48 2000 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +7 -11
lines
Use device_lookup().
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:35 2000 UTC (26 years, 8 months ago) by thorpej
Branches: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +9 -4
lines
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.65: download - view: text, markup, annotated - select for diffs
Mon Feb 7 20:16:56 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +16 -9
lines
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.64: download - view: text, markup, annotated - select for diffs
Fri Jan 21 23:39:58 2000 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +12 -10
lines
Update for sys/buf.h/disksort_*() changes.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Feb 8 16:33:17 1999 UTC (27 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base,
chs-ubc2
Branch point for: thorpej_scsipi
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +22 -3
lines
Change DIOCEJECT to do what's needed to eject a device before the eject
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jun 23 03:26:19 1998 UTC (28 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
eeh-paddr_t-base,
eeh-paddr_t,
chs-ubc-base,
chs-ubc
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +17 -1
lines
* Add defopt MCD_PROMISC for more conservative probes.
Before, the probe routine (mcd_find() would succeed even if the probe
code thought it had a response, but didn't recognize the ID-code byte.
Now, only do the promiscuous match if MCD_PROMISC is configured.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jun 9 07:25:04 1998 UTC (28 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -9
lines
Nuke __BROKEN_INDIRECT_CONFIG.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jan 14 12:14:41 1998 UTC (28 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +11 -2
lines
make it compile without BROKEN_INDIRECT_CONFIG
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jan 12 09:43:42 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -4
lines
Update for config changes.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 12 02:32:50 1997 UTC (29 years ago) by mellon
Branches: netbsd-1-3
CVS tags: 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
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -2
lines
Pull rev 1.58 up from trunk (fvdl)
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Nov 11 22:43:51 1997 UTC (29 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2
lines
Add missing ;
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Oct 20 18:43:18 1997 UTC (29 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +9 -5
lines
Don't panic if we fail to remap i/o or mem space in the attach function.
Instead, print a diagnostic and return. (Some drivers do this already.)
Also, normalize the diagnostic message, and fix some places where the
printfs were getting ugly.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Oct 19 18:57:11 1997 UTC (29 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -1
lines
Make sure the i/o and/or mem addresses aren't wildcarded (i.e. -1) before
using the address in a bus_space_map() call.
Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:23:50 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +25 -10
lines
Update marc-pcmcia branch from trunk.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Oct 8 23:10:06 1997 UTC (29 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +25 -10
lines
Implement DIOCGDEFLABEL.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Jun 14 08:55:14 1997 UTC (29 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +25 -25
lines
Make this compile again in light of recent changes to cdio.h
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Apr 4 18:59:35 1997 UTC (29 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +100 -44
lines
Busify the driver (from perry).
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Nov 5 07:17:25 1996 UTC (30 years ago) by mikel
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -1
lines
Eliminate unsolicited spewage; PR #2108.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:37:56 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +36 -36
lines
backout kprintf changes
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:05:08 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +36 -36
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun May 12 23:53:11 1996 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -1
lines
Use intr.h.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Apr 29 20:28:44 1996 UTC (30 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +24 -19
lines
Fix gcc -Wall warnings.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Apr 11 22:29:43 1996 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
update for addition of a machine-dependent cookie as the first argument
to isa_intr_{,dis}establish().
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Mar 17 00:53:44 1996 UTC (30 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -8
lines
New device attachment scheme:
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jan 30 18:28:05 1996 UTC (30 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -2
lines
Accept DIOCEJECT as a synonym for CDIOCEJECT. Implement DIOCLOCK
separately from CDIOCALLOW and CDIOCPREVENT, even though they perform
basically the same function (with a different interface XXX).
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jan 7 22:03:37 1996 UTC (30 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +27 -15
lines
New generic disk framework. Highlights:
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 24 02:31:42 1995 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Aug 5 23:47:52 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +29 -26
lines
Use an intermediate variable to shorten label initialization code.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jul 10 01:27:24 1995 UTC (31 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -5
lines
fix from Onno van der Linden for large-file read timeouts on double-speed
drives. A different read command must be used on double-speed drives.
It boggles my mind that people could design hardware this stupid.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jul 5 02:32:53 1995 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +19 -1
lines
Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jun 26 05:37:11 1995 UTC (31 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -3
lines
make dump stubs consistent
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Apr 27 01:46:47 1995 UTC (31 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
Turn off some debugging code by default.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 17 12:09:20 1995 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -7
lines
clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Apr 15 05:02:53 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2
lines
Don't boundary check I/O to the `raw' partition.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Apr 1 10:27:56 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -3
lines
Insert a missing unlock.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Apr 1 08:45:33 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +25 -31
lines
Change the locking protocol to match other drivers.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Apr 1 08:40:11 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +9 -21
lines
Always load the TOC. Turn off the TOC bit in the mode register so the busy
light goes off.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Mar 27 21:44:11 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2
lines
Remove unused variable.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Mar 27 18:08:34 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -6
lines
Remove a tiny bit of redundant code.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 27 16:48:45 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -37
lines
It's not necessary to do a GETSTAT before each read.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Mar 27 16:04:07 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +12 -24
lines
Small garbage collection, and turn off debugging info by default.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Mar 27 15:45:20 1995 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1024 -640
lines
Largely rewritten by me, with some input from Dave Burgess. Implement most of
the CDIOC* calls correctly, improve performance by 10x when interrupts work,
and implement the same generic disk framework as other drivers.
Needs some more work.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jan 29 07:37:12 1995 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2
lines
lip service to making ISA support machine-independent. This is the first
round: moving the drivers into a machine-independent directory.
Some drivers (e.g. fd.c) not moved because they use other pc features (e.g.
CMOS settings), and none of the non-driver files moved, because they're
still pretty much PC specific. eventually (when other ports with ISA
busses really start using this code), more 'high-level' ISA support will
live here.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jan 3 01:31:45 1995 UTC (31 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
Add interrupt sharing types.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Dec 14 15:23:27 1994 UTC (31 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -2
lines
Remove dkbad.h.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Nov 18 22:03:30 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +12 -12
lines
Convert port, IRQ, and DRQ numbers to ints.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Nov 3 22:56:01 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -7
lines
Use indirect config for subdevices, and add dkdrivers where missing.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Oct 30 21:44:08 1994 UTC (32 years ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
be more careful with types, also pull in headers where necessary.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Oct 28 23:39:59 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +128 -116
lines
Various:
* Forget all cached info when opening a new disc.
* If the disc is removed, flush the buffer queue rather than stalling it.
* Set the default label after getting the disc size, and fill in the info
for RAW_PART also.
* Change another use of the unit number to a softc pointer.
* Use a dkdevice to hold the label and open partition masks.
* Force the partition offset to 0 for RAW_PART, regardless of the label.
* Nuke MCDPHYS() and MCDREADRAW; they had a silly bug that caused the code
to not work, and they aren't useful anyway.
Some other minor cleanup.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Oct 27 04:17:57 1994 UTC (32 years ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
new RCS ID format.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Oct 14 18:26:53 1994 UTC (32 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -5
lines
move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 5 23:00:24 1994 UTC (32 years, 3 months ago) by mycroft
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +2 -2
lines
update from trunk
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Aug 5 22:57:14 1994 UTC (32 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Fix spelling of `STEREO'.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 17:12:39 1994 UTC (32 years, 3 months ago) by cgd
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +16 -18
lines
from trunk
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 3 08:57:59 1994 UTC (32 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +16 -18
lines
Add a missing splx() and increase the reset delay during probe, as suggested
by Juergen Keil. Add a diagnostic message if the controller info is not what
we expect.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jun 16 01:08:23 1994 UTC (32 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
b_un.b_addr -> b_data
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed May 11 09:49:23 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -1
lines
Add dummy *dump() routines.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu May 5 08:26:13 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +87 -103
lines
Retool the state machine is a sane way.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 5 05:36:42 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +25 -16
lines
lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Apr 22 23:02:42 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2
lines
Don't need isa.h.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Apr 8 18:57:24 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1
lines
Small fix to attach message.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 8 18:22:26 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1
lines
Fix return values from some interrupt routines.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Apr 7 06:51:02 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -5
lines
Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
Reorganize and clean up the relevant code.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Mar 29 04:36:11 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +43 -44
lines
Updates for new autoconfig.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:19:13 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -6
lines
DELAY() --> delay(). This is not a macro.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Feb 21 15:23:11 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +708 -658
lines
Fixed probe routine from Holger Veit; lots of other cleanup by me.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 9 21:13:48 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
All ioctl routines take a struct proc * now.
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Sun Feb 6 10:08:29 1994 UTC (32 years, 9 months ago) by mycroft
Diff to: previous 1.1.2.6: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.6: +2 -2
lines
Use b_actf, not av_forw.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Feb 6 10:04:47 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
Use b_actf, not av_forw.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Wed Feb 2 11:43:54 1994 UTC (32 years, 9 months ago) by mycroft
Diff to: previous 1.1.2.5: preferred, colored
Changes since revision 1.1.2.5: +15 -15
lines
Various cleanup.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Wed Feb 2 09:09:48 1994 UTC (32 years, 9 months ago) by mycroft
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +283 -281
lines
Change second arg of probe to self, in preparation of changing subr_autoconf.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Wed Feb 2 07:00:15 1994 UTC (32 years, 9 months ago) by mycroft
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +26 -42
lines
Updates from Gary Clark II; may need more work.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Feb 1 06:30:28 1994 UTC (32 years, 9 months ago) by mycroft
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +3 -1
lines
Updates from main branch.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Dec 20 09:06:26 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -17
lines
Canonicalize all #includes, and add pio.h where appropriate.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 29 18:28:18 1993 UTC (32 years, 11 months ago) by mycroft
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +4 -2
lines
Forgot to #include pio.h and cpu.h.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 29 18:19:12 1993 UTC (32 years, 11 months ago) by mycroft
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +520 -479
lines
Converted. Needs testing.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 17 12:22:50 1993 UTC (33 years ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1
lines
added two copyright strings at the request of Gary Clark II
<gclarkii@freefall.cdrom.com>, because he hacked and is in the process
of hacking the code significantly.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 4 09:13:07 1993 UTC (33 years ago) by cgd
Branches: MAIN
add mcd: Mitsumi CD driver by Holger Veit and Brian Moore
CVSweb <webmaster@jp.NetBSD.org>