CVS log for src/sys/dev/scsipi/atapi_base.c
Up to [cvs.NetBSD.org] / src / sys / dev / scsipi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.29.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:32 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -2
lines
Sync with HEAD
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Feb 3 03:19:28 2019 UTC (5 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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,
netbsd-10-base,
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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
HEAD
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2
lines
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
Revision 1.28.44.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:32 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +3 -3
lines
update from HEAD
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:28 2014 UTC (10 years, 2 months ago) by snj
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
Revision 1.26.70.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:50 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +4 -11
lines
Sync with HEAD.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:45 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +2 -9
lines
sync with head.
Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:05 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +2 -9
lines
sync with head.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:57 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
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,
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,
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-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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-premerge-20101231,
matt-mips64-base2,
khorben-n900,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
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,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver,
ad-audiomp2-base,
ad-audiomp2
Branch point for: tls-maxphys
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Apr 5 15:47:00 2008 UTC (16 years, 9 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.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
use aprint_*_dev and device_xname
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:50 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
post-newlock2-merge,
peter-altq-base,
peter-altq,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
newlock2,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
cube-autoconf-base,
cube-autoconf,
chap-midi-nbase,
chap-midi-base,
chap-midi,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: mjf-devfs2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
merge ktrace-lwp.
Revision 1.18.16.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:47 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.16.6: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.16.6: +3 -3
lines
Sync with HEAD. Here we go again...
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun May 29 22:00:50 2005 UTC (19 years, 7 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,
yamt-lazymbuf,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
- Sprinkle const
- Avoid variable shadowing.
- Eliminate some caddr_t abuse.
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:16 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +3 -3
lines
sync with -current
Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:47 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +3 -3
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.18.16.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:32 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.16.5: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.5: +3 -3
lines
Sync with HEAD.
Hi Perry!
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Feb 21 00:29:07 2005 UTC (19 years, 10 months ago) by thorpej
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
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
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.18.16.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:33:21 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.16.4: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.4: +2 -2
lines
Fix the sync with head I botched.
Revision 1.18.16.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:51:24 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.16.3: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.3: +6 -24
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Sep 17 23:30:22 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -24
lines
Change the way bustype_cmd is used. Rather than having it be responsible for
calling scsipi_make_xs() and scsipi_execute_xs(), instead push these into
scsipi_command. Make bustype_cmd and PHOLD/PRELE be called from
scsipi_execute_xs(). This allows us to create a xfer structure -- possibly on
the stack -- and call scsipi_execute_xs() directly.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 11 12:47:55 2004 UTC (20 years, 4 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.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +10 -15
lines
Pull up revisions 1.21-1.22 (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.22: download - view: text, markup, annotated - select for diffs
Thu Sep 9 19:35:30 2004 UTC (20 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -9
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.18.16.3: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:38 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.16.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.2: +4 -10
lines
Sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Aug 27 20:37:28 2004 UTC (20 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -10
lines
Improve handling of memory shortage, to fix problems like:
sd3(mpt0:0:1:0): unable to allocate scsipi_xfer
sd3: not queued, error 12
Havard Eidnes's analysis of this problem is that the scsipi_xfer pool is
competing for resources with other pools, including the the inode and vnode
pools which can grow quite large.
*_scsipi_cmd(): don't biodone the buffer if scsipi_make_xs() fails, let the
caller deal with the problem
start function of block devices drivers: dequeue the buffer after the
scsipi_command() call. If scsipi_command() fails with ENOMEM don't dequeue
the buffer, and schedule a callout to call the start function after
some delay.
scsipi_init(): prime the scsipi_xfer_pool with one page. This ensure that
there is always some scsipi_xfer to play with. If scsipi_command() fails
because of pool_get(), we're sure there will be resources available later,
when the pending commands have completed.
Reviewed by Jason Thorpe and Havard Eidnes.
Todo: remove the "unable to allocate scsipi_xfer" and "not queued, error %d"
printfs, but I choose to keep them for now, to help make sure the code does
what it should.
Revision 1.18.16.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:43 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.16.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.1: +7 -17
lines
Sync with HEAD.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Aug 21 17:40:25 2004 UTC (20 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -17
lines
Use ANSI function decls and make use of static.
Revision 1.18.16.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:51:12 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -4
lines
Sync with HEAD
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Mar 10 21:57:31 2004 UTC (20 years, 10 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -4
lines
Decrease xs_retries before retrying aborted commands, and report EIO if it
reaches 0. Avoids looping on aborded command in some special cases.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:58:15 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -2
lines
Sync kqueue branch with -current.
Revision 1.14.14.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:44 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.14.14.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.14.2: +2 -3
lines
Catch up to -current.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:16 2001 UTC (23 years, 2 months ago) by lukem
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,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base,
eeh-devprop-base,
eeh-devprop
Branch point for: ktrace-lwp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3
lines
don't need <sys/types.h> when including <sys/param.h>
Revision 1.14.14.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:00 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.14.14.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.14.1: +4 -1
lines
Catch up to -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Nov 13 06:56:38 2001 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1
lines
add RCSIDs
Revision 1.14.14.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:05:38 2001 UTC (23 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +32 -85
lines
Catch up to -current.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 14 20:35:27 2001 UTC (23 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: kqueue
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -47
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.15: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:38 2001 UTC (23 years, 8 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +40 -47
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.11.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:34:27 1999 UTC (25 years, 1 month ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -2
lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other
source code). Please do not try to modify the branch, this is just for
referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 1 22:54:17 1999 UTC (25 years, 2 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +5 -5
lines
Fixup the SC_DEBUG() stuff for the new world order.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:39:25 1999 UTC (25 years, 3 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +36 -43
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.14: download - view: text, markup, annotated - select for diffs
Thu Sep 30 22:57:52 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
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,
minoura-xpg4dl-base,
minoura-xpg4dl,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase
Branch point for: thorpej_scsipi,
nathanw_sa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -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.13: download - view: text, markup, annotated - select for diffs
Sat Aug 28 22:28:35 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -2
lines
If scsipi_make_xs() fails, make sure to flag the buffer as error'd,
if provided, and biodone() it. Callers of scsipi_command() expect
this to be done.
Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:36:50 1999 UTC (25 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -2
lines
Sync w/ -current.
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 25 20:38:20 1999 UTC (25 years, 6 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -2
lines
pullup 1.11->1.12 (thorpej): Go to splbio() when calling scsipi_free_xs()
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jun 25 18:58:54 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2
lines
Go to splbio() when calling scsipi_free_xs(), just like the SCSI counterpart.
Fixes PR #7853, Paul Dokas <dokas@cs.umn.edu>.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Nov 17 14:45:39 1998 UTC (26 years, 2 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
kenh-if-detach-base,
kenh-if-detach,
kame_14_19990705,
kame_14_19990628,
bouyer-ide-last-dist
Branch point for: netbsd-1-4,
kame,
chs-ubc2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -3
lines
In atapi_wdc.c, issue a 'REQUEST SENSE' command when appropriate.
Return XS_SENSE when the full sense info has been retrieved, or
XS_SHORTSENSE if only the sense key was available (from the error register)
Make atapi_interpret_sense() deal with this, and call scsipi_interpret_sense()
for XS_SENSE. (XXX sd_interpret_sense() and the ioctl code needs to be made
aware of XS_SHORTSENSE too ! sense hanlding for these is now less broken for
devices that support 'REQUEST SENSE')
All the ATAPI devices I have access to seems to honnor the SENSE_REQUEST
command, but I suspect some ATAPI devices will not (althouh it's mandatory).
The code should be able to deal with this, but is untested ...
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 12 16:09:23 1998 UTC (26 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Merge bouyer-ide
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 2 18:12:49 1998 UTC (26 years, 3 months ago) by bouyer
Branches: bouyer-ide
CVS tags: bouyer-ide-merge
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +282 -0
lines
When printing the error message, also print the channel with the contrller
name and drive number.
Revision 1.9.2.1
Sat Aug 15 10:10:55 1998 UTC (26 years, 5 months ago) by bouyer
Branches: bouyer-ide
FILE REMOVED
Changes since revision 1.9: +0 -282
lines
file atapi_base.c was added on branch bouyer-ide on 1998-10-02 18:12:49 +0000
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 15 10:10:55 1998 UTC (26 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: bouyer-ide-base
Branch point for: bouyer-ide
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +23 -20
lines
Assign my copyrights to TNF.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jul 15 20:13:31 1998 UTC (26 years, 6 months ago) by mjacob
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
part of fix for kern/3835: use of enumerated returns from target sense handlers
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 11 00:52:09 1998 UTC (26 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Clarify that Sense Key 1 is a "RECOVERED ERROR"- not just an error.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 1 17:16:47 1998 UTC (26 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -12
lines
Use new Sense Key defines (for clarity)
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 15 02:21:27 1998 UTC (27 years ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +48 -3
lines
add support for an ATAPI attachment for 'sd'.
fix 'cd' driver's NCD_SCSI bogosity (was using testing wrong macro!)
clean up in various ways:
* make common atapi_mode_{sense,select}() functions.
* put ATAPI data structures in more sensible headers, split up by
device type.
* include headers a bit more carefully.
* pass flags to attachment-specific cd functions, and use them.
* get rid of SCSI bits in scsipi_base.h's scsipi_make_xs(), move
them into the correct place in scsi_base.c.
* fix minor typo in struct name in scsipiconf.h (which was apparently
never used except in a #define later in the same file).
* use __attribute__ to force 4-byte alignment for xs command store,
so that architectures trying to bus_space_write_multi_N() (where
N > 1) that data to a controller won't lose.
* clean up a few comments in typos, and make a few #defines easier to
understand/maintain.
* rename cd_link.h to cdvar.h (via repository copy). This is exactly
what a 'var' file is supposed to be.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 30 21:36:55 1997 UTC (27 years ago) by is
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
EACCESS->EROFS, for the write on readonly medium error.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:24:38 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +14 -14
lines
Update marc-pcmcia branch from trunk.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 1 01:18:38 1997 UTC (27 years, 3 months ago) by enami
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,
marc-pcmcia-base
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -14
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.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 23:32:53 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +234 -0
lines
Update marc-pcmcia branch from trunk.
Revision 1.2.2.1
Wed Aug 27 11:26:13 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
FILE REMOVED
Changes since revision 1.2: +0 -234
lines
file atapi_base.c was added on branch marc-pcmcia on 1997-08-27 23:32:53 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:26:13 1997 UTC (27 years, 4 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal
Branch point for: marc-pcmcia
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +234 -0
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.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 1 23:19:46 1997 UTC (27 years, 6 months ago) by thorpej
Branches: bouyer-scsipi
Diff to: previous 1.1.2.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +9 -6
lines
Purely cosmetic formatting changes: some spaces -> tabs, indenting
consistency in prototypes.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 1 16:46:56 1997 UTC (27 years, 6 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +231 -0
lines
New merged scsi/atapi code. Tested on i386 and sparc. Commiting to a branch
for now, so that it can be tested on other ports too.
The config sheme is as follow:
New merged scsi/atapi code. Tested on i386 and sparc. Commiting to a branch
for now, so that it can be tested on other ports too.
The config sheme is as follow:
scsibus at aha
sd at scsibus
cd at scsibus
atapibus at wdc
cd at atapibus
cd has bus-specific config and function front-end in scsicd.c and atapicd.c
The call to theses functions from cd.c is conditionned to
NSCSICD and NATAPICD (all defined in cd.h by config).
Revision 1.1
Tue Jul 1 16:46:56 1997 UTC (27 years, 6 months ago) by bouyer
Branches: MAIN
Branch point for: bouyer-scsipi
FILE REMOVED
file atapi_base.c was initially added on branch bouyer-scsipi.
CVSweb <webmaster@jp.NetBSD.org>