summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Expand)Author
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
2005-06-09Fix typo in ASC/ASQ messages: DEnied -> Denied.Kenneth R Westerback
2005-06-05Fix scsi_mode_select() and scsi_mode_select_big() to send just theKenneth R Westerback
2005-06-04Make scsi_do_mode_sense() aware of the difference between the 8 byteKenneth R Westerback
2005-06-03Tweak scsi_do_mode_sense(). NetBSD was right and I was wrong. Sigh.Kenneth R Westerback
2005-06-02Fix pasto - use correct pointer to extract block count from 8 byteKenneth R Westerback
2005-05-31Remove unused sc_err1() parameter 'async'. Lint.Kenneth R Westerback
2005-05-28Sprinkle some /* FALLTHROUGH */'s as suggested by lint.Kenneth R Westerback
2005-05-28'openings' is u_int16_t, so 'openings <= 0' is wrong. Lint.Kenneth R Westerback
2005-05-28Forgot to specify parameter type. Lint.Kenneth R Westerback
2005-05-28snprintf returns int not size_t. Thank you lint.Kenneth R Westerback
2005-05-28Add _lto8b() and _8btol() to decode nblocks field ofKenneth R Westerback
2005-05-25Introduce safer, more general mode sense capability. Transparently useKenneth R Westerback
2005-05-22Check if the scsi_request has been released in the COMPLETE case asKenneth R Westerback
2005-05-14Add scsi_mode_[sense|select]_big() and use it instead ofKenneth R Westerback
2005-04-28more snprintf error checking. ok krw@Moritz Jodeit
2005-04-17Fix typoTom Cosgrove
2005-04-05Factor out scsi_mode_sense() and scsi_mode_select() like NetBSD does.Kenneth R Westerback
2005-04-01Cleanup SKEY_NOT_READY logic. Only retry command if it's likely theKenneth R Westerback
2005-03-24If READ CAPACITY(10) says there are more than 0xffffffff sectors,Kenneth R Westerback
2004-07-31Remove scsi_change_def() and related command structure. Its only useKenneth R Westerback
2004-05-28Clean up sense error logic and printing a bit, partly inspired byKenneth R Westerback
2004-05-17Elminate SCSIRET_* synonyms for EJUSTRETURN and ERESTART by usingKenneth R Westerback
2004-05-13More cleanup of SCSI sense printing. Better output, more readable code.Kenneth R Westerback
2004-05-09Eliminate verbosity parameter to scsi_print_sense and the associatedKenneth R Westerback
2004-05-09Add missing <cr>'s to various SC_DEBUG() calls, along with a few otherKenneth R Westerback
2004-04-18Restore siop's (and possibly others) ability to negotiate tags/wide/sync byKenneth R Westerback
2004-03-14Last pre-3.5 tweak: restore bus scanning to full speed by not performingKenneth R Westerback