summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Collapse)Author
1998-02-14clear scsi_xfer's status byte before executing or re-executing the command.Theo de Raadt
1997-12-31return EROFS for write protect; isTheo de Raadt
1997-09-11Fix setting up of the LUN field of the CDBNiklas Hallqvist
1997-09-05Add SCSITERSE option which omits the (large) ASC/ASCQ table.Todd C. Miller
Old scsi error printing code is now gone.
1997-09-05fix compilation problem when SCSIVERBOSE=0Todd C. Miller
1997-09-05clean up sense info printing furtherTheo de Raadt
1997-09-03simplify verbose error reportingTheo de Raadt
1997-09-02delete extra \nTheo de Raadt
1997-08-22Add more detailed SCSI error printing by Matthew Jacob. Enabled byTodd C. Miller
default. Use "option SCSIVERBOSE=0" to turn off (only added 8Kb to my kernel). From the NetBSD commit message: Add in more detailed SCSI error printing, based off of final SCSI-2 spec. This will also print out things like progress indicator errors, and will also dump out additional sense bytes that haven't been decoded.
1997-07-03print correct sense bytesTheo de Raadt
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.
1996-06-16NetBSD PR#2535: add mode sense 5 and floppy support in our framework.Jason Downs
1996-05-06from netbsd; SCSIDEBUG printf() fixesTheo de Raadt
1996-05-02no sys/cpu.h, fix bugs in chTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-02-29Fix typo in commentNiklas Hallqvist
1996-02-20Sync. w/ NetBSD: scsi prototypes.briggs
1996-01-31COMMAND ABORTED sense key is 0xb, not 0xa. Also clean up diagnostic message.briggs
1996-01-14From NetBSD: (required for last change to scsi_base.c in case we getbriggs
"command aborted" status) Handle cases like the following: - controller calls scsi_done() with error XS_TIMEOUT - scsi_done() calls sddone() - sddone() calls disk_unbusy() - scsi_done() calls controller to retry command (missing the call to disk_busy()) - controller calls scsi_done() - scsi_done() calls sddone() - sddone() calls disk_busy(), which panics because of the imbalance. Bug noticed by Leo Weppleman, who also suggested this fix; pass an additional boolean argument ("complete") to the device's "done" routine, with a value of `0' passed from the previous call to "done", and add an additional call to "done" when the xfer resources are freed.
1996-01-14Retry a command when we get a command aborted message for it.briggs
This might be a transient error. Do complain about it, though.
1995-10-18initial import of NetBSD treeTheo de Raadt