summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umass_scsi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add SDEV_UMASS flag, analogous to SDEV_ATAPI, and use it to force akrw2005-04-271-1/+2
| | | | | | | | | | full LUN scan on UMASS SCSI targets. UMASS provides reliable max lun information so we shouldn't waste time. Fixes many x-in-1 card reader/writers that report identical INQUIRY information for every slot they provide. Lots of diagnosis and testing by dlg@, ok dlg@, 'I can live with this' marco@.
* Add support for polled umass/SCSI transactions. Should eliminate the panicspascoe2005-04-011-18/+23
| | | | | | seen at reboot time after writing to umass devices. ok dlg@, testing markus@
* remove an unused vardlg2004-07-221-4/+2
| | | | ok krw@
* from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21dlg2004-07-211-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure. In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.) log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960. log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical. ok krw@
* Eliminate the quirks SDEV_NOSTARTUNIT, UMASS_QUIRK_NO_START_STOP, andkrw2004-02-211-21/+1
| | | | | | | UMASS_QUIRK_FORCE_SHORT_INQUIRY. Fixes a bunch of USB devices. Based on work by Mycroft in NetBSD. ok tdeval@ deraadt@.
* Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. Alsokrw2004-01-141-3/+2
| | | | | | | | | | | | | | moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom. Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD ok deraadt@, mvme* changes by miod@.
* Make debug printf a real debug.grange2004-01-101-3/+3
| | | | ok nate@
* Mention in the 'status cmd failed' message the scsi command thatkrw2003-05-171-2/+3
| | | | | | failed. ok nate@.
* sync with NetBSD and add various local hacks to make things work correctlynate2003-05-171-0/+464
| | | | with our scsi layer
* Meant to commit only ulpt and committed everything. Most things weren't readynate2002-05-071-488/+0
|
* Sync ulpt driver with NetBSDnate2002-05-071-0/+488