summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
AgeCommit message (Expand)Author
2014-07-01take the biglock before calling the xs completion handler.David Gwynne
2014-07-01take the biglock when calling an adapters scsi_cmd handler.David Gwynne
2014-07-01start on being able to safely run io through the midlayer withoutDavid Gwynne
2014-04-22factor out the code that figures out whether you're probing or detachingDavid Gwynne
2014-01-27poison the io "allocated" by the default pool allocator so any attempt toDavid Gwynne
2014-01-18rename scsi_ioh_runqueue to scsi_iopool_run, and make it availableDavid Gwynne
2013-10-07typoMiod Vallat
2013-09-27scsi_size() is now used only by cd(4). So move it from scsi_base.cKenneth R Westerback
2013-08-29rename scsi_sem_{enter,leave} to scsi_pending_{start,finish}. these areDavid Gwynne
2013-08-27make scsi_sem_leave only run again once, no matter how many timesDavid Gwynne
2013-08-26make scsi_{xsh,ioh}_{add,del} return whether they moved somethingDavid Gwynne
2013-08-25move the prototypes of scsi_sem_{enter,leave} into a header so thingsDavid Gwynne
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2012-07-01Do not try to send a 10 byte MODE_SENSE request to non-ATAPI non-UMASSMiod Vallat
2011-06-15factor the common bits out of code that builds scsi inquiry commands intoDavid Gwynne
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2011-03-02Sync ASC/ASCQ errors with www.t10.org/lists/asc-num.txt of 11/15/10.Kenneth R Westerback
2010-09-20bring back scsi_base.c r1.195 and scsiconf.h r1.138 now thatDavid Gwynne
2010-09-17revert scsi_base.c r1.195 and scsiconf.h r1.138 as it screws up with someDavid Gwynne
2010-09-14the openings member of scsi_link is the maximum number of commands that aDavid Gwynne
2010-09-08let things request the detach of everything on the whole bus, rather thanDavid Gwynne
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