summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
AgeCommit message (Collapse)Author
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-09Be less parochial and remember that others may need to use quirks!Kenneth R Westerback
Just set the SDEV_NOTAGS, SDEV_NOWIDE, SDEV_NOSYNC bits in quirks. DON'T zero all other bits that may have already been set. Noted (and fix tested) by lebel@.
2002-02-28Start quirks off with NOWIDE, NOSYNC and NOTAGS and remove theKenneth R Westerback
restrictions as the results of the INQUIRY command and the quirks table indicate. This should (for drivers that pay attention) make for more successful communication with devices having quirks, by using the lowest common denominator until more information is available. Issue a second TEST_UNIT_READY command after the INQUIRY command has been processed to allow drivers waiting for valid quirks data to set sync/wide/tags asap. Rework a little bit of the logic to ensure that negotiation messages produced by the TEST_UNIT_READY command do not get mixed up with attachment messages. This has the side benefit of putting the negotiation messages before the device description, where they have usually been displayed in the past. If a driver is examining and using quirks data before the INQUIRY command is processed, and not renegotiating after the INQUIRY command, it may now end up with async 8 bit, non-tagged transfers. Before it would have ended up with possibly unusable transfer parameters when talking to a device with quirks. ok costa@
2002-02-16Disable tagged queueing for HP C3725S and IBM DCAS drives whereTodd C. Miller
is is broken.
2001-11-02In scsi_strvis(), collapse adjacent whitespace/NUL chars to a singleTodd C. Miller
space to get the most info with the least amount of wasted space. OK krw@, niklas@
2001-10-08Add a new quirk type, SDEV_NOCDB6, some USB devices like ATAPIDale Rahn
do not support 6 byte CDBs. This quirk is used for OLYMPUS USB cameras. Loosely based on code in FreeBSD. ok costa@
2001-08-26Don't restrict MICROP 4421-07 quirk to a specific firmware revisionTodd C. Miller
2001-08-25Change scsi_[free|get]_xs to use pool(9); art@ krw@ miod@ ok.Federico G. Schwindt
2001-08-18Make siop pay attention to quirks table. This not only eliminates theKenneth R Westerback
ugly INQUIRY snooping but avoids adding even uglier #ifdef's to turn off stuff, e.g. tagged queuing. Add two disk drives now known to lie about supporting tagged queuing to quirks table. One from millert@ (<MICROP, 4421-07 0329SJ, 0329>) and one from Hakan Olsson (<SEAGATE, ST150176LW, 0002>). Add field 'inquiry_flags2' to struct scsi_link to hold flags2 field from struct scsi_inquiry_data. These flags relate to SCSI-3 specific features. Clean up some logic, eliminating need for TARF_PPR flag.
2001-06-24cold is in systm nowMichael Shalayeff
2001-06-22KNFTheo de Raadt
2001-05-24Check malloc() return value, from tedu@heorot.stanford.eduAngelos D. Keromytis
2001-01-22ATAPI CD-ROMs BCD-16X and BCD-24X have troubles starting and stopping their ↵Constantine Sapuntzakis
disks
2000-11-23fix lun support, not as nice as i would likeTheo de Raadt
2000-11-20limit luns on usbTheo de Raadt
2000-04-18sd and scsibus detachConstantine Sapuntzakis
cdlock/cdunlock now through disk_lock/disk_unlock
2000-04-08These days, attach can occur outside the tsleep-restricted world ofConstantine Sapuntzakis
BSD autoconf. Don't use POLL & NOSLEEP mode if attaching after autoconf
2000-02-21add T_ENCLOSURE name and NOLUN Photon SENA devicesmjacob
1999-12-31Add SDEV_NOLUNS quirk for NEC CD-ROM DRIVE:501Todd C. Miller
1999-12-16Split SDEV_NOSYNCWIDE into SDEV_NOSYNC and SDEV_NOWIDE (as is donemjacob
in NetBSD). Look at Inquiry data during probing to further set quirks based upon device capabilities. Thanks to Todd.Miller@courtesan.com for doing the grunt work and encouraging this to get done fully.
1999-12-11LS-120's do support mode sense.Constantine Sapuntzakis
1999-11-22In order to support Fibre Channel fabric fatten scsi target id's to 16 bits.mjacob
Also, to support at least first level SCSI-3 hierarchical luns, fatten luns to 16 bits too.
1999-07-24oops, LS-120 entry mungedTheo de Raadt
1999-07-24SDEV_NOMODESENSE on LS-120 VER5 00Theo de Raadt
1999-07-20Make acd redundant.Constantine Sapuntzakis
Mostly based on NetBSD-current
1999-02-24Zip250 doesn't do modesense, either.Jason Downs
1998-11-28Add another Sony CD-ROM, wvdputte@reptile.rug.ac.beJason Downs
1998-11-11some scsi devices use 0xff as string terminator in inquiry strings; soren@t.dkTheo de Raadt
1998-07-19Don't bother trying to use luns on any CyberDrv devices.Jason Downs
1998-06-26no luns on the ricoh scannerTheo de Raadt
1998-05-05more lun flakes; rh@vip.at, simonb@telstra.com.auTheo de Raadt
1998-04-25some exceptions from netbsdTheo de Raadt
1998-03-18more SDEV_AUTOSAVE devicesTheo de Raadt
1998-02-16jaz drives do not do SDEV_NOTAGSTheo de Raadt
1998-01-12Obsure, old NEC SCSI semi-disk. A big blob of RAM with a SCSI disk interface.kstailey
1997-09-30Quirk for Cipher ST150S tape drive, jbernard@tater.mines.eduTodd C. Miller
1997-09-30Quirks for revs 015 and 016 of the hitachi dk515. jbernard@tater.mines.eduTodd C. Miller
1997-09-11another bad lun handler; pk@netbsdTheo de Raadt
1997-07-25more quirks from netbsdMichael Shalayeff
1997-04-14Merge in various pieces of current NetBSD scsi code, including but not limitedJason Downs
to: * New changer driver. * Better optical support. * Different `done' semantics. * New quirks for SCSI QIC tape driver, SCSI floppy drives. * Better support for SCSI-I devices. Everybody needs to test this.
1997-04-02most 1.3X versions of MEDIAVIS CDR-H93MV have problems; ↵Theo de Raadt
koji@math.human.nagoya-u.ac.jp
1997-03-13UMAX SuperVista S-12 also needs a NOLUNS quirk.briggs
1997-02-27Add quirk for a scannerThorsten Lockert
1997-02-24Adds support for DEC SCSI tape drives used in Vaxen that can also be usedjkatz
in PC's. from port-vax@netbsd.org
1997-01-18Boundary error (s/<=/</)Niklas Hallqvist
1997-01-16prevent scsiconf.c:110: warning: unused variable `l'kstailey
also, #ifdef 0 -> #ifndef __OpenBSD__
1997-01-16Added scsiprint from NetBSD, needed by new driver for VAX. -mojMats O Jansson
1997-01-15sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets convertedTheo de Raadt
to 8 internally so that drivers do not need to init it for regular scsi :-)
1996-11-28Make SCSI debugging more dynamic, more targets and luns can beNiklas Hallqvist
debugged simultaneously and which ones, as well as the verbosity, can be determined at runtime.
1996-11-25Oops, we don't have SDEV_NOSTARTUNIT. Remove TEAC scsi floppy quirk for now.Todd C. Miller