summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Expand)Author
2010-08-30Avoid possible aliasing-related compiler issues by always writing toMatthew Dempsky
2010-08-25add scsi_iopool_destroy and scsi_link_shutdown. when a link orDavid Gwynne
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
2010-07-28No need to bzero() malloc'd memory if we used M_ZERO.Kenneth R Westerback
2010-07-27Add scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,Matthew Dempsky
2010-07-27the queue entry and state variables in the xsh and ioh structs are partDavid Gwynne
2010-07-25Restore previous behaviour of always bzero()'ing the buf passed toKenneth R Westerback
2010-07-24Get rid of scsi_deinit(), and change scsi_init() back to a one-timeMatthew Dempsky
2010-07-22In scsi_inquire_vpd(), actually just return EJUSTRETURN when dealingMatthew Dempsky
2010-07-22Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it theKenneth R Westerback
2010-07-06Fix monumental cock-up with SCSI_SILENT and SCSI_IGNORE_ILLEGAL_REQUESTKenneth R Westerback
2010-07-03Get rid of EAGAIN, retry scsi_xs_sync() commands (after a scsi_delay())Kenneth R Westerback
2010-07-02Always try READ CAPACITY(16) on SCSI-3 devices. If it fails, returnKenneth R Westerback
2010-07-02Use M_NOWAIT only if SCSI_NOSLEEP is set, as is the usual idiom. FromKenneth R Westerback
2010-07-01Move rdcap/rdcap16 structs used to get info about disk size off ofKenneth R Westerback
2010-07-01Die struct scsi_device! Die! Instead, save a pointer to the routineKenneth R Westerback
2010-07-01Restore setting xs->bp; fixes ncr(4) on VAX.Matthew Dempsky
2010-06-28remove a lonely remnant from some debug code that snuck in.David Gwynne
2010-06-14remove the scsi_buf_* functions as these have beenThordur I. Bjornsson
2010-06-01if we're going to set ITSDONE when an xfer is done cos the adapter expectsDavid Gwynne
2010-05-24"scsi_ioh_add:" -> "scsi_ioh_del:" in scsi_ioh_del() panic msg.Kenneth R Westerback
2010-04-17ramdisks need to compile; ok dlgTheo de Raadt
2010-04-17use the iopools mutex to protect the semaphore wrapping the openingsDavid Gwynne
2010-04-16fix an fatal flaw with iopools.David Gwynne
2010-04-12i snuck fine grained locking into the midlayer as part of all theDavid Gwynne
2010-04-06implement a new mechanism for allocating resources on the bus.David Gwynne
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
2010-01-15Oops. Respect the various IGNORE flags when not in SCSIDEBUG mode.Kenneth R Westerback
2010-01-15Abstract and merge the manual buf queue manipulating functions intoKenneth R Westerback
2010-01-14Print sense data during SCSIDEBUG again. Always print the decodedKenneth R Westerback
2010-01-14Tweak names a bit. show_mem -> scsi_show_mem, show_scsi_xs ->Kenneth R Westerback
2010-01-13Get new xs's with PR_ZERO to ensure all shiny new fields getKenneth R Westerback
2010-01-13Cookie or done is set on entry to scsi_xs_sync(). Take panic() outKenneth R Westerback
2010-01-13when checking an xs for errors, first check if the device the xs is forDavid Gwynne
2010-01-13scsi_xs_sync uses the xs cookie and done pointers, so users of scsi_xs_syncDavid Gwynne
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