summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2009-12-03prevent a completion interrupt pulling io of the buf queue and shoving itDavid Gwynne
2009-12-03set the length of the cdb when synchronising cache.David Gwynne
2009-12-01Mark disk as dirty when starting a write to it. Restores issuing ofKenneth 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-22Remove only use in the tree of ESCAPE_NOT_SUPPORTED. Which, ironically,Kenneth R Westerback
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-10dont compare devids when we dont have a devid to compare with.David 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-11-01Move IS[12]BYTEMSG and ISEXTMSG defines to a common place.Federico G. Schwindt
2009-10-27if (!ISSET(flags, SCSI_NOSLEEP)) return; else sleep(); is wrong.David Gwynne
2009-10-27Check return value of scsi_xs_get() in scsi_ioc_cmd() for NULL. ItKenneth R Westerback
2009-10-23if you're attempting to detach multiple devices (eg, many targets,David Gwynne
2009-10-22devices below the scsibus should all be detached via scsi_detach_lun.David Gwynne
2009-10-21use _lto8b to calculate 64 bit address. Fixes issue ckuethe saw at 2TBMarco Peereboom
2009-10-20"active" is an unused member of the scsi_link structure. i couldnt find anyDavid Gwynne
2009-10-14rework how devids are handled in the midlayer and mpath.David Gwynne
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-10-12avoid smashing the stack when we have sense data to return back to userlandDavid Gwynne
2009-10-12mask bits correctly in devid vpd for the PIDavid 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-27More iscsi defines needed.Claudio Jeker
2009-08-14Another change to make my life easier when parsing pdus.Claudio Jeker
2009-08-13make scsi_done set ITSDONE on the xs. this means hba drivers dont have toDavid Gwynne
2009-08-13More changes to make the parsing of those evil messages a bit easier.Claudio Jeker
2009-08-13Add more stuff change some fields to make the handling a bit easier.Claudio Jeker
2009-08-13provide an api for an interrupt (or something like it) to notify theDavid Gwynne
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
2009-08-10if mpath steals a link, print out where the link was stolen so dmesg stillDavid Gwynne
2009-08-10pull the printing out of scsibusprint so it can be used against scsi_linkDavid Gwynne
2009-08-09shove a minphys request against mpath down all to the minphys on each pathDavid Gwynne
2009-08-09if a physical path to a device behind mpath goes away, remove the path. itDavid Gwynne
2009-08-09add mpath(4), a driver that steals paths to scsi devices if itDavid Gwynne
2009-08-08if the adapters wwn fields are set, print them out when attaching scsibus.David Gwynne
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
2009-06-06We only really need to #define SYNCHRONIZE_CACHE 0x35 once.Kenneth R Westerback
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson
2009-06-02did not issue scsi_inquire with EVPD flag for USB mass strage classYojiro Uo
2009-03-23actually follow rfc 3720, from Remco.David Gwynne
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2009-02-16Don't try to SCSIDEBUG targets or luns >31 since we only have 32 bits toKenneth R Westerback
2009-02-16on some buses (eg sas and fc fabrics) the initiator id doesnt meanDavid Gwynne
2009-01-20Prevent unaligned access.Mark Kettenis
2009-01-10Get rid of eye-bleeding horror of casting pointers to u_long to addBob Beck
2009-01-10Add support for the volume buttons and for the eject button foundRobert Nagy