CVS log for src/sys/dev/scsipi/ch.c
Up to [cvs.NetBSD.org] / src / sys / dev / scsipi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Sep 26 14:57:19 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -14
lines
Use seltrue_filtops rather than rolling our own with filt_seltrue.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Sep 26 01:16:09 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -4
lines
Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.
This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.
NetBSD 9.99.89
Revision 1.92.18.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:35:01 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +4 -7
lines
Sync w/ HEAD.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Dec 18 01:55:22 2020 UTC (3 years, 11 months ago) by thorpej
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-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -7
lines
Use sel{record,remove}_knote().
Revision 1.86.22.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:32 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.86.22.2: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.22.2: +13 -5
lines
update from HEAD
Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Oct 25 08:12:39 2017 UTC (7 years, 1 month ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +14 -6
lines
Use C99 initializer for filterops
Mostly done with spatch with touchups for indentation
@@
expression a;
identifier b,c,d;
identifier p;
@@
const struct filterops p =
- { a, b, c, d
+ {
+ .f_isfd = a,
+ .f_attach = b,
+ .f_detach = c,
+ .f_event = d,
};
Revision 1.90.8.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:41 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +3 -3
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.90.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:17 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +3 -3
lines
Sync with HEAD
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Nov 20 15:37:19 2016 UTC (8 years ago) by mlelstv
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3
lines
Make scsipi framework MPSAFE.
Data structures are now protected by a per-adapter mutex at IPL_BIO
that is created by the scsibus or atapibus instance when the adapter
is configured.
The enable reference counter and the channel freeze counter which are
currently used by HBA code before the adapter is configured, are made
atomic.
The target drivers are now all tagged as D_MPSAFE.
Almost all HBA drivers still require the kernel lock to present,
so all callbacks into HBA code are still protected by kernel lock
unless the driver is tagged as SCSIPI_ADAPT_MPSAFE.
TODO: refactor sd and cd to use dksubr.
Revision 1.86.22.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:50 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86.22.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.22.1: +21 -9
lines
Rebase to HEAD as of a few days ago.
Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:57 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +3 -2
lines
Rebase.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:38 2014 UTC (10 years, 4 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
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,
localcount-20160914
Branch point for: pgoyette-localcount,
nick-nhusb
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +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.86.12.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:35 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.86.12.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.12.1: +20 -9
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.87.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:46 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.87.2.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.2.1: +13 -4
lines
sync with head
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:29 2014 UTC (10 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.88: preferred, colored
Changes since revision 1.88: +13 -4
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.87.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:26 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +9 -7
lines
sync with head
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Aug 9 19:58:44 2013 UTC (11 years, 4 months ago) by kardel
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +9 -7
lines
bump command timeout to 5 minutes. several
types of changers (Overland PowerLoader, Dell
PowerVault) have been exceeding the 100 sec
limit aborting a perfectly (slowly) progressing
operation.
Revision 1.86.22.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:32 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +15 -14
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.86.12.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:01 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +15 -14
lines
sync with head
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:38 2012 UTC (12 years, 1 month 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.86: preferred, colored
Changes since revision 1.86: +15 -14
lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
Revision 1.80.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:03 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80.4.3: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.4.3: +6 -8
lines
sync with head
Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Nov 23 02:13:47 2009 UTC (15 years ago) by rmind
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-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,
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.85: preferred, colored
Changes since revision 1.85: +2 -3
lines
Remove some unecessary includes sys/user.h header.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:05 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +6 -7
lines
Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
Revision 1.80.4.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:44 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80.4.2: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.4.2: +6 -6
lines
sync with head
Revision 1.82.12.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:22 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +6 -6
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue May 12 14:44:31 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +6 -6
lines
struct device * -> device_t, no functional changes intended.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue May 12 13:20:33 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4
lines
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.80.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:18 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80.4.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.4.1: +9 -9
lines
sync with head.
Revision 1.78.12.4: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:10 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.78.12.3: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.12.3: +7 -7
lines
Sync with HEAD.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:29 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +9 -9
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:57 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.1: +9 -9
lines
sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Jun 8 18:18:34 2008 UTC (16 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -9
lines
Use device_lookup_private() rather than using cd_devs[] directly to get softc.
XXX maybe we should change a type of cd_devs[] in struct cfdriver
from (void *) to device_t.
Revision 1.78.12.3: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:50 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.78.12.2: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.12.2: +11 -20
lines
Sync with HEAD.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:45 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -9
lines
sync with head.
Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:06 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -9
lines
sync with head.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:57 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.78.12.2: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:22 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.78.12.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.12.1: +7 -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.80: download - view: text, markup, annotated - select for diffs
Sat Apr 5 15:47:00 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +11 -13
lines
use aprint_*_dev and device_xname
Revision 1.78.12.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:56 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -3
lines
Sync with HEAD.
Revision 1.78.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:08 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +5 -3
lines
sync with head.
Revision 1.77.16.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:52 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.77.16.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.16.1: +5 -3
lines
sync with HEAD
Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:27 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71.2.4: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.4: +5 -3
lines
sync with head.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Mar 1 14:16:51 2008 UTC (16 years, 9 months ago) by rmind
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -3
lines
Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify() call. It will
indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown,
zero may be used.
Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
Revision 1.77.16.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:30 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
sync with HEAD
Revision 1.77.14.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:58 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +3 -3
lines
Sync with HEAD.
Revision 1.77.22.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:57 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +3 -3
lines
Sync with HEAD.
Revision 1.77.24.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:30 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +3 -3
lines
Sync with head.
Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:08 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71.2.3: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.3: +3 -3
lines
sync with head
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Dec 5 17:19:51 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: 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-base,
jmcneill-pm-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
Do not "return 1" from kqfilter for errors. That value is passed
directly to the userland caller and results in a mysterious EPERM.
Instead, return EINVAL or something else sensible depending on the
case.
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:38 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.2: +7 -7
lines
sync with head.
Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:57:09 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +7 -7
lines
Sync with HEAD.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:42 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-armv6,
jmcneill-pm
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -7
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:34 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +5 -4
lines
sync with head.
Revision 1.74.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:15 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.74.4.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.4.1: +8 -8
lines
sync with head.
Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:49 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +4 -3
lines
Sync with head.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:26 2006 UTC (18 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.75: preferred, colored
Changes since revision 1.75: +8 -8
lines
__unused removal on arguments; approved by core.
Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:47 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +9 -8
lines
sync with head
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:57 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +9 -8
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:54:25 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +4 -4
lines
sync with head
Revision 1.72.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:49 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.72.8.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.8.1: +3 -3
lines
sync with head.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Aug 28 00:38:47 2006 UTC (18 years, 3 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.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
add missing initializer
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:47 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +9 -9
lines
sync with head.
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:29 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -3
lines
Sync with head.
Revision 1.72.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:26:19 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -3
lines
sync with head.
Revision 1.72.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:27 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3
lines
sync with head.
Revision 1.72.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:25 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -3
lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Mar 30 16:09:28 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3
lines
Use device_private().
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:50 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +8 -8
lines
merge ktrace-lwp.
Revision 1.57.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:47 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.57.2.6: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.6: +6 -8
lines
Sync with HEAD. Here we go again...
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon May 30 04:25:32 2005 UTC (19 years, 6 months ago) by christos
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
Branch point for: yamt-lazymbuf
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -5
lines
- remove bogus casts
- add more const
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:16 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +9 -9
lines
sync with -current
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Apr 25 17:52:30 2005 UTC (19 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -5
lines
fix more SSD_RCODE_VALID misuse introduced in cleanup
Revision 1.64.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:47 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +10 -9
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.57.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:32 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.57.2.5: preferred, colored
Changes since revision 1.57.2.5: +10 -9
lines
Sync with HEAD.
Hi Perry!
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:48 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
nuke trailing whitespace
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Feb 21 00:29:07 2005 UTC (19 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +9 -8
lines
Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes. Place items described
by the SCSI Primary Commands document into scsi_spc.h.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Feb 1 00:19:34 2005 UTC (19 years, 10 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +25 -25
lines
Backing out changes to clean up scsipi. I was pointed out there were
problems i hadn't seen. To prevent lossage i'd decided to back off all
changes and let them be reviewed on tech-kern.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jan 31 23:39:02 2005 UTC (19 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -7
lines
Fix LP64 problems introduced by my u_long->uint32_t conversion.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jan 31 23:06:41 2005 UTC (19 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +25 -25
lines
Part of the cleanup of sys/scsipi's use of types; rename all u_int* to
uint* and change the u_long's to uint32_t's where possible. Note that the
iocl definitions/hooks have to be ulong (or u_long) or they'll bomb out.
Revision 1.57.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:33:21 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.57.2.4: preferred, colored
Changes since revision 1.57.2.4: +8 -8
lines
Fix the sync with head I botched.
Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:51:24 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.57.2.3: preferred, colored
Changes since revision 1.57.2.3: +22 -28
lines
Sync with HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Sep 18 00:08:16 2004 UTC (20 years, 2 months ago) by mycroft
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.63: preferred, colored
Changes since revision 1.63: +15 -21
lines
Standardize some variable names and the calling pattern for scsipi_command().
Use void pointer casts.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Sep 17 23:43:17 2004 UTC (20 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +9 -9
lines
Remove the "xfer" argument to scsipi_command().
Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 11 12:51:07 2004 UTC (20 years, 3 months ago) by he
Branches: netbsd-2-0
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-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
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.1: +8 -8
lines
Pull up revision 1.62 (via patch, requested by bouyer in ticket #837):
Improve handling of memory shortage, to fix problems like:
sd3(mpt0:0:1:0): unable to allocate scsipi_xfer
sd3: not queued, error 12
The theory is that other consumers of pool memory is causing
this memory shortage in certain somewhat hard to reproduce
situations.
This is done by giving scsipi_command an extra argument to
optionally pass a preallocated scsipi_xfer, and allocating a
scsipi_xfer before dequeueing a buffer in the various *start()
functions. If the allocation of a scsipi_xfer fails, schedule
a callout for delayed invocation of the start function. Also
reserve one page for scsipi_xfer structs, to ensure that we will
eventually have some available once pending commands complete.
Should fix PR#25670.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Sep 9 19:35:30 2004 UTC (20 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -8
lines
Make the xxstart() functions reentrant again, as some drivers HBA can call
scsipi_done() from their scsipi_request().
For this, add a struct scsipi_xfer * argument to scsipi_command().
If not NULL scsipi_command() will use this to enqueue this xfer, otherwise
it'll try to allocate a new one. This scsipi_xfer has to be allocated
and initialised by scsipi_make_xs() or equivalent.
In xxstart(), allocate a scsipi_xfer using scsipi_make_xs(), and if not NULL,
dequeue the buffer before calling scsipi_command(). This makes sure that
scsipi_command() will not fail, and also makes sure that xxstart() won't
be called again between the BUFQ_PEEK() and BUFQ_GET().
Fix "dequeued wrong buf" panics reported by Juergen Hannken-Illjes in
private mail and Andreas Wrede on current-users@.
Thanks to Jason Thorpe and Chuck Silver for review, and Andreas Wrede for
testing the patch.
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:43 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.57.2.2: preferred, colored
Changes since revision 1.57.2.2: +86 -136
lines
Sync with HEAD.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Aug 21 17:40:25 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +86 -136
lines
Use ANSI function decls and make use of static.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:51:13 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.57.2.1: preferred, colored
Changes since revision 1.57.2.1: +6 -12
lines
Sync with HEAD
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 24 14:08:41 2004 UTC (20 years, 5 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -9
lines
Pull up revision 1.60 (requested by seb in ticket #545):
Remove special handling of ASC/ASCQ 0x29/0x00 ("Power On,
Reset, or Bus Device Reset Occurred") when the device is
not opened. Let the default error handler deal with that
instead. This fixes the retreival of the sense page during
autoconfig.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jun 23 23:44:58 2004 UTC (20 years, 5 months ago) by seb
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -9
lines
Remove special handling of ASC/ASCQ 0x29/0x00 ("Power On, Reset, or Bus
Device Reset Occurred") when the device is not opened. So let the default
error handler deal with that.
This fix the retrieval of the sense page during autoconfig.
Provided by mycroft@.
Approved by bouyer@.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Apr 23 21:52:17 2004 UTC (20 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -4
lines
use bounded string ops
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Sep 8 01:27:08 2003 UTC (21 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Use the const shaker.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:17 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +12 -12
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.57: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:38 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +10 -10
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:43 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +12 -12
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.43.4.8: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:38:44 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.43.4.7: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.4.7: +3 -3
lines
Sync with HEAD.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Nov 26 18:49:47 2002 UTC (22 years ago) by christos
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.54: preferred, colored
Changes since revision 1.54: +5 -5
lines
si_ -> sel_
Revision 1.43.4.7: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:12:12 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43.4.6: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.4.6: +56 -2
lines
Catch up to -current
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:46 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +58 -4
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.43.4.6: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:44:15 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43.4.5: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.4.5: +2 -3
lines
Catch up to -current.
Revision 1.46.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:42:13 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.46.2.6: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.6: +16 -5
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.46.2.6: download - view: text, markup, annotated - select for diffs
Wed Oct 2 22:02:27 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.46.2.5: preferred, colored
Changes since revision 1.46.2.5: +5 -5
lines
do not need the (void *) cast for kn_hook anymore
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:52:49 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
Add trailing ; to CFATTACH_DECL.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Sep 30 23:12:51 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -5
lines
Use CFATTACH_DECL().
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:41:42 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
Declare all cfattach structures const.
Revision 1.43.4.5: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:21:13 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43.4.4: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.4.4: +13 -2
lines
Catch up to -current.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +13 -2
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.46.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:48:45 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.46.2.4: preferred, colored
Changes since revision 1.46.2.4: +11 -8
lines
catch up with -current on kqueue branch
Revision 1.43.4.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:46:35 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43.4.3: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.4.3: +11 -8
lines
Catch up to -current.
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 11:38:52 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +13 -2
lines
Add the character device switch.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon May 6 13:43:57 2002 UTC (22 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
gehenna-devsw-base
Branch point for: gehenna-devsw
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -8
lines
Don't return an error for "Not Ready To Ready Transition (Medium May Have
Changed)" and "Power On, Reset, or Bus Device Reset Occurred" senses, if
we're trying to open the device.
Revision 1.46.2.4: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:58:18 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.46.2.3: preferred, colored
Changes since revision 1.46.2.3: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.43.4.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:01 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43.4.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.4.2: +4 -1
lines
Catch up to -current.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 13 06:56:39 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -1
lines
add RCSIDs
Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 26 15:28:16 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.1: +19 -9
lines
* add a VCLONED vnode flag that indicates a vnode representing a cloned
device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
to the specinfo of a cloned vnode. could possibly redirect getattr to
the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
original device, and reassociates it with the specified dev_t. to be
used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
when debugging race conditions that still exist wrt. locking and
revoking vnodes.
* make the locking state of a vnode consistent when passed to
d_open and d_close (unlocked). locked would be better, but has
some deadlock issues
Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 8 18:12:20 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.46.2.2: preferred, colored
Changes since revision 1.46.2.2: +11 -3
lines
Use the seltrue filter as appropriate (or, rather, as the "poll"
entry points of these drivers indicate).
Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 8 04:24:51 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.46.2.1: preferred, colored
Changes since revision 1.46.2.1: +47 -2
lines
Add kqueue support.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:30 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +21 -17
lines
Commit my "devvp" changes to the thorpej-devvp branch. This
replaces the use of dev_t in most places with a struct vnode *.
This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).
Revision 1.43.4.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:10:43 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43.4.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.4.1: +11 -11
lines
Catch up with -current.
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:29 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -11
lines
update to -current
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jul 18 18:21:05 2001 UTC (23 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.46: preferred, colored
Changes since revision 1.46: +11 -11
lines
bzero -> memset
Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:05:46 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +71 -72
lines
Catch up to -current.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jun 19 10:43:26 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -2
lines
delint
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon May 14 20:35:28 2001 UTC (23 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -21
lines
Use SCSI/ATAPI common definition for MODE_{SELECT,SENSE}{,_BIG}. Define
functions to send theses commands in scsipi_base.c and use them instead
of ad-hoc commands setups.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:39 2001 UTC (23 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +64 -53
lines
Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 09:59:24 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.1: +49 -47
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.
Main changes to the scsipi code itself:
- add a scsipi_channel->type to allow umass to attach to both atapibus and
scsibus. Will die when IDE is converted from ata_atapi_attach to
scsipi_channel/scsipi_adapter
- Add a chan_defquirks to scsipi_channel so that adapters can pass a default
set of quirks to be set for each device attached
- add adapt_getgeom and adapt_accesschk callbacks
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:08:11 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +15 -11
lines
Sync w/ netbsd-1-5-base.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Jun 9 08:54:21 2000 UTC (24 years, 6 months ago) by enami
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5
Branch point for: nathanw_sa
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -11
lines
Prevent a process being swapped out during I/O if the data buffer is
allocated on stack. This potential problem is noticed by Noriyuki Soda
and the idea and sample code to fix is given by Jason R. Thorpe.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jan 4 22:47:12 2000 UTC (24 years, 11 months ago) by mjacob
Branches: MAIN
CVS tags: minoura-xpg4dl-base,
chs-ubc2-newbase
Branch point for: minoura-xpg4dl
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
oops, bad patch
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jan 4 22:35:57 2000 UTC (24 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +39 -31
lines
- If the user application issues an INITIALIZE ELEMENT STATUS which
succeeds, note that we now are valid.
- Don't attempt to try and run initialize element status from interrupt level-
we don't really support that yet. Also, key more correctly off of ASC/ASCQ
instead of just the sense key.
- Make the practice of doing an INITIALIZE ELEMENT STATUS automatically when
we get params (from chopen time even) a policy decision that is not the
default for now- this can be a dangerous practice as well as time consuming.
It's dangerous in that you can have a hung open when all you really want
to do is do a read of parameters- and parameters, including slot status,
are perfectly fine to read even before an INITIALIZE ELEMENT STATUS is
done- all the elements whos status your read are going to be marked with
an exception- so leave it up to the application to decide how important
this is.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:39:30 1999 UTC (25 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +68 -47
lines
Completely rewritten scsipi_xfer execution engine:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
There is a lot more work to do, but this correctly functions for the most
part on several file servers I run.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Sep 30 22:57:53 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -11
lines
Cleanup the scsipi_xfer flags:
- `flags' is now gone, replaced with `xs_control' and `xs_status'.
- Massive cleanup of the control flags. Now we explicitly say that
a job is to complete asynchronously, rather than relying on side-effects,
and use a new flag to now that device discovery is being performed.
- Do SCSI device discovery interrupt-driven.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Sep 9 23:24:12 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +625 -93
lines
Rework the changer driver a bit:
- Take note of magazine changes, and enqueue "Element Status Changed" events
that user processes can read or select on.
- Normalize some structure names.
- Report back more status about changer elements:
* Volume tags (e.g. barcode labels on the backs of your tapes)
* External device names (for drive units in a changer)
* Last element a unit of media was moved from
* Sense information for SCSI changer elements in EXCEPT condition
* Vendor-specific data if the user requests it.
- Add support for setting volume tags.
Revision 1.37.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:19:10 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.37.2.1: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +0 -0
lines
Sync w/ -current.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 5 16:39:32 1999 UTC (25 years, 8 months ago) by bouyer
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +2 -2
lines
Pull up rev 1.38 (correct 'ielem' timeout computation); approved by perry.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Apr 4 12:20:48 1999 UTC (25 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
Adjust timeout for 'ielem' to match the comment: 5 mn (not 5s) per element +
10mn initial.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Dec 17 22:28:07 1998 UTC (26 years ago) by gibbs
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Return ENODEV when the device capability check fails for MOVE and EXCHANGE
operations.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Dec 8 00:19:56 1998 UTC (26 years ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1
lines
When closing, wait for pending xfers to drain before deleting the reference
to the adapter.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Nov 20 00:35:39 1998 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +8 -3
lines
Add adapter reference counting for SCSI and ATAPI devices.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Aug 31 22:28:06 1998 UTC (26 years, 3 months ago) by cgd
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -9
lines
kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
used it, and it's non-working and apparently slated for replacement.)
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jul 3 19:11:25 1998 UTC (26 years, 5 months ago) by mjacob
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +20 -3
lines
kern/5514: take the submitter's advice, at least partially. The time it
takes to do IELEM can be proportional to the number of elements, but is
also affected by wierd things like how readable the barcodes on the
media are. There are worst case scenarios I've seen where there are
white labels on the back of tapes with pencilled in labels which is
*just* close enough to being a bar code that an Exabyte 120 would
peer at them myopically and long enough for a *really* long time to
pass in inventorying the jukebox.
I've upped the limit to be proportional to 5 minutes per element. That
is long enough that someone I'm sure will complain about "you wait
to long and should time out" for broken h/w.
As is also noted in the PR, there are a lot of other issues here. It's
really also a question as to whether to update this driver or go
with CAM's driver. This one doesn't have switching between block
descriptors and not, doesn't support volume tag setting, and so on.
Time is limited. This PR should have been closed and fixed right away,
tho.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jan 12 09:49:12 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -4
lines
Adjust for changes to config.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Oct 18 19:50:57 1997 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -8
lines
Implement two macros, scsipi_command() and scsipi_command_direct(), and
use them to hide the structure of the function pointers we jump through
to issue a command.
Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:24:54 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.2: +55 -20
lines
Update marc-pcmcia branch from trunk.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Oct 1 05:39:56 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Add missing SCSI_DATA_IN when issuing a READ_ELEMENT_STATUS command.
Noticed by Dave Huang <khym@bga.com>.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 1 01:18:50 1997 UTC (27 years, 2 months ago) by enami
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +28 -22
lines
Cosmetic changes to keep coding style consistency in this directory;
- Indent with tab of width 8.
- Use four column to indent continuation line.
- Fold long line if possible.
- Use return (xx) instead of return xx.
- Compare pointer against NULL instead of testing like boolean.
- Delete whitespace at the end of line.
- Delete whitespace in front of function call operator.
- Delete whitespace after cast.
- Dereference a pointer to function explicitly.
- Add an empty line after local variable declaration.
- Use NULL instead of (char *)0.
- Dont use block for single statement.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Sep 29 17:32:31 1997 UTC (27 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +31 -2
lines
Add 'initialize element status' command; note (for future fixing in ch.c)
that a number of jukeboxes can't cope with DBD (disable block descriptors)-
we'll have to fix that some day.
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 23:33:05 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +714 -0
lines
Update marc-pcmcia branch from trunk.
Revision 1.27.2.1
Wed Aug 27 11:26:26 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
FILE REMOVED
Changes since revision 1.27: +0 -714
lines
file ch.c was added on branch marc-pcmcia on 1997-08-27 23:33:05 +0000
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:26:26 1997 UTC (27 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal
Branch point for: marc-pcmcia
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +27 -26
lines
Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:25:40 1997 UTC (27 years, 9 months ago) by is
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +64 -13
lines
Merge in changes from Trunk
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Feb 21 22:06:52 1997 UTC (27 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +64 -13
lines
- Tidy up some printf code in chattach().
- Implement a simple quirks framework for changers.
- Add a quirk for the Spectra 9000 8mm tape library; it requires a
slightly-longer-than-1-minute delay to take tape inventory. Many
thanks to David Webster at Cygnus Solutions for testing this for me.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 5 01:06:40 1996 UTC (28 years ago) by cgd
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +11 -2
lines
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 14 08:36:25 1996 UTC (28 years, 1 month ago) by thorpej
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +17 -1
lines
Pull up from trunk:
> For ioctl commands which may change the device's state, ensure that
> the caller has the device open for writing.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 12 23:23:14 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +11 -11
lines
revert previous kprintf change
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:34:16 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +11 -11
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Sep 18 02:34:31 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +17 -1
lines
For ioctl commands which may change the device's state, ensure that
the caller has the device open for writing.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Apr 19 00:02:29 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +15 -10
lines
gcc -Wall delinting: unused variables, assignments inside if's and missing
arguments in printf statements.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Apr 3 00:25:39 1996 UTC (28 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +490 -331
lines
New SCSI media changer driver, written from scratch by me. Some
influence from the old driver (written by Stefan Grefen) and from
an autochanger driver written by the Systems Programming Group at the
University of Utah Computer Science Department (currently residing
in src/sys/arch/hp300/dev/ac.c).
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Mar 30 21:44:58 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Eliminate scsi_conf.h.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Mar 19 03:05:15 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -13
lines
Define a full set of [234][bl]tol() and lto[234][bl]() conversion functions,
inlined.
Use sized types in protocol structures.
Make the definition of scsi_sense_data less ugly.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 17 00:59:44 1996 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +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.16: download - view: text, markup, annotated - select for diffs
Tue Mar 5 00:15:09 1996 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -3
lines
Normalize SCSI autoconfiguration output.
From Chris Demetriou <cgd@NetBSD.ORG>. Fixes PR #1958.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Feb 14 21:47:07 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +26 -15
lines
scsi prototypes
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jan 16 21:31:38 1995 UTC (29 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -7
lines
Remove unused macros.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 28 19:42:52 1994 UTC (29 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +61 -52
lines
Numerous changes. Many bugs fixed, better autoconfig, a few new features.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 21 11:28:47 1994 UTC (30 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +26 -26
lines
Clean up open and close routines somewhat.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 21 10:39:14 1994 UTC (30 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Replace dev_unit with device_softc in scsi_link. Change argument to foostart()
to void*.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 30 21:49:18 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
be more careful with types, also pull in headers where necessary.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 20 20:31:26 1994 UTC (30 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
First cut at making user-level SCSI commands work. This is untested.
Partly from John Brezak.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:42:55 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 11 03:54:02 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -14
lines
Fix various types. Remove some outdated flags.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Mar 29 04:29:25 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +389 -926
lines
New SCSI system, based on Julian's more recent work.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Wed Feb 16 02:40:46 1994 UTC (30 years, 10 months ago) by mycroft
Diff to: previous 1.4.2.2: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +22 -29
lines
More KNF-like.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Dec 17 08:50:45 1993 UTC (31 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -4
lines
Canonicalize all #includes.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 29 05:00:19 1993 UTC (31 years ago) by mycroft
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +214 -252
lines
Converted. Needs testing.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 24 05:02:58 1993 UTC (31 years ago) by mycroft
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +361 -884
lines
Under construction...
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 1 19:26:19 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 31 12:28:20 1993 UTC (31 years, 4 months ago) by cgd
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -3
lines
give names, err, wmesg's, to my "pain" -- i.e. convert sleep() to tsleep()
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 03:46:22 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -12
lines
add rcsids and clean up file headers
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Apr 20 10:51:53 1993 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
Display more meaningful message on SCSI `unit attention'.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:04:42 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
after 0.2.2 "stable" patches applied
CVSweb <webmaster@jp.NetBSD.org>