summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Expand)Author
2008-07-26Silence scsi_inquire_vpd() so devices that don't understand the necessaryKenneth R Westerback
2008-07-05When SCSIDEBUG'ing, print data about to be written (for commandsKenneth R Westerback
2008-06-22Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with SCSI_RETRIES,Kenneth R Westerback
2008-06-21Oops. Forgot to actually change the retries in scsi_size() to SCSI_RETRIES.Kenneth R Westerback
2008-06-15Treat SENSE_NOT_READY_INIT_REQUIRED sense errors the same asKenneth R Westerback
2008-06-14Nuke ADEV_NOTUR, always issue TEST UNIT READY to clear out power-upKenneth R Westerback
2008-06-13Merge show_scsi_xs() and show_scsi_cmd() and move invocation so theKenneth R Westerback
2007-11-25dont use the adapter_softc member of scsi_link as a softc anymore. theDavid Gwynne
2007-09-16MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,Kenneth R Westerback
2007-06-23Implement disk sizes > 2^32-1. Code modelled on NetBSD.Kenneth R Westerback
2007-05-31remove the scsi task thread, and replace it with the system workq.David Gwynne
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-03add a wrapper for querying vpd inquiry pagesDavid Gwynne
2007-04-03modernise scsi_inquiry. the length field has grown and now theres pages toDavid Gwynne
2006-12-12Give the SCSI layer the ability to requeue i/o's rejected by a driverKenneth R Westerback
2006-11-27more magic removalBob Beck
2006-11-27rework asc/ascq handling to get rid of "magic" 0x values in the code, changesBob Beck
2006-11-04kthread_create returns an int, not a pointer. compare the return value toDavid Gwynne
2006-09-22implement a kernel thread that can be used by the midlayer or scsi driversDavid Gwynne
2006-08-04Add ENOMEDIUM and EMEDIUMTYPE to report medium errors to userland programsBob Beck
2006-07-29The version field of scsi_inquiry_data is not a simple numeric valueKenneth R Westerback
2006-07-23Use REPORT LUNS to get the list of LUNs to probe. If such a list isKenneth R Westerback
2006-07-22If the LUN is > 7, don't try to stuff it into the three bits availableKenneth R Westerback
2006-07-15catch "Media Removal Prevented" for devices that are capable of telling usBob Beck
2006-07-13Eliminate scsi_link field 'scsi_version' and just use the INQUIRY dataKenneth R Westerback
2006-07-11scsi_get_xs raises splbio, but didnt lower it on error. tsk tsk.David Gwynne
2006-07-11knf and ansi. no binary changeDavid Gwynne
2006-05-28Add PCATCH to tsleep flags when a scsi command is waiting for an openingBob Beck
2006-05-13When SCSIDEBUG'ing, display the return value of scsi_interpret_sense()Kenneth R Westerback
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-05-07If a device says a MODE SENSE command worked fine, do *not* try a MODEKenneth R Westerback
2006-05-07Zap a bunch of trailing whitespace.Kenneth R Westerback
2006-02-06typos from alexey dobriyan;Jason McIntyre
2005-11-28fix month-old breakage found by genududes (after henning's breakage)Michael Shalayeff
2005-11-13ATAPI Tape drives need 6 byte MODE SENSE commands according to atKenneth R Westerback
2005-11-13Use SCSI_DELAY only once. Document it. Default to no delay.Kenneth R Westerback
2005-11-13Use scsi_delay() instead of delay() when waiting for scsi disk toKenneth R Westerback
2005-11-07Death to superfluous verbiage. Suppress errors when getting the parametersKenneth R Westerback
2005-11-02Abstract delay code out and call it directly from XX_interpret_sense.Kenneth R Westerback
2005-10-22When a scsi command is waiting for an opening or is waiting to be retried,Kenneth R Westerback
2005-10-16Don't pound UNIT ATTENTION retries in as fast as possible. If we areKenneth R Westerback
2005-10-10Make some panic messages more useful.Kenneth R Westerback
2005-10-04shorter name for wait channelTheo de Raadt
2005-09-11Simplify code by changing struct scsi_mode_sense_buf{ union {}Kenneth R Westerback
2005-08-29If a buffer larger than the max allowed is offered to scsi_mode_sense()Kenneth R Westerback
2005-08-01Return 0 as the block size when READ_CAPACITY fails in scsi_size().Kenneth R Westerback
2005-06-23Don't discard the blocksize information provided by the READ CAPACITYKenneth R Westerback
2005-06-18Shorten a couple of structure names:Kenneth R Westerback
2005-06-18Switch to trying 6 byte MODE SENSE commands (for non ATAPI devices atKenneth R Westerback
2005-06-12It turns out you need to ask for 16 byte block descriptors. We don't,Kenneth R Westerback