summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Expand)Author
2010-01-13Oops. Restore decrement of xs->retries I optimized away. Not everythingKenneth R Westerback
2010-01-13typo in panic messagejoshua stein
2010-01-10Restore delay on XS_BUSY result, just in case it is needed somewhere. PolishKenneth R Westerback
2010-01-10Set ITSDONE in scsi_done() and zap trivial instances of setting itKenneth R Westerback
2010-01-09panic with a nice message if scsi_xs_sync_done gets called twiceDavid Gwynne
2010-01-09always try to restart io on a device when an opening is made available fromDavid Gwynne
2010-01-07warn if scsi_done has been called twice on an xs in the scsi_xs_sync pathDavid Gwynne
2010-01-04nothing in the midlayer cares about ITSDONE anymore. if a command is done,David Gwynne
2010-01-04introduce scsi_xs_sync. this will synchronously execute a scsi_xferDavid Gwynne
2010-01-01deck chair shufflingDavid Gwynne
2010-01-01split the flags used in a scsi_link structure to represent its state atDavid Gwynne
2009-12-09Nuke stray comment referencing deceased TRY_AGAIN_LATER that dlg@Kenneth R Westerback
2009-12-07Re-enable SCSIDEBUG display of commands and data. Original diffKenneth R Westerback
2009-12-01properly handle all xs states that can be returned by an adapter in sd.David Gwynne
2009-12-01put the midlayer changes back in.David Gwynne
2009-11-22Nuke TRY_AGAIN_LATER now that no driver returns it.Kenneth R Westerback
2009-11-12revert midlayer back to it was before i put my big rewrite in. this isDavid Gwynne
2009-11-10remove a stale comment from a previous revision of the diff iDavid Gwynne
2009-11-10fix the NO_CCB handling i broke when working on simplifying the midlayer.David Gwynne
2009-11-10backout the backout marco did of my code because of the NO_CCB breakage.David Gwynne
2009-11-05The big diff dlg committed to the midlayer breaks NO_CCB andMarco Peereboom
2009-10-27if (!ISSET(flags, SCSI_NOSLEEP)) return; else sleep(); is wrong.David Gwynne
2009-09-14rework the scsi midlayer to start addressing some problems i haveDavid Gwynne
2009-09-02take advantage of workq_queue_task.David Gwynne
2009-08-13make scsi_done set ITSDONE on the xs. this means hba drivers dont have toDavid Gwynne
2009-08-13provide an api for an interrupt (or something like it) to notify theDavid Gwynne
2009-06-02did not issue scsi_inquire with EVPD flag for USB mass strage classYojiro Uo
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