Up to [cvs.NetBSD.org] / src / sys / dev / scsipi
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.269 / (download) - annotate - [select for diffs], Tue Aug 21 14:19:02 2012 UTC (9 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.268: +18 -2
lines
Diff to previous 1.268 (colored)
If the controller supports more than 256 commands per target, clamp it to 256 (maximum number of tags in SCSI). Newer controllers (such as mpii(4), and mfi(4) when fixed to announce tagged queuing support) support more than 256 outstanding commands and don't use the scsi tag, but at this time scsipi will always allocate a tag, and panic if a periph tries to send more than 256 commands.
Revision 1.268 / (download) - annotate - [select for diffs], Sun May 13 01:03:13 2012 UTC (12 months, 1 week ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base10
Changes since 1.267: +9 -4
lines
Diff to previous 1.267 (colored)
Fix locking issue triggered by drvctr -r of a scsibus(4). Pullup to netbsd-6 should be requested.
Revision 1.267 / (download) - annotate - [select for diffs], Fri Apr 20 20:23:21 2012 UTC (13 months ago) by bouyer
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.266: +6 -2
lines
Diff to previous 1.266 (colored)
Add a bustype_async_event_xfer_mode() callback to scsipi_bustype (which can be NULL), so that transport-specific details of transfer mode setting/printing can be handled more easily. Move scsipi_async_event_xfer_mode() and scsipi_print_xfer_mode() to scsi_base.c and split in parallel scsi and FC/SAS parts. size of struct scsipi_bustype has changed, welcome to 6.99.5
Revision 1.266 / (download) - annotate - [select for diffs], Thu Apr 19 17:45:20 2012 UTC (13 months ago) by bouyer
Branch: MAIN
Changes since 1.265: +29 -4
lines
Diff to previous 1.265 (colored)
Expand struct scsipi_bustype {} in a ABI-backward-compatible way to
pass more informations about the bus:
- bustype_type has 2 different bytes, one holding the existing
SCSIPI_BUSTYPE_* (scsi, atapi, ata), and one for a per-SCSIPI_BUSTYPE_*
subtype. Introduce macros to build or extract bustype_type.
- for SCSIPI_BUSTYPE_SCSI, define subtypes for parallel SCSI, Fibre Channel,
SAS and USB, to specify the transport method. SCSIPI_BUSTYPE_SCSI_PSCSI
is 0 so that bustype_type value doesn't change for existing code
- for non-SCSIPI_BUSTYPE_SCSI busses there's no defined subtype yet,
so the bustype_type value doesn't change.
- provide scsi_fc_bustype, scsi_sas_bustype and scsi_usb_bustype
along with scsi_bustype to be used by bus driver where appropriate
- scsipi_print_xfer_mode(): more existing code under a
(SCSIPI_BUSTYPE_SCSI, SCSIPI_BUSTYPE_SCSI_PSCSI) case, as
sync/wide parameters only make sense for parallel SCSI.
For (SCSIPI_BUSTYPE_SCSI, SCSIPI_BUSTYPE_SCSI_FC) and
(SCSIPI_BUSTYPE_SCSI, SCSIPI_BUSTYPE_SCSI_SAS), only print
tagged queing status if enabled. Just be silent for other
bustypes.
This change is prompted by this problem:
right now, FC (e.g. isp(4)) and SAS (e.g. mfi(4)) don't
do anything for ADAPTER_REQ_SET_XFER_MODE, and especially never
call scsipi_async_event(ASYNC_EVENT_XFER_MODE), so sd(4) always
runs untagged. Doing a scsipi_async_event(ASYNC_EVENT_XFER_MODE) with
appropriate parameters is enough to enable tagged queuing,
but then scsipi will print:
sd0: async, 8-bit transfers, tagged queueing
which is harmless (async, 8-bit transfers doens't make sense on SAS anyway)
but will confuse users. With this change scsipi will only print:
sd0: tagged queueing
which is correct.
In the long run, knowning the underlying transport in scsipi will
allow better handling of device which are not parallel SCSI.
Another change adding an extra callback to struct scsipi_bustype {}
will come (so that scsipi_print_xfer_mode(), which is SCSI-specific,
can be moved out of scsipi_base, and split into per-subtype callback),
but this will break kernel ABI and so is not suitable for
netbsd-6, so will be commmited later. The above is enough to get
tagged queuing on FC and SAS in netbsd-6.
Revision 1.265 / (download) - annotate - [select for diffs], Fri Apr 6 22:50:39 2012 UTC (13 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.264: +4 -2
lines
Diff to previous 1.264 (colored)
Add a quirk for the Apple iPod whose mode sense commands fails with not ready. Seems to work just fine if we send a start command first...
Revision 1.264 / (download) - annotate - [select for diffs], Mon Mar 12 02:44:16 2012 UTC (14 months, 1 week ago) by mrg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8
Changes since 1.263: +14 -3
lines
Diff to previous 1.263 (colored)
take the kernel lock a few more places when doing detach, to avoid triggering KERNEL_LOCK_P() asserts in both scsi and usb code. with this and other recent fixes i can now "drvctl -d ehci0".
Revision 1.263 / (download) - annotate - [select for diffs], Sun Mar 11 02:16:55 2012 UTC (14 months, 1 week ago) by mrg
Branch: MAIN
Changes since 1.262: +8 -2
lines
Diff to previous 1.262 (colored)
scsidevdetached ioctl path enters scsipi code without kernel lock and this upsets the newer kasserts. take kernel lock here.
Revision 1.262 / (download) - annotate - [select for diffs], Tue Apr 26 07:41:18 2011 UTC (2 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
netbsd-6-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
netbsd-6,
jmcneill-usbmp
Changes since 1.261: +12 -11
lines
Diff to previous 1.261 (colored)
Fixup previous. The bug was in scsibusdetach(), which is not doing things in the proper order: it has to detach its children and check for error. If no error, then it can release the resources that the children were using. From David Young via source-changes-d.
Revision 1.261 / (download) - annotate - [select for diffs], Mon Apr 25 14:14:22 2011 UTC (2 years ago) by hannken
Branch: MAIN
Changes since 1.260: +4 -2
lines
Diff to previous 1.260 (colored)
Don't kill outstanding requests when detaching a scsibus on shutdown. Both the controller and tyhe targets are still running.
Revision 1.260 / (download) - annotate - [select for diffs], Mon Apr 18 01:47:28 2011 UTC (2 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.259: +26 -14
lines
Diff to previous 1.259 (colored)
Replace few simple_lock and ltsleep/wakeup uses with mutex(9) and condvar(9). Note to all: please replace old primitives in your code! Thanks.
Revision 1.259 / (download) - annotate - [select for diffs], Sat Apr 2 20:52:10 2011 UTC (2 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.258: +5 -3
lines
Diff to previous 1.258 (colored)
Add a quirks entry for Seagate SX173404LC drives, now they will work at higher speeds than 8bit/async While there, also disable sync for ZIP drives - at least some of them will pretend to support sync and then act up.
Revision 1.258 / (download) - annotate - [select for diffs], Mon Jun 7 01:41:39 2010 UTC (2 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.257: +2 -4
lines
Diff to previous 1.257 (colored)
Update scsiverbose module to use module_autoload() rather than module_load(). Load the module right before each attempt to use its features, and let the module subsystem handle unloading.
Revision 1.257 / (download) - annotate - [select for diffs], Sun May 30 04:38:04 2010 UTC (2 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.256: +4 -2
lines
Diff to previous 1.256 (colored)
Extract SCSIVERBOSE into a kernel module. The module can be builtin by defining 'options SCSIVERBOSE' in the kernel config file (no change from current behavior), or it can be loaded at boot time on those architectures that support the boot loader's "load" command. The module is built for all architectures, whether or not SCSI or atapi support exists.
Revision 1.256 / (download) - annotate - [select for diffs], Tue Apr 27 18:55:12 2010 UTC (3 years ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.255: +8 -8
lines
Diff to previous 1.255 (colored)
For clarity of scsidevdetached(), rename some variables: sc -> self, dev -> child, ssc -> sc.
Revision 1.255 / (download) - annotate - [select for diffs], Thu Nov 12 19:44:17 2009 UTC (3 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.254: +3 -40
lines
Diff to previous 1.254 (colored)
Remove superfluous activation hooks.
Revision 1.254 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:05 2009 UTC (3 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.253: +3 -4
lines
Diff to previous 1.253 (colored)
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.253 / (download) - annotate - [select for diffs], Tue May 12 14:44:31 2009 UTC (4 years ago) by cegger
Branch: 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
Changes since 1.252: +15 -15
lines
Diff to previous 1.252 (colored)
struct device * -> device_t, no functional changes intended.
Revision 1.252 / (download) - annotate - [select for diffs], Tue May 12 13:20:33 2009 UTC (4 years ago) by cegger
Branch: MAIN
Changes since 1.251: +5 -5
lines
Diff to previous 1.251 (colored)
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.251 / (download) - annotate - [select for diffs], Tue Apr 7 18:35:17 2009 UTC (4 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.250: +4 -4
lines
Diff to previous 1.250 (colored)
Detach atapibus(4), scsibus(4), cd(4), and sd(4) during shutdown. Destroy sd->sc_callout in sddetach(). Delete some dead code in cddetach().
Revision 1.250 / (download) - annotate - [select for diffs], Wed Jul 16 18:50:58 2008 UTC (4 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
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-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,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
jym-xensuspend
Changes since 1.249: +13 -12
lines
Diff to previous 1.249 (colored)
split device/softc for scsibus
Revision 1.249 / (download) - annotate - [select for diffs], Thu Jul 3 13:22:31 2008 UTC (4 years, 10 months ago) by hannken
Branch: MAIN
Branch point for: haad-dm
Changes since 1.248: +4 -2
lines
Diff to previous 1.248 (colored)
The Intel SCA backplane "ESG-SHV" does not support logical units.
Revision 1.248 / (download) - annotate - [select for diffs], Sun Jun 8 18:18:34 2008 UTC (4 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.247: +11 -7
lines
Diff to previous 1.247 (colored)
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.247 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:57 2008 UTC (5 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.246: +2 -9
lines
Diff to previous 1.246 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.246 / (download) - annotate - [select for diffs], Sat Apr 5 15:47:01 2008 UTC (5 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.245: +11 -12
lines
Diff to previous 1.245 (colored)
use aprint_*_dev and device_xname
Revision 1.245 / (download) - annotate - [select for diffs], Fri Jan 4 21:18:05 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.244: +3 -3
lines
Diff to previous 1.244 (colored)
Start detangling lock.h from intr.h. This is likely to cause short term breakage, but the mess of dependencies has been regularly breaking the build recently anyhow.
Revision 1.244 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:22 2007 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
vmlocking2-base3,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.243: +6 -2
lines
Diff to previous 1.243 (colored)
Merge jmcneill-pm branch.
Revision 1.243 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:42 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base,
yamt-idlelwp-base8,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
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-pm-base,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-kmem,
vmlocking2,
mjf-devfs,
matt-armv6,
jmcneill-pm
Changes since 1.242: +3 -3
lines
Diff to previous 1.242 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.242 / (download) - annotate - [select for diffs], Sat Feb 17 17:01:29 2007 UTC (6 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.241: +4 -2
lines
Diff to previous 1.241 (colored)
The SEAGATE ST318203LSUN18G announces DT only capabilitie although it also supports ST. Because of this the HBA doesn't initiate sync/wide negotiation, so add PQUIRK_CAP_SYNC | PQUIRK_CAP_WIDE16 for this drive; fix problem reported by Havard Eidnes.
Revision 1.241 / (download) - annotate - [select for diffs], Thu Nov 30 17:39:25 2006 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base
Branch point for: yamt-idlelwp,
netbsd-4
Changes since 1.240: +4 -2
lines
Diff to previous 1.240 (colored)
Add a quirk for Initio drives (from Rhialto)
Revision 1.240 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:26 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.239: +9 -9
lines
Diff to previous 1.239 (colored)
__unused removal on arguments; approved by core.
Revision 1.239 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:57 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.238: +10 -7
lines
Diff to previous 1.238 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.238 / (download) - annotate - [select for diffs], Sun Sep 3 05:18:03 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.237: +3 -3
lines
Diff to previous 1.237 (colored)
add missing initializer
Revision 1.237 / (download) - annotate - [select for diffs], Tue Aug 29 20:40:23 2006 UTC (6 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.236: +4 -2
lines
Diff to previous 1.236 (colored)
The Fujitsu drive in my A540 supports sync transfers but apparently doesn't advertise this in INQUIRY. It makes it nice and obvious with SDTR, though, so add it to the list.
Revision 1.236 / (download) - annotate - [select for diffs], Thu Mar 30 16:09:28 2006 UTC (7 years, 1 month ago) by thorpej
Branch: 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
Changes since 1.235: +5 -5
lines
Diff to previous 1.235 (colored)
Use device_private().
Revision 1.235 / (download) - annotate - [select for diffs], Wed Mar 29 06:00:46 2006 UTC (7 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.234: +4 -4
lines
Diff to previous 1.234 (colored)
Replace device_locators() with device_locator(), and use it.
Revision 1.234 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:50 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.233: +6 -6
lines
Diff to previous 1.233 (colored)
merge ktrace-lwp.
Revision 1.233 / (download) - annotate - [select for diffs], Sat Nov 26 13:54:18 2005 UTC (7 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-readahead-base3,
ktrace-lwp-base
Changes since 1.232: +3 -3
lines
Diff to previous 1.232 (colored)
Fix typo (FALLTHOUGH -> FALLTHROUGH). From Jeff Ito.
Revision 1.232 / (download) - annotate - [select for diffs], Thu Aug 25 22:33:19 2005 UTC (7 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.231: +3 -20
lines
Diff to previous 1.231 (colored)
kill a number of autoconf submatch functions which follow the standard scheme: if (<configured> != <wildcard> && <configured> != <real>) then fail else ask device match function This is handled by config_stdsubmatch() now.
Revision 1.231 / (download) - annotate - [select for diffs], Thu Aug 25 18:35:40 2005 UTC (7 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.230: +10 -12
lines
Diff to previous 1.230 (colored)
replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
Revision 1.230 / (download) - annotate - [select for diffs], Mon May 30 04:25:32 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.229: +5 -5
lines
Diff to previous 1.229 (colored)
- remove bogus casts - add more const
Revision 1.229 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:48 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
kent-audio2-base
Branch point for: netbsd-3
Changes since 1.228: +8 -8
lines
Diff to previous 1.228 (colored)
nuke trailing whitespace
Revision 1.228 / (download) - annotate - [select for diffs], Tue Feb 1 00:19:34 2005 UTC (8 years, 3 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.227: +3 -3
lines
Diff to previous 1.227 (colored)
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.227 / (download) - annotate - [select for diffs], Mon Jan 31 23:06:41 2005 UTC (8 years, 3 months ago) by reinoud
Branch: MAIN
Changes since 1.226: +5 -5
lines
Diff to previous 1.226 (colored)
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.226 / (download) - annotate - [select for diffs], Sat Aug 21 21:29:39 2004 UTC (8 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.225: +43 -73
lines
Diff to previous 1.225 (colored)
Use ANSI function decls and make use of static.
Revision 1.225 / (download) - annotate - [select for diffs], Wed Aug 18 11:50:59 2004 UTC (8 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.224: +53 -15
lines
Diff to previous 1.224 (colored)
Use the new autoconf functions to rescan busses and detach devices on user request. This duplicates the functionality provided by a private ioctl interface (accessible through scsictl(8)), but in a more generic way.
Revision 1.224 / (download) - annotate - [select for diffs], Thu Aug 12 14:36:46 2004 UTC (8 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.223: +4 -4
lines
Diff to previous 1.223 (colored)
Whoops. Swap the order of the delref() and the config_pending_decr().
Revision 1.223 / (download) - annotate - [select for diffs], Tue Aug 10 15:46:44 2004 UTC (8 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.222: +8 -3
lines
Diff to previous 1.222 (colored)
Hold a reference to the adapter until scsibus_config() has been called. This avoids an extra enable/disable cycle on removable controllers (i.e. PCMCIA).
Revision 1.222 / (download) - annotate - [select for diffs], Fri Aug 6 09:27:43 2004 UTC (8 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.221: +6 -3
lines
Diff to previous 1.221 (colored)
Ops, don't return before the end of the function. Catched by enami tsugutomo.
Revision 1.221 / (download) - annotate - [select for diffs], Thu Aug 5 19:45:13 2004 UTC (8 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.220: +28 -5
lines
Diff to previous 1.220 (colored)
scsi_kill_pending(): don't kill the commands in periph_xferq here. The controller is handling them, calling scsipi_done() here will end up in the xfer being scsipi_done()'ed a second time when it completes in the controller code. In addition, the way the loop was done here would end up in an infinite loop, because the channel kernel thread needs to run to remove a command from this queue. scsibusdetach(): scsipi_done() all commands from periph_xferq. The controller is already gone, and these commands will never complete. Shut down the channel (which will cause the kenrel thread to exit) after detaching the childs, as they will need the kernel thread for scsipi_wait_drain(). Fix kernel hang or deadlock when detaching devices (either by scsictl detach or unplug) with active commands.
Revision 1.220 / (download) - annotate - [select for diffs], Fri Mar 12 23:00:40 2004 UTC (9 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0
Branch point for: netbsd-2
Changes since 1.219: +4 -2
lines
Diff to previous 1.219 (colored)
Add a drive with broken tagged queuing support. From Jim Faulkner. Fix PR kern/23815.
Revision 1.219 / (download) - annotate - [select for diffs], Sun Feb 22 07:26:15 2004 UTC (9 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.218: +2 -14
lines
Diff to previous 1.218 (colored)
Remove PQUIRK_CDROM. It is definitely not correct -- witness that no other OS needs such a hack, and the same drive works fine on Suns -- and is much more likely to be a bug in the host adapter driver (which is corroborated by the PQUIRK_NOLUNS).
Revision 1.218 / (download) - annotate - [select for diffs], Fri Oct 10 18:04:46 2003 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.217: +2 -6
lines
Diff to previous 1.217 (colored)
Remove a quirk I added for a Hitachi drive.
Revision 1.217 / (download) - annotate - [select for diffs], Thu Sep 18 05:06:53 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.216: +4 -4
lines
Diff to previous 1.216 (colored)
Don't print junk if an INQUIRY fails (usually with an ILLEGAL REQUEST due to an unused LUN). Also, if the qualifier says the LUN is non-existant, don't try to attach a device here.
Revision 1.216 / (download) - annotate - [select for diffs], Fri Sep 12 16:39:25 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.215: +2 -5
lines
Diff to previous 1.215 (colored)
Some devices really want INQUIRY to be the first command they receive. Also, the result of the extra TEST UNIT READY was being ignored anyway. So, I wrote it, I nuke it.
Revision 1.215 / (download) - annotate - [select for diffs], Wed Sep 10 05:35:50 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.214: +6 -6
lines
Diff to previous 1.214 (colored)
Set up the blank fields in the INQUIRY buffer *before* executing the command -- because we can't really rely on the "additional length" being correct (any more?). Fixes some problems with devices showing up as "<, , >".
Revision 1.214 / (download) - annotate - [select for diffs], Tue Sep 9 03:57:57 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.213: +3 -8
lines
Diff to previous 1.213 (colored)
Remove NOMODESENSE quirks for Iomega drives -- they're totally unneeded.
Revision 1.213 / (download) - annotate - [select for diffs], Tue Sep 9 03:01:27 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.212: +2 -6
lines
Diff to previous 1.212 (colored)
Delete the NOMODESENSE quirks for Maxtor USB hard drives, as these are no doubt resolved (and were never actually needed in the first place -- someone was let out without supervision).
Revision 1.212 / (download) - annotate - [select for diffs], Tue Sep 9 02:37:55 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.211: +3 -6
lines
Diff to previous 1.211 (colored)
Exorcise PQUIRK_NODOORLOCK.
Revision 1.211 / (download) - annotate - [select for diffs], Mon Sep 8 23:43:05 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.210: +2 -4
lines
Diff to previous 1.210 (colored)
There is absolutely no sense in having a PQUIRK_NODOORLOCK entry for a non-removable device. Nuke it.
Revision 1.210 / (download) - annotate - [select for diffs], Mon Sep 8 19:57:29 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.209: +2 -4
lines
Diff to previous 1.209 (colored)
If maxlun>0, automatically set PQUIRK_FORCELUNS, rather than using quirk table entries.
Revision 1.209 / (download) - annotate - [select for diffs], Mon Sep 8 18:51:35 2003 UTC (9 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.208: +6 -14
lines
Diff to previous 1.208 (colored)
Do a START UNIT only if the TEST UNIT READY reports that the device is not ready. This avoids gratuitously starting the motor on floppy and CD-ROM drives, and eliminates the need for the audio playing test in cdopen(). Therefore, also remove PQUIRK_NOSTARTUNIT.
Revision 1.208 / (download) - annotate - [select for diffs], Thu Aug 7 17:54:26 2003 UTC (9 years, 9 months ago) by jrf
Branch: MAIN
Changes since 1.207: +10 -2
lines
Diff to previous 1.207 (colored)
Added three scsi IDs which were tested by Dave Barnes who sent in three PRs regarding them: 17836, 17837, 17838. Did a few kernel compiles with them just to make sure they are okay. Approved by christos@, thanks to Dave for sending the PRs and verifying to me that they work.
Revision 1.207 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:40 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.206: +7 -7
lines
Diff to previous 1.206 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.206 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:43 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.205: +9 -9
lines
Diff to previous 1.205 (colored)
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.205 / (download) - annotate - [select for diffs], Tue May 13 03:02:36 2003 UTC (10 years ago) by thorpej
Branch: MAIN
Changes since 1.204: +11 -8
lines
Diff to previous 1.204 (colored)
Use aprint*().
Revision 1.204 / (download) - annotate - [select for diffs], Fri May 2 12:27:49 2003 UTC (10 years ago) by fvdl
Branch: MAIN
Changes since 1.203: +4 -2
lines
Diff to previous 1.203 (colored)
Local change I had lying around: add NOLUNS quirk for an older seagate drive.
Revision 1.203 / (download) - annotate - [select for diffs], Mon Apr 21 18:07:14 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.202: +5 -2
lines
Diff to previous 1.202 (colored)
Add another IBM drive that incorrectly reports DT only.
Revision 1.202 / (download) - annotate - [select for diffs], Sat Apr 19 19:16:06 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.201: +9 -3
lines
Diff to previous 1.201 (colored)
Add a PCAP_NODT quirk. I have two older Quantum Atlas drives that work fine at U2W, but barf at U160, with different controllers. Unfortunately sometimes just being initialized at U160 does the trick, so setting them to lower speed in the BIOS may also be needed.
Revision 1.201 / (download) - annotate - [select for diffs], Fri Mar 14 22:17:14 2003 UTC (10 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.200: +10 -11
lines
Diff to previous 1.200 (colored)
Move the SCSI_DELAY before the serialization for probe. multiple SCSI busses can sleep, only probes have to be keept ordered.
Revision 1.200 / (download) - annotate - [select for diffs], Mon Feb 10 08:10:51 2003 UTC (10 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.199: +2 -4
lines
Diff to previous 1.199 (colored)
Remove NOTAG quirk for the Seagate ST11200N; the cause of the failure that prompted this entry was actually a driver bug.
Revision 1.199 / (download) - annotate - [select for diffs], Sat Feb 1 21:38:09 2003 UTC (10 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.198: +4 -2
lines
Diff to previous 1.198 (colored)
Add PQUIRK_NOLUNS entry for "NEC ", "CD-ROM DRIVE:502". Fixes PR kern/18479
Revision 1.198 / (download) - annotate - [select for diffs], Mon Jan 27 18:55:24 2003 UTC (10 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.197: +3 -3
lines
Diff to previous 1.197 (colored)
Remove revision in quirk entry for TOSHIBA XM-4101TASUNSLCD. The same drive with a newer revision also fails, so assume all revisions are bad until proven otherwise. Should fix PR kern/19912.
Revision 1.197 / (download) - annotate - [select for diffs], Thu Jan 9 12:25:00 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base
Changes since 1.196: +6 -2
lines
Diff to previous 1.196 (colored)
Add two disks capable of doing synchronous transfer mode, but don't report SCSI2: "MICROP 1924" and "FUJITSU M2266"
Revision 1.196 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:25 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.195: +6 -6
lines
Diff to previous 1.195 (colored)
Use aprint_normal() in cfprint routines.
Revision 1.195 / (download) - annotate - [select for diffs], Thu Dec 5 10:39:58 2002 UTC (10 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Changes since 1.194: +4 -2
lines
Diff to previous 1.194 (colored)
Add NOLUNS|NOSYNC quirk for NEC CD-ROM DRIVE:222. Change sent in PR kern/19286 by Dave Barnes.
Revision 1.194 / (download) - annotate - [select for diffs], Wed Oct 23 09:13:47 2002 UTC (10 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.193: +3 -3
lines
Diff to previous 1.193 (colored)
merge kqueue branch into -current kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.193 / (download) - annotate - [select for diffs], Fri Oct 4 17:53:33 2002 UTC (10 years, 7 months ago) by soren
Branch: MAIN
CVS Tags: kqueue-beforemerge
Changes since 1.192: +7 -31
lines
Diff to previous 1.192 (colored)
Slightly simplicy the SCSI device attachment message: - Use the plain words 'disk' and 'tape' instead of 'direct' and 'sequential'. - Media status will be printed in the frontend, so don't bother with it. - Don't bother printing the SCSI version, which is fixed these days, or the numberic device type.
Revision 1.192 / (download) - annotate - [select for diffs], Wed Oct 2 16:52:52 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.191: +3 -3
lines
Diff to previous 1.191 (colored)
Add trailing ; to CFATTACH_DECL.
Revision 1.191 / (download) - annotate - [select for diffs], Mon Sep 30 23:12:51 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.190: +4 -6
lines
Diff to previous 1.190 (colored)
Use CFATTACH_DECL().
Revision 1.190 / (download) - annotate - [select for diffs], Fri Sep 27 20:41:45 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.189: +3 -3
lines
Diff to previous 1.189 (colored)
Declare all cfattach structures const.
Revision 1.189 / (download) - annotate - [select for diffs], Fri Sep 27 03:18:20 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.188: +3 -3
lines
Diff to previous 1.188 (colored)
Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
Revision 1.188 / (download) - annotate - [select for diffs], Thu Sep 19 08:31:06 2002 UTC (10 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.187: +57 -18
lines
Diff to previous 1.187 (colored)
Force the initial probes to happen within the newly forked off kthread. This eliminates problems where the underlying interrupt handler isn't the specific layer calling scsipi_complete() for a given scsi transaction. This avoids deadlocks where the kthread that called the autoconf routines to configure a scsibus shouldn't be the one put to sleep waiting on a scsipi_complete (only the scsibus's kthread should be doing that). To avoid jitter this will force the scsibus's to probe in the order they run through autoconf (so machines with multiple bus's don't move sd* devices around on every reboot).
Revision 1.187 / (download) - annotate - [select for diffs], Fri Sep 6 13:23:31 2002 UTC (10 years, 8 months ago) by gehenna
Branch: MAIN
Changes since 1.186: +11 -4
lines
Diff to previous 1.186 (colored)
Merge the gehenna-devsw branch into the trunk. This merge changes the device switch tables from static array to dynamically generated by config(8). - All device switches is defined as a constant structure in device drivers. - The new grammer ``device-major'' is introduced to ``files''. device-major <prefix> char <num> [block <num>] [<rules>] - All device major numbers must be listed up in port dependent majors.<arch> by using this grammer. - Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables. - The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa. - The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch. - In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
Revision 1.186 / (download) - annotate - [select for diffs], Fri Aug 2 08:00:36 2002 UTC (10 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.185: +5 -2
lines
Diff to previous 1.185 (colored)
Add yet another broken sony cdrom. This one, in addition to broken LUN handling, has broken sync negotiation. Also add PQUIRK_NOWIDE to be safe. Fix PR kern/17773.
Revision 1.185 / (download) - annotate - [select for diffs], Tue Jul 23 21:10:16 2002 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.184: +6 -2
lines
Diff to previous 1.184 (colored)
Add a quirk for a HITACHI driver (CAP_SYNC|CAP_WIDE16).
Revision 1.184 / (download) - annotate - [select for diffs], Wed May 15 11:43:22 2002 UTC (11 years ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6,
gehenna-devsw
Changes since 1.183: +10 -5
lines
Diff to previous 1.183 (colored)
Change PQUIRK_CAP_SYNC to set PERIPH_CAP_SYNC aslo for devices that improperly claim to only support DT clocking. Add a PQUIRK_CAP_WIDE16 quirk. Add a quirk for IBM DXHS36D SCSI disk (claims to only support DT).
Revision 1.183 / (download) - annotate - [select for diffs], Sun May 5 06:01:28 2002 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.182: +3 -2
lines
Diff to previous 1.182 (colored)
A statement must follow a label.
Revision 1.182 / (download) - annotate - [select for diffs], Tue Apr 23 17:28:43 2002 UTC (11 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.181: +3 -3
lines
Diff to previous 1.181 (colored)
The IBM drive I have here supports DT, but claim version 3 only. So check for version 3, not 4 when looking for DT support. This should be safe as these bits are reserved for older devices, they should be set to 0 when not supported.
Revision 1.181 / (download) - annotate - [select for diffs], Tue Apr 23 09:09:55 2002 UTC (11 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.180: +26 -2
lines
Diff to previous 1.180 (colored)
Report SPC-2 features (DT clocking, quick arbitration and selection, information unit transfers) though periph_cap.
Revision 1.180 / (download) - annotate - [select for diffs], Mon Apr 15 12:40:28 2002 UTC (11 years, 1 month ago) by joda
Branch: MAIN
Changes since 1.179: +4 -2
lines
Diff to previous 1.179 (colored)
Maxtor D040H2 also can't modesense
Revision 1.179 / (download) - annotate - [select for diffs], Mon Apr 1 20:37:41 2002 UTC (11 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.178: +3 -2
lines
Diff to previous 1.178 (colored)
Add a chan_name to struct scsipi_channel, holding the channel's name. Set this to dv_xname for scsibus and atapibus. Set the name of the kernel thread to chan_name instead of controller's name:channel number (so that we can use this name for controller-specific threads).
Revision 1.178 / (download) - annotate - [select for diffs], Sat Mar 16 23:26:34 2002 UTC (11 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: eeh-devprop-base,
eeh-devprop
Changes since 1.177: +4 -2
lines
Diff to previous 1.177 (colored)
add a quirk for some disks I have that don't like tagged queuing.
Revision 1.177 / (download) - annotate - [select for diffs], Wed Jan 23 18:13:08 2002 UTC (11 years, 4 months ago) by uwe
Branch: MAIN
CVS Tags: newlock-base,
newlock,
ifpoll-base,
ifpoll
Changes since 1.176: +4 -2
lines
Diff to previous 1.176 (colored)
Add notag quirk for Seagate "ST11200N SUN1.05".
Revision 1.176 / (download) - annotate - [select for diffs], Sat Dec 29 14:06:18 2001 UTC (11 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.175: +2 -12
lines
Diff to previous 1.175 (colored)
Move some USB device quirks to the umass_quirk table.
Revision 1.175 / (download) - annotate - [select for diffs], Sat Dec 29 13:55:02 2001 UTC (11 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.174: +5 -9
lines
Diff to previous 1.174 (colored)
Remove some quirk entries that are handled in umass_quirk now.
Revision 1.174 / (download) - annotate - [select for diffs], Thu Dec 27 18:57:46 2001 UTC (11 years, 4 months ago) by nathanw
Branch: MAIN
Changes since 1.173: +6 -3
lines
Diff to previous 1.173 (colored)
Use PQUIRK_ONLYBIG for all Olympus cameras, not just the C-1. Use PQUIRK_ONLYBIG for the PQI TravelFlash.
Revision 1.173 / (download) - annotate - [select for diffs], Fri Dec 14 22:15:52 2001 UTC (11 years, 5 months ago) by nathanw
Branch: MAIN
Changes since 1.172: +5 -2
lines
Diff to previous 1.172 (colored)
The Olympus C-1 engine cameras seem to need the PQIRK_ONLYBIG quirk.
Revision 1.172 / (download) - annotate - [select for diffs], Sun Dec 2 22:44:34 2001 UTC (11 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.171: +3 -3
lines
Diff to previous 1.171 (colored)
Clean up attach of wd/atapibus: kill ata_atapi_attach. Change atapibus to use a struct scsipi_channel instead of ata_atapi_attach as attach arch. Create a ata_device, compatible with scsipi_channel, to attach wd.
Revision 1.171 / (download) - annotate - [select for diffs], Mon Nov 26 20:39:29 2001 UTC (11 years, 5 months ago) by fredette
Branch: MAIN
Changes since 1.170: +6 -2
lines
Diff to previous 1.170 (colored)
Added quirk entries for Adaptec and Emulex SCSI interposer boards. Decode a limited set of SASI/SCSI-1 sense codes, and under sun2 only, conjure up INQUIRY responses for these boards.
Revision 1.170 / (download) - annotate - [select for diffs], Mon Nov 19 22:50:00 2001 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.169: +7 -2
lines
Diff to previous 1.169 (colored)
Add a new quirk value PQUIRK_CAP_SYNC for SCSI1 devices which support sync transfers, and set PERIPH_CAP_SYNC for them in scsi_probe_device(). As per discussion on tech-kern.
Revision 1.169 / (download) - annotate - [select for diffs], Mon Nov 19 16:54:20 2001 UTC (11 years, 6 months ago) by soren
Branch: MAIN
Changes since 1.168: +4 -3
lines
Diff to previous 1.168 (colored)
Floptical drive needs PQUIRK_NODOORLOCK as well.
Revision 1.168 / (download) - annotate - [select for diffs], Mon Nov 19 00:22:47 2001 UTC (11 years, 6 months ago) by soren
Branch: MAIN
Changes since 1.167: +4 -2
lines
Diff to previous 1.167 (colored)
Insite Floptical drive needs PQUIRK_NOLUNS.
Revision 1.167 / (download) - annotate - [select for diffs], Sun Nov 18 17:22:43 2001 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.166: +21 -17
lines
Diff to previous 1.166 (colored)
Fix formatting of scsi_quirk_patterns[] and wrap long lines.
Revision 1.166 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:17 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.165: +2 -3
lines
Diff to previous 1.165 (colored)
don't need <sys/types.h> when including <sys/param.h>
Revision 1.165 / (download) - annotate - [select for diffs], Tue Nov 13 06:56:40 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.164: +4 -1
lines
Diff to previous 1.164 (colored)
add RCSIDs
Revision 1.164 / (download) - annotate - [select for diffs], Tue Nov 6 13:31:20 2001 UTC (11 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.163: +3 -1
lines
Diff to previous 1.163 (colored)
Add a quirk for a USB CD/RW.
Revision 1.163 / (download) - annotate - [select for diffs], Sun Oct 21 23:25:04 2001 UTC (11 years, 7 months ago) by mjl
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.162: +3 -1
lines
Diff to previous 1.162 (colored)
Add ST15150N to quirk table, as per PR/13817.
Revision 1.162 / (download) - annotate - [select for diffs], Tue Oct 16 13:33:02 2001 UTC (11 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.161: +3 -1
lines
Diff to previous 1.161 (colored)
PR/14256: Kevin P. Neal: Add quirk for micropolis drive.
Revision 1.161 / (download) - annotate - [select for diffs], Fri Aug 31 07:09:41 2001 UTC (11 years, 8 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.160: +2 -2
lines
Diff to previous 1.160 (colored)
Add a new quirk, PQUIRK_NOBIGMODESENSE, for devices that need big SCSI ops, but still fails on big mode sense. Makes M-Sys DiskOnKey work.
Revision 1.160 / (download) - annotate - [select for diffs], Fri Aug 31 06:54:42 2001 UTC (11 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.159: +4 -1
lines
Diff to previous 1.159 (colored)
Some quirks for USB M-Sys DiskOnKey. Still not enough to make it work.
Revision 1.159 / (download) - annotate - [select for diffs], Wed Jul 18 20:19:24 2001 UTC (11 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.158: +13 -18
lines
Diff to previous 1.158 (colored)
Adn scsipi_target_detach() and scsipi_thread_call_callback() as discussed on tech-kern. scsipi_target_detach() accept wildcard target/lun as requested.
Revision 1.158 / (download) - annotate - [select for diffs], Mon Jun 11 13:58:18 2001 UTC (11 years, 11 months ago) by pk
Branch: MAIN
Branch point for: kqueue
Changes since 1.157: +4 -1
lines
Diff to previous 1.157 (colored)
Add nolun/nosync quirk for "IBM CDRM00201 !F" See PR#13031.
Revision 1.157 / (download) - annotate - [select for diffs], Wed Apr 25 17:53:39 2001 UTC (12 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.156: +351 -387
lines
Diff to previous 1.156 (colored)
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.156 / (download) - annotate - [select for diffs], Mon Feb 26 22:31:27 2001 UTC (12 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.155: +9 -2
lines
Diff to previous 1.155 (colored)
Add quirks for VMware emulated disks, for NetBSD as a guest OS.
Revision 1.155 / (download) - annotate - [select for diffs], Fri Feb 16 22:54:27 2001 UTC (12 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.154: +10 -1
lines
Diff to previous 1.154 (colored)
Turn off command tagging by default for pre-SCSI2 devices.
Revision 1.154 / (download) - annotate - [select for diffs], Thu Jan 18 20:28:21 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.153: +2 -2
lines
Diff to previous 1.153 (colored)
constify
Revision 1.153 / (download) - annotate - [select for diffs], Sun Dec 3 13:30:36 2000 UTC (12 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.152: +14 -4
lines
Diff to previous 1.152 (colored)
I2O HBAs provide an abstracted view of the bus; use SCBUSIOLLSCAN to give them an oppertunity to re-scan it before we do.
Revision 1.152 / (download) - annotate - [select for diffs], Tue Nov 14 08:52:35 2000 UTC (12 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.151: +2 -2
lines
Diff to previous 1.151 (colored)
Mark the "TOSHIBA, XM-4101TASUNSLCD" CD-R for a-sync operation only.
Revision 1.151 / (download) - annotate - [select for diffs], Fri Sep 22 16:45:17 2000 UTC (12 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.150: +7 -1
lines
Diff to previous 1.150 (colored)
Add a new, optional method to scsipi_adapter (scsipi_accesschk()), and use it when considering whether to attach devices. This is to facilitate `non-SCSI' RAID controller drivers that want to provide SCSI pass-through services to the kernel.
Revision 1.150 / (download) - annotate - [select for diffs], Sun Aug 13 00:03:01 2000 UTC (12 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.149: +3 -4
lines
Diff to previous 1.149 (colored)
Add "SYMBIOS" processor type to the SDEV_NOLUN category. These are usually the GEM chips on a Sun D1000- and they cause Qlogic SBus firmware to blow chunks if you access past lun 0.
Revision 1.149 / (download) - annotate - [select for diffs], Tue Aug 8 22:46:03 2000 UTC (12 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.148: +21 -2
lines
Diff to previous 1.148 (colored)
During probe, use SCBUSACCEL ioctl to adapters that support it to enable fast/wide/tagged.
Revision 1.148 / (download) - annotate - [select for diffs], Thu Aug 3 12:36:08 2000 UTC (12 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.147: +3 -1
lines
Diff to previous 1.147 (colored)
Add quirk entry for NEDICOM CRD-BP2, from kern/10738.
Revision 1.147 / (download) - annotate - [select for diffs], Fri Jun 9 08:54:23 2000 UTC (12 years, 11 months ago) by enami
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.146: +3 -2
lines
Diff to previous 1.146 (colored)
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.146 / (download) - annotate - [select for diffs], Tue May 30 15:16:41 2000 UTC (12 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.145: +3 -1
lines
Diff to previous 1.145 (colored)
Add NOMODESENSE quirk for TEAC USB floppy.
Revision 1.145 / (download) - annotate - [select for diffs], Tue May 30 01:49:19 2000 UTC (12 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.144: +4 -1
lines
Diff to previous 1.144 (colored)
Add NOMODESENSE quirk for Y-E data floppy (thanks Jason for reminding me).
Revision 1.144 / (download) - annotate - [select for diffs], Mon May 29 20:13:06 2000 UTC (12 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.143: +5 -5
lines
Diff to previous 1.143 (colored)
ADEV_CDROM -> SDEV_CDROM, for consistency.
Revision 1.143 / (download) - annotate - [select for diffs], Sun May 28 07:03:59 2000 UTC (12 years, 11 months ago) by gmcgarry
Branch: MAIN
Changes since 1.142: +11 -1
lines
Diff to previous 1.142 (colored)
Handle ADEV_CDROM in quirks table. Quirk entry for another Toshiba cdrom.
Revision 1.142 / (download) - annotate - [select for diffs], Mon May 15 16:35:49 2000 UTC (13 years ago) by dante
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.141: +8 -1
lines
Diff to previous 1.141 (colored)
Add few peripheral device type Remove "???" from T_IT8_1/2. They actually are pre-press devices for graphic arts as described by ASC IT8 Zeros and blanks scsipi_inquiry_data from byte 58 to byte 74 if additional_length is less than 58
Revision 1.141 / (download) - annotate - [select for diffs], Sun May 14 18:20:11 2000 UTC (13 years ago) by dante
Branch: MAIN
Changes since 1.140: +11 -6
lines
Diff to previous 1.140 (colored)
Change scsipi_inquiry_data strucure to be ANSI SPC-2 rev16 compliant
Revision 1.140 / (download) - annotate - [select for diffs], Wed Apr 19 04:49:50 2000 UTC (13 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.139: +2 -2
lines
Diff to previous 1.139 (colored)
Allocate the variable `inqbuf' in scsi_probedev on stack rather than statically. Since this function may called for another luns immediately, allocating it statically doesn't make sense and may cause race condition as pointed out by PR#9749.
Revision 1.139 / (download) - annotate - [select for diffs], Sun Apr 2 17:25:52 2000 UTC (13 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.138: +4 -1
lines
Diff to previous 1.138 (colored)
Change the initial field in struct ata_atapi_attach and struct scsipi_link slightly to allow scsibus and atapibus to attach to the same device. Furthermore, only attach a scsibus when the bus type is BUS_SCSI.
Revision 1.138 / (download) - annotate - [select for diffs], Mon Mar 27 11:45:42 2000 UTC (13 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.137: +2 -2
lines
Diff to previous 1.137 (colored)
In attach message, spell it "target" not "targ", as in the locator.
Revision 1.137 / (download) - annotate - [select for diffs], Sun Mar 19 10:33:26 2000 UTC (13 years, 2 months ago) by sjg
Branch: MAIN
Changes since 1.136: +3 -1
lines
Diff to previous 1.136 (colored)
Added NOLUNS quirk for YAMAHA CRW8424S
Revision 1.136 / (download) - annotate - [select for diffs], Fri Mar 17 11:45:49 2000 UTC (13 years, 2 months ago) by soren
Branch: MAIN
Changes since 1.135: +1 -19
lines
Diff to previous 1.135 (colored)
scsiprint() is needed even without scsibus'es, so move it to scsi_base.c .
Revision 1.135 / (download) - annotate - [select for diffs], Mon Mar 13 09:56:26 2000 UTC (13 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.134: +3 -1
lines
Diff to previous 1.134 (colored)
Added Artec/Ultima A6000C scanner to the quirks table (no LUNs).
Revision 1.134 / (download) - annotate - [select for diffs], Thu Jan 20 17:10:18 2000 UTC (13 years, 4 months ago) by mjacob
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.133: +3 -2
lines
Diff to previous 1.133 (colored)
Nobody said no to adding a pointer to original scsi inquiry data to the scsibus attach args. Make sure it's nulled for ATAPI. Also, for scsiconf.c, modify SENA's quirk entry.
Revision 1.133 / (download) - annotate - [select for diffs], Thu Jan 13 00:18:27 2000 UTC (13 years, 4 months ago) by nisimura
Branch: MAIN
Changes since 1.132: +3 -1
lines
Diff to previous 1.132 (colored)
Add tweaks for TEAC compact cassette tape drive.
Revision 1.132 / (download) - annotate - [select for diffs], Sun Nov 14 18:06:09 1999 UTC (13 years, 6 months ago) by soren
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base
Changes since 1.131: +3 -7
lines
Diff to previous 1.131 (colored)
Allow SCSI_DELAY to be shorter than 2 seconds.
Revision 1.131 / (download) - annotate - [select for diffs], Wed Oct 20 15:22:27 1999 UTC (13 years, 7 months ago) by enami
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.130: +2 -1
lines
Diff to previous 1.130 (colored)
Cancel active transfers on aic/wdc detach. Also makes LS-120 drive works for me again.
Revision 1.130 / (download) - annotate - [select for diffs], Mon Oct 11 15:28:57 1999 UTC (13 years, 7 months ago) by hwr
Branch: MAIN
Branch point for: thorpej_scsipi,
fvdl-softdep
Changes since 1.129: +3 -1
lines
Diff to previous 1.129 (colored)
Add ad quirk for CDU-561 CD-ROM. From PR kern/8608 by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>.
Revision 1.129 / (download) - annotate - [select for diffs], Sun Oct 10 18:49:15 1999 UTC (13 years, 7 months ago) by hwr
Branch: MAIN
Changes since 1.128: +3 -1
lines
Diff to previous 1.128 (colored)
Add a quirk to recognize a Toshiba XM-3401TA SCSI CD-ROM as removable SCSI device. From Matthew Fredette <fredette@mit.edu> in kern/7438.
Revision 1.128 / (download) - annotate - [select for diffs], Thu Sep 30 22:57:53 1999 UTC (13 years, 7 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.127: +30 -9
lines
Diff to previous 1.127 (colored)
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.127 / (download) - annotate - [select for diffs], Sun Sep 19 23:45:28 1999 UTC (13 years, 8 months ago) by nathanw
Branch: MAIN
Changes since 1.126: +3 -1
lines
Diff to previous 1.126 (colored)
Add NOLUNS quirk for another Texel CD-ROM revision.
Revision 1.126 / (download) - annotate - [select for diffs], Sat Sep 11 21:25:26 1999 UTC (13 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.125: +69 -2
lines
Diff to previous 1.125 (colored)
Implement detaching of SCSI busses.
Revision 1.125 / (download) - annotate - [select for diffs], Thu Sep 9 20:06:52 1999 UTC (13 years, 8 months ago) by hwr
Branch: MAIN
Changes since 1.124: +3 -1
lines
Diff to previous 1.124 (colored)
Add a quirk for Wangtec SCSI-36 (QIC-120) tape drive. From Izumi Tsutsiu in PR 8357.
Revision 1.124 / (download) - annotate - [select for diffs], Mon Jul 26 22:43:13 1999 UTC (13 years, 10 months ago) by explorer
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.123: +2 -2
lines
Diff to previous 1.123 (colored)
make the JVC 2626 match more than one version, since all seem to be returning errors on the LUN probe.
Revision 1.123 / (download) - annotate - [select for diffs], Wed Jul 14 22:34:18 1999 UTC (13 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.122: +2 -2
lines
Diff to previous 1.122 (colored)
Skip LUN check for all versions of the UMAX Astra 1220S as suggested by Dan McMahill in PR kern/7991.
Revision 1.122 / (download) - annotate - [select for diffs], Thu Dec 10 18:13:29 1998 UTC (14 years, 5 months ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Changes since 1.121: +3 -1
lines
Diff to previous 1.121 (colored)
add Adaptec RAID units as devices that do not return geometry pages
Revision 1.121 / (download) - annotate - [select for diffs], Tue Dec 8 00:14:41 1998 UTC (14 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.120: +2 -1
lines
Diff to previous 1.120 (colored)
When allocating a device's scsipi_link, initialize the pending_xfers queue.
Revision 1.120 / (download) - annotate - [select for diffs], Sat Dec 5 20:52:47 1998 UTC (14 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.119: +2 -2
lines
Diff to previous 1.119 (colored)
NOMODESENSE for all Seagate ST19171- not just FC
Revision 1.119 / (download) - annotate - [select for diffs], Sat Dec 5 19:39:23 1998 UTC (14 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.118: +28 -15
lines
Diff to previous 1.118 (colored)
Eliminate the moreluns entry as it makes no sense for fat SCSI busses (e.g, FC loops). Change the semantics of scsi_probedev so that it returns 1 if you should continue probing at this target, else 0 for not. Replace the blanket use of '7' with the use of the new sc_maxlun property that is now gathered from HBAs. Allocate scsipi_link arrays based upon this. Fix a really nasty and silly bug that has been there for a while where the number of first level scsipi_link structures was one less than it needed to be.
Revision 1.118 / (download) - annotate - [select for diffs], Thu Nov 26 13:39:14 1998 UTC (14 years, 5 months ago) by leo
Branch: MAIN
Changes since 1.117: +3 -1
lines
Diff to previous 1.117 (colored)
The IOMEGA ZIP 100, J.03 does not grok LUN's.
Revision 1.117 / (download) - annotate - [select for diffs], Thu Nov 19 22:28:20 1998 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.116: +8 -3
lines
Diff to previous 1.116 (colored)
Add a reference to the adapter when the scsibus is opened, and delete it when it is closed.
Revision 1.116 / (download) - annotate - [select for diffs], Thu Nov 19 22:25:57 1998 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.115: +5 -1
lines
Diff to previous 1.115 (colored)
Add a reference to the adapter before probing the bus, and delete it once we are done probing.
Revision 1.115 / (download) - annotate - [select for diffs], Tue Nov 17 14:38:42 1998 UTC (14 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.114: +2 -2
lines
Diff to previous 1.114 (colored)
Rename scsi_interpret_sense() to scsipi_interpret_sense() and move it from scsi_base.c to scsipi_base.c. Rename the functions from scsi_verbose.c too, and rename the file itself. Cleaup includes too (scsi_*.h should not be #included in scsipi_*.h files, which are supposed to be common to atapi and scsi).
Revision 1.114 / (download) - annotate - [select for diffs], Tue Oct 20 22:26:04 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base,
chs-ubc
Changes since 1.113: +5 -9
lines
Diff to previous 1.113 (colored)
Fix a sight open flags buglet pointed out by Matthias Scheler.
Revision 1.113 / (download) - annotate - [select for diffs], Sat Oct 10 03:33:01 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.112: +22 -4
lines
Diff to previous 1.112 (colored)
Enforce open-for-writing on ioctls that change the bus's state. Implement ioctl pass-through to the host bus adapter, allowing both SCBUS* ioctls handled at that level and host adapter-specific ioctls to be implemented. Implement SCBUSIORESET as a pass-through. Inspired by PR #6090, from Matt Jacob.
Revision 1.112 / (download) - annotate - [select for diffs], Sat Oct 10 02:34:15 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.111: +13 -1
lines
Diff to previous 1.111 (colored)
Implement the SCBUSIOSCAN ioctl. Rescans the bus for new devices.
Revision 1.111 / (download) - annotate - [select for diffs], Sat Oct 10 01:14:26 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.110: +67 -2
lines
Diff to previous 1.110 (colored)
Add the open/close/ioctl entry points for the SCSI bus, i.e. /dev/scsibusN.
Revision 1.110 / (download) - annotate - [select for diffs], Thu Oct 8 20:24:10 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.109: +3 -1
lines
Diff to previous 1.109 (colored)
Add a NOSYNCCACHE quirk for the Micropolis 2217-15MQ1091501, as reported by Matt Jacob, PR #6027.
Revision 1.109 / (download) - annotate - [select for diffs], Thu Oct 8 18:46:15 1998 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.108: +4 -1
lines
Diff to previous 1.108 (colored)
Add a NOLUNS quirk for the Sony CDL1100 changer, from Chris Jones, PR #6238.
Revision 1.108 / (download) - annotate - [select for diffs], Tue Sep 8 07:34:02 1998 UTC (14 years, 8 months ago) by mjacob
Branch: MAIN
Changes since 1.107: +23 -5
lines
Diff to previous 1.107 (colored)
Reflect changes in quirk flags, and also now add case post retrieval of Inquiry data during probe where SDEV_NOSYNC, SDEV_NOTAG and SDEV_NOWIDE can be set (with quirk data overriding) per device probed.
Revision 1.107 / (download) - annotate - [select for diffs], Mon Aug 31 22:28:07 1998 UTC (14 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.106: +1 -31
lines
Diff to previous 1.106 (colored)
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.106 / (download) - annotate - [select for diffs], Mon Aug 17 00:49:02 1998 UTC (14 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.105: +23 -16
lines
Diff to previous 1.105 (colored)
Assign my copyrights to TNF.
Revision 1.105 / (download) - annotate - [select for diffs], Sat Aug 15 03:02:47 1998 UTC (14 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.104: +3 -3
lines
Diff to previous 1.104 (colored)
Make copyright notices with my name consistent.
Revision 1.104 / (download) - annotate - [select for diffs], Wed Aug 5 16:29:05 1998 UTC (14 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.103: +4 -4
lines
Diff to previous 1.103 (colored)
Improve generation of default disklabels: -store printable product ID in cd's and sd's softc, use it as "typename" -for this, add a "destination buffer length" argument to scsipi_strvis() -return ATAPI device type for ATAPI devices
Revision 1.103 / (download) - annotate - [select for diffs], Fri Jul 31 03:00:51 1998 UTC (14 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.102: +4 -1
lines
Diff to previous 1.102 (colored)
Use the pool allocator for scsipi_xfer structures.
Revision 1.102 / (download) - annotate - [select for diffs], Thu Jul 30 00:00:06 1998 UTC (14 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.101: +3 -1
lines
Diff to previous 1.101 (colored)
Add NOLUNS quirk for the UMAX Astra 1220 scanner.
Revision 1.101 / (download) - annotate - [select for diffs], Mon Jun 22 13:19:09 1998 UTC (14 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.100: +3 -1
lines
Diff to previous 1.100 (colored)
Ricoh IS60 to the quirk table (SDEV_NOLUN). Fixes PR 5473 by Feico Dillema < dillema@acm.org>
Revision 1.100 / (download) - annotate - [select for diffs], Mon May 4 05:56:31 1998 UTC (15 years ago) by thorpej
Branch: MAIN
Changes since 1.99: +3 -1
lines
Diff to previous 1.99 (colored)
The DEC RRD42 doesn't deal with LUNs very well either. kern/5376, Simon Burge <simonb@telstra.com.au>
Revision 1.99 / (download) - annotate - [select for diffs], Mon May 4 05:54:09 1998 UTC (15 years ago) by thorpej
Branch: MAIN
Changes since 1.98: +3 -1
lines
Diff to previous 1.98 (colored)
Add the UMAX Astra 1200S scanner to the list of the LUN-clueless. kern/5390, Rene Hexel <rh@vip.at>
Revision 1.98 / (download) - annotate - [select for diffs], Thu Apr 23 00:38:01 1998 UTC (15 years, 1 month ago) by explorer
Branch: MAIN
Changes since 1.97: +3 -1
lines
Diff to previous 1.97 (colored)
Ignore LUN on yet another cdrom
Revision 1.97 / (download) - annotate - [select for diffs], Fri Apr 10 17:13:11 1998 UTC (15 years, 1 month ago) by mjacob
Branch: MAIN
Changes since 1.96: +2 -2
lines
Diff to previous 1.96 (colored)
trim ID of ST19171FC so that SUN drives are caught
Revision 1.96 / (download) - annotate - [select for diffs], Sat Mar 7 06:34:59 1998 UTC (15 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.95: +7 -3
lines
Diff to previous 1.95 (colored)
Quirk table entries for IBM H3171 and Quantum ELS85S disks.
Revision 1.95 / (download) - annotate - [select for diffs], Wed Jan 21 08:41:28 1998 UTC (15 years, 4 months ago) by mikel
Branch: MAIN
Changes since 1.94: +4 -2
lines
Diff to previous 1.94 (colored)
add NOLUNS quirk for UMAX S-12; from Andreas Wrede in PR kern/4849
Revision 1.94 / (download) - annotate - [select for diffs], Mon Jan 12 09:49:15 1998 UTC (15 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.93: +2 -4
lines
Diff to previous 1.93 (colored)
Adjust for changes to config.
Revision 1.93 / (download) - annotate - [select for diffs], Fri Oct 3 02:04:17 1997 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.92: +6 -2
lines
Diff to previous 1.92 (colored)
Clean up and comment the device types, and add the "enclosure services", "storage array", and "IT8" types.
Revision 1.92 / (download) - annotate - [select for diffs], Wed Oct 1 01:19:03 1997 UTC (15 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.91: +38 -38
lines
Diff to previous 1.91 (colored)
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.91 / (download) - annotate - [select for diffs], Mon Sep 29 11:00:36 1997 UTC (15 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.90: +9 -1
lines
Diff to previous 1.90 (colored)
Add quirks entries for Hitachi DK515C disk drives and Cipher ST150S tape drive. Closes PR kern/4171 from jbernard@tater.mines.edu.
Revision 1.90 / (download) - annotate - [select for diffs], Fri Sep 19 14:08:48 1997 UTC (15 years, 8 months ago) by mjacob
Branch: MAIN
Changes since 1.89: +5 -1
lines
Diff to previous 1.89 (colored)
Another couple NOMODESENSE drives.
Revision 1.89 / (download) - annotate - [select for diffs], Tue Sep 9 21:56:01 1997 UTC (15 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.88: +3 -1
lines
Diff to previous 1.88 (colored)
Add SDEV_NOLUNS to another CD-ROM player.
Revision 1.88 / (download) - annotate - [select for diffs], Wed Aug 27 11:26:45 1997 UTC (15 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal
Branch point for: marc-pcmcia
Changes since 1.87: +126 -241
lines
Diff to previous 1.87 (colored)
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.87 / (download) - annotate - [select for diffs], Sun Aug 17 16:25:11 1997 UTC (15 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.86: +9 -1
lines
Diff to previous 1.86 (colored)
A few more SDEV_NOLUNS entries- one tape drive (SONY Beta/VHS) and a couple of PCMCIA card readers (one as T_DIRECT, the other as T_PROCESSOR).
Revision 1.86 / (download) - annotate - [select for diffs], Sat Aug 16 01:05:51 1997 UTC (15 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.85: +3 -1
lines
Diff to previous 1.85 (colored)
This fibre channel disk doesn't support the geometry page.
Revision 1.85 / (download) - annotate - [select for diffs], Thu Aug 14 22:17:32 1997 UTC (15 years, 9 months ago) by explorer
Branch: MAIN
Changes since 1.84: +4 -2
lines
Diff to previous 1.84 (colored)
add SDEV_NOLUNS for my scanner (UMAX S-6E)
Revision 1.84 / (download) - annotate - [select for diffs], Thu Jul 17 00:46:50 1997 UTC (15 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.83: +5 -1
lines
Diff to previous 1.83 (colored)
More CD quirks, from Dave Huang (pr-3843)
Revision 1.83 / (download) - annotate - [select for diffs], Thu Apr 24 00:49:14 1997 UTC (16 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.82: +3 -1
lines
Diff to previous 1.82 (colored)
Another silly CD-ROM drive...
Revision 1.82 / (download) - annotate - [select for diffs], Sun Apr 20 01:30:30 1997 UTC (16 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.81: +3 -1
lines
Diff to previous 1.81 (colored)
And Yet Another Broken IBM disk (the 664 this time), once again reported by Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
Revision 1.81 / (download) - annotate - [select for diffs], Sun Apr 20 00:55:05 1997 UTC (16 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.80: +4 -1
lines
Diff to previous 1.80 (colored)
Add Yet Another Broken IBM disk to the SDEV_AUTOSAVE list. This one doesn't report a vendor string (yuck)!. Problem reported by Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
Revision 1.80 / (download) - annotate - [select for diffs], Sat Apr 19 21:32:37 1997 UTC (16 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.79: +5 -2
lines
Diff to previous 1.79 (colored)
Two more quirks: Python 28454-XXX tape drive: NOLUNS 1588-15MBSUN0669 disk: AUTOSAVE
Revision 1.79 / (download) - annotate - [select for diffs], Tue Apr 8 17:35:06 1997 UTC (16 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored)
Add another IBM disk that needs SDEV_AUTOSAVE.
Revision 1.78 / (download) - annotate - [select for diffs], Wed Apr 2 02:36:02 1997 UTC (16 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.77: +2 -2
lines
Diff to previous 1.77 (colored)
Add a SDEV_AUTOSAVE quirk for the Emulex SCSI<->ESDI bridge.
Revision 1.77 / (download) - annotate - [select for diffs], Tue Apr 1 04:05:03 1997 UTC (16 years, 1 month ago) by mikel
Branch: MAIN
Changes since 1.76: +2 -2
lines
Diff to previous 1.76 (colored)
loosen the version number check in the quirk list for the CDR-H98MV; from Koji Imada in PR kern/3419.
Revision 1.76 / (download) - annotate - [select for diffs], Thu Mar 27 07:37:54 1997 UTC (16 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.75: +5 -1
lines
Diff to previous 1.75 (colored)
Add SDEV_AUTOSAVE quirks for IBM 0663H{08,12} disks
Revision 1.75 / (download) - annotate - [select for diffs], Tue Mar 25 22:33:50 1997 UTC (16 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.74: +3 -1
lines
Diff to previous 1.74 (colored)
Add SDEV_NOLUNS quirk for Seagate ST125N.
Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 11 06:06:35 1997 UTC (16 years, 2 months ago) by mikel
Branch: MAIN
Changes since 1.73: +1 -5
lines
Diff to previous 1.73 (colored)
SDEV_NOMODESENSE quirks are no longer needed for optical devices; from Enami Tsugutomo in PR kern/3308.
Revision 1.73 / (download) - annotate - [select for diffs], Sat Dec 14 10:50:32 1996 UTC (16 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.72: +2 -1
lines
Diff to previous 1.72 (colored)
Make sure to initialize the memory we just allocated.
Revision 1.72 / (download) - annotate - [select for diffs], Tue Dec 10 21:06:29 1996 UTC (16 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.71: +21 -4
lines
Diff to previous 1.71 (colored)
Add a "max_target" member to struct scsi_link, which is filled in by host adapter drivers, indicating the highest SCSI target they can address. Use this value to dynamically allocate data structures, rather than hard-coding 8 targets. These changes allow targets > 7 to be addressed on wide SCSI busses. Fixes PRs #1674 and #2892.
Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 5 01:06:41 1996 UTC (16 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.70: +34 -4
lines
Diff to previous 1.70 (colored)
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
Revision 1.70 / (download) - annotate - [select for diffs], Fri Nov 29 19:51:14 1996 UTC (16 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.69: +3 -1
lines
Diff to previous 1.69 (colored)
Add Yet Another Broken CD-ROM Drive to The List. From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2971.
Revision 1.69 / (download) - annotate - [select for diffs], Fri Nov 8 05:06:55 1996 UTC (16 years, 6 months ago) by explorer
Branch: MAIN
Changes since 1.68: +3 -1
lines
Diff to previous 1.68 (colored)
Another quirky cdrom drive ; pr kern/2917
Revision 1.68 / (download) - annotate - [select for diffs], Wed Nov 6 05:50:31 1996 UTC (16 years, 6 months ago) by mikel
Branch: MAIN
Changes since 1.67: +4 -3
lines
Diff to previous 1.67 (colored)
Add another broken CDROM. Fixes PR kern/2913. Some misc. cleanup.
Revision 1.67 / (download) - annotate - [select for diffs], Wed Oct 23 07:25:39 1996 UTC (16 years, 7 months ago) by matthias
Branch: MAIN
Changes since 1.66: +5 -2
lines
Diff to previous 1.66 (colored)
* At least the Teac FC-1 Shugart-SCSI bridgeboard does motor on/off management by itself. But when it gets a start unit request, it keeps the floppy motor running all the time. This adds code for dealing with yet another quirk (SDEV_NOSTARTUNIT) that prevents sd.c from sending start unit requests. A entry for the Teac FC-1 is added to the quirk table.
Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 18 17:22:17 1996 UTC (16 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.65: +5 -1
lines
Diff to previous 1.65 (colored)
Add quirk entries for two more optical drives; closes pr kern/2861
Revision 1.65 / (download) - annotate - [select for diffs], Sat Oct 12 23:23:18 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.64: +9 -9
lines
Diff to previous 1.64 (colored)
revert previous kprintf change
Revision 1.64 / (download) - annotate - [select for diffs], Thu Oct 10 23:34:20 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.63: +9 -9
lines
Diff to previous 1.63 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.63 / (download) - annotate - [select for diffs], Tue Sep 3 18:20:35 1996 UTC (16 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +2 -1
lines
Diff to previous 1.62 (colored)
Store the SCSI version in the scsi_link, and set the LUN in the CDB if the version is <= SCSI-2. This should help some older SCSI devices that previously needed the "NOLUNS" quirk. While this is not strictly necessary on SCSI-2 devices, the spec allows it, so we set it for SCSI-2 devices "just in case". See section 7.2.2 of Draft X3T9.2 Rev 10L for details.
Revision 1.62 / (download) - annotate - [select for diffs], Wed Aug 28 18:47:51 1996 UTC (16 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.61: +35 -4
lines
Diff to previous 1.61 (colored)
(1) add a 'channel' field to scsi_link.
(2) in scsibusmatch, match channel as appropriate.
(3) add a scsiprint() function, to do the "scsibus at..."
and channel (if not SCSI_CHANNEL_ONLY_ONE) printing,
i.e. the common functionality that all SCSI drivers currently
should be doing.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Aug 27 22:00:04 1996 UTC (16 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.60: +3 -3
lines
Diff to previous 1.60 (colored)
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
Revision 1.60 / (download) - annotate - [select for diffs], Wed Jul 24 20:50:23 1996 UTC (16 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +2 -2
lines
Diff to previous 1.59 (colored)
Match any Maxtor XT-8760S for the SDEV_NOLUNS quirk. Some of these drives carry Sun OEM identifiers, as well. Noticed by Taras Ivanenko <ivanenko@ctpa03.mit.edu>.
Revision 1.59 / (download) - annotate - [select for diffs], Fri Jul 5 21:58:04 1996 UTC (16 years, 10 months ago) by explorer
Branch: MAIN
Changes since 1.58: +3 -1
lines
Diff to previous 1.58 (colored)
add ZIP quirk for SDEV_NOMODESENSE
Revision 1.58 / (download) - annotate - [select for diffs], Fri Jul 5 16:19:08 1996 UTC (16 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.57: +3 -2
lines
Diff to previous 1.57 (colored)
- Apply PR/2535: Add support for flex scsi disks. - Add a quirk called SCSI_NOMODESENSE for drives like the iomega jaz, that don't support mode sense.
Revision 1.57 / (download) - annotate - [select for diffs], Thu May 2 01:09:01 1996 UTC (17 years ago) by neil
Branch: MAIN
Changes since 1.56: +4 -1
lines
Diff to previous 1.56 (colored)
Added another quirked SCSI device, re PR 2320 from Manuel Bouyer
Revision 1.56 / (download) - annotate - [select for diffs], Mon Apr 22 01:46:09 1996 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.55: +1 -2
lines
Diff to previous 1.55 (colored)
remove include of <sys/cpu.h>
Revision 1.55 / (download) - annotate - [select for diffs], Thu Mar 21 03:29:40 1996 UTC (17 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.54: +5 -1
lines
Diff to previous 1.54 (colored)
Add a SDEV_NOLUNS quirk for the Epson OMD-5010 removable MO cartridge drive.
Revision 1.54 / (download) - annotate - [select for diffs], Mon Mar 18 16:19:58 1996 UTC (17 years, 2 months ago) by hpeyerl
Branch: MAIN
Changes since 1.53: +3 -1
lines
Diff to previous 1.53 (colored)
Fix for NEC D3847 1.6gB drive which reported itself at lun[1-7].
Revision 1.53 / (download) - annotate - [select for diffs], Sun Mar 17 00:59:47 1996 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +12 -9
lines
Diff to previous 1.52 (colored)
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.52 / (download) - annotate - [select for diffs], Tue Mar 5 01:45:42 1996 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +3 -1
lines
Diff to previous 1.51 (colored)
Add another broken drive that doesn't deal with LUNs properly to The List. Fixes PR 1961, from Kevin P. Neal.
Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 5 00:15:12 1996 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +124 -53
lines
Diff to previous 1.50 (colored)
Normalize SCSI autoconfiguration output. From Chris Demetriou <cgd@NetBSD.ORG>. Fixes PR #1958.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Feb 22 23:37:27 1996 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +3 -1
lines
Diff to previous 1.49 (colored)
Add a SDEV_AUTOSAVE quirk for the DEC RZ55.
Revision 1.49 / (download) - annotate - [select for diffs], Sun Feb 18 20:32:43 1996 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +1 -2
lines
Diff to previous 1.48 (colored)
Add SCSI scanner support by Kenneth Stailey and Joachim Koenig-Baltes, hacked a bit. Needs more work.
Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 14 21:47:27 1996 UTC (17 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.47: +101 -98
lines
Diff to previous 1.47 (colored)
scsi prototypes
Revision 1.47 / (download) - annotate - [select for diffs], Fri Jan 12 11:32:37 1996 UTC (17 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.46: +4 -1
lines
Diff to previous 1.46 (colored)
LUN deficient device: Tandberg 3600 (Ken Raeburn; PR#1933).
Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 31 02:40:53 1995 UTC (17 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +3 -1
lines
Diff to previous 1.45 (colored)
Add another broken CD-ROM drive to The List (Chinon CDS-525), per PR #1686. From Kortelainen Mika <k125374@cs.tut.fi>.
Revision 1.45 / (download) - annotate - [select for diffs], Mon Dec 11 04:43:01 1995 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +4 -4
lines
Diff to previous 1.44 (colored)
Trim NULs, in addition to spaces, in scsi_strvis().
Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 1 01:15:07 1995 UTC (17 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.43: +9 -3
lines
Diff to previous 1.43 (colored)
More rogues.
Revision 1.43 / (download) - annotate - [select for diffs], Fri Oct 13 20:01:03 1995 UTC (17 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.42: +5 -1
lines
Diff to previous 1.42 (colored)
Add quirk entries for Wangtek SCSI tapes. Also, add entry for Tandberg 3800 (fixes PR#1592 - from Jochen Pohl).
Revision 1.42 / (download) - annotate - [select for diffs], Tue Sep 26 23:37:50 1995 UTC (17 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +3 -1
lines
Diff to previous 1.41 (colored)
Add another broken NEC CD-ROM drive to The List. Fixes PR #1451.
Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 21 09:30:09 1995 UTC (17 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.40: +2 -2
lines
Diff to previous 1.40 (colored)
Set the scsi link before calling config_attach(), so target/lun info is available to, say, dk_establish().
Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 14 13:01:42 1995 UTC (17 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.39: +2 -2
lines
Diff to previous 1.39 (colored)
CHINON CDS-535 version Q117 also needs NOLUNS. Assume all 535s do.
Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 13 17:48:57 1995 UTC (17 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.38: +3 -1
lines
Diff to previous 1.38 (colored)
Another SDEV_NOLUNS device from paul@pgoyette.bdt.com (Paul Goyette).
Revision 1.38 / (download) - annotate - [select for diffs], Sun Aug 6 00:04:00 1995 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +10 -8
lines
Diff to previous 1.37 (colored)
Add another Seagate disk to the list, and make all the disks match any firmware revision.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Jul 12 09:56:09 1995 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.36: +7 -2
lines
Diff to previous 1.36 (colored)
add/change a few quirks: (1) all Chinon CDS-431 CD-ROMs (regardless of revision) are forced to only having LUN 0, at the suggestion of Michael Hitch. (2) _force_ searching of extra LUNs for the Emulex MD21/S2 ESDI bridge. It's pre-SCSI 1, but knows about LUNs. "amazing." From Jason Thorpe. (3) recognize an Emulex tape adapter in front of a QIC-36 tape, and have it forced to only LUN 0. This is an odd one; vendor, name, and rev strings are all spaces. Anything that mathes this is very likely broken, anyway, so might as well give it a shot. Again from Jason Thorpe.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 12 09:43:29 1995 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.35: +3 -2
lines
Diff to previous 1.35 (colored)
implement SDEV_FORCELUNS flag, as suggested by Jason Thorpe.
Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 9 09:44:57 1995 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.34: +3 -1
lines
Diff to previous 1.34 (colored)
Morningstar SnapLink -> SDEV_NOLUNS, per Peter Galbavy in pr 1192.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 9 09:43:07 1995 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.33: +11 -12
lines
Diff to previous 1.33 (colored)
play the alphabetization game
Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 9 09:30:42 1995 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.32: +3 -1
lines
Diff to previous 1.32 (colored)
QUANTUM P105S 910-10-94x A.3 -> SDEV_NOLUNS
Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 27 20:42:45 1995 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.31: +3 -1
lines
Diff to previous 1.31 (colored)
another CD-ROM quirk, a la PR 1166
Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 24 01:22:30 1995 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.30: +3 -1
lines
Diff to previous 1.30 (colored)
add entry for another tweaked Texel CD-ROM. from pr 1151
Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 18 05:13:09 1995 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +3 -1
lines
Diff to previous 1.29 (colored)
Add another CD-ROM drive to The List.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 2 21:44:11 1995 UTC (17 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.28: +3 -1
lines
Diff to previous 1.28 (colored)
Add `Maxtor LXT-213S', this time without a Sun OEM addition.
Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 4 05:44:32 1995 UTC (18 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.27: +7 -5
lines
Diff to previous 1.27 (colored)
Add another broken CD-ROM drive to The List.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 22 19:32:33 1995 UTC (18 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.26: +7 -7
lines
Diff to previous 1.26 (colored)
Be less picky about revision numbers for some broken devices.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 9 10:23:14 1995 UTC (18 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.25: +3 -1
lines
Diff to previous 1.25 (colored)
Another Maxtor botch.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 1 09:37:54 1995 UTC (18 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +4 -2
lines
Diff to previous 1.24 (colored)
Add Exabyte 8200 to the list.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 30 15:39:33 1995 UTC (18 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
All revisions of the TDC 3600 are rogues.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 16 21:13:40 1995 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +4 -6
lines
Diff to previous 1.22 (colored)
Don't clear the debug flags when copying the prototype scsi_link.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 12 10:25:44 1995 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +5 -1
lines
Diff to previous 1.21 (colored)
Add two more broken devices.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 1 11:37:03 1995 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +4 -1
lines
Diff to previous 1.20 (colored)
Put Dan's broken tape drive in The List.
Revision 1.20 / (download) - annotate - [select for diffs], Fri Dec 30 05:20:22 1994 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +6 -7
lines
Diff to previous 1.19 (colored)
And a little better...
Revision 1.19 / (download) - annotate - [select for diffs], Fri Dec 30 05:14:52 1994 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +7 -5
lines
Diff to previous 1.18 (colored)
Deal with short inquiry response a little better.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 28 19:43:09 1994 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +267 -331
lines
Diff to previous 1.17 (colored)
Numerous changes. Many bugs fixed, better autoconfig, a few new features.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 3 22:09:00 1994 UTC (18 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +4 -6
lines
Diff to previous 1.16 (colored)
Oops; update scsibusmatch() arg list.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 3 22:05:08 1994 UTC (18 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +6 -13
lines
Diff to previous 1.15 (colored)
Always use direct configuration for SCSI devices.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 3 20:24:21 1994 UTC (18 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +4 -20
lines
Diff to previous 1.14 (colored)
Remove a couple of i386-specific hacks, and make a couple of others #ifdef CONFIG_INDIRECT instead.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 29 06:43:10 1994 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 11 03:54:05 1994 UTC (19 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.12: +7 -8
lines
Diff to previous 1.12 (colored)
Fix various types. Remove some outdated flags.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 29 04:29:37 1994 UTC (19 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.11: +524 -497
lines
Diff to previous 1.11 (colored)
New SCSI system, based on Julian's more recent work.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 25 07:38:51 1994 UTC (19 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +5 -5
lines
Diff to previous 1.10 (colored)
Put controller target in scsi_switch.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 17 08:50:49 1993 UTC (19 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +14 -13
lines
Diff to previous 1.9 (colored)
Canonicalize all #includes.
Revision 1.9 / (download) - annotate - [select for diffs], Thu May 27 10:14:02 1993 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.8: +6 -11
lines
Diff to previous 1.8 (colored)
scsi probing spent too much time on the bus -- sped it up now, and simplified the message printing code (works the same)
Revision 1.8 / (download) - annotate - [select for diffs], Tue May 25 07:27:35 1993 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.7: +5 -2
lines
Diff to previous 1.7 (colored)
patch00149 by Julian Elischer <julian@jules.dialix.oz.au> & Rodney Grimes. When an error was encountered, the sd/cd drivers printed blockno&ff0000 rather that blockno.
Revision 1.7 / (download) - annotate - [select for diffs], Thu May 20 03:46:36 1993 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -0
lines
Diff to previous 1.6 (colored)
add rcsids and clean up file headers
Revision 1.6 / (download) - annotate - [select for diffs], Wed May 5 00:29:38 1993 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
fixed bug from last commit
Revision 1.5 / (download) - annotate - [select for diffs], Tue May 4 08:27:32 1993 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.4: +11 -11
lines
Diff to previous 1.4 (colored)
support for making dev->id_alive be set, this is for iostat to find disk devices. wee bit of a kludge. sub-device attach() routines must now return 1 for successful attach(), 0 otherwise. Other bsd's do this too..
Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 20 08:38:03 1993 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
a test for mycroft..
Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 19 21:20:46 1993 UTC (20 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.2: +5 -5
lines
Diff to previous 1.2 (colored)
Don't overwrite global kernel version string.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 12 08:19:34 1993 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +456 -615
lines
Diff to previous 1.1 (colored)
new scsi subsystem. changes also in config/mkioconf.c i386/isa/wd.c, fd.c, and all scsi drivers.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
after 0.2.2 "stable" patches applied