summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2011-06-15factor the common bits out of code that builds scsi inquiry commands intoDavid Gwynne
2011-06-07Fix a device reference leak in st{read,write}() by making them workMatthew Dempsky
2011-06-06Delete the long dead LOCKED and WANTED flags from cd(4), sd(4), andMatthew Dempsky
2011-06-05Drop kernel support for the useless DIOCWLABEL ioctl and prune a lotMatthew Dempsky
2011-06-03Get rid of the wlabel argument to bounds_check_with_label(). It'sMatthew Dempsky
2011-06-01Make uk(4) look more like sd(4) and cd(4) by adding a uklookup()Matthew Dempsky
2011-05-31Change a few of the more common disk drivers (sd, cd, wd, rd, and vnd)Matthew Dempsky
2011-05-04When printing scsi device ids, skip leading blanks and collapse multipleStuart Henderson
2011-04-29ss(4) is gone; no need for ssvar.h.Matthew Dempsky
2011-04-29zero out a scsi_links node_wwn and port_wwn fields after initialising itDavid Gwynne
2011-04-28clean up the path ops struct a bit. the path drivers init their xsh withDavid Gwynne
2011-04-27hds(4) is a path driver that knows how to talk to some hitachi modularDavid Gwynne
2011-04-27whitespace fixes.David Gwynne
2011-04-27use dma safe memory when talking to devices. this was written before bigmemDavid Gwynne
2011-04-27if a path returns XS_SELTIMEOUT, retry the io down another path like weDavid Gwynne
2011-04-26Add some defines for the logout request and response and fix theClaudio Jeker
2011-04-22delete a bogus blank lineTheo de Raadt
2011-04-17if mpath is disabled in config or ukc, then prevent path drivers fromDavid Gwynne
2011-04-08Since we don't print "drive offline" anymore, there is no need toKenneth R Westerback
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
2011-04-07'disk offline' is not helpful. Silence is golden.Kenneth R Westerback
2011-04-06add a new "serial" devid type for scsi devices. add code to usb that fakesDavid Gwynne
2011-04-06unconditionally print scsi device ids instead of just when mpath isDavid Gwynne
2011-04-05do inquiries against dmaable memory while probing devices.David Gwynne
2011-04-05move forward with scsi multipathing.David Gwynne
2011-03-31- use nitems(); no binary change.Jasper Lievisse Adriaanse
2011-03-18Fix stdetach() to call vdevgone() with the right device minor numbers.Matthew Dempsky
2011-03-18Add ukdetach() so that detaching an unknown SCSI device doesn't resultMatthew Dempsky
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
2011-02-21If a spin up command can't be started becaause of a lack of openings,Kenneth R Westerback
2010-12-24Have sd(4) devices check for and respect read-only information theKenneth R Westerback
2010-11-22SCSI devices are assumed to be T_FIXED unless they say otherwise.Kenneth R Westerback
2010-10-13No need to check ST_DYING flag twice in succession.Kenneth R Westerback
2010-10-12Force openings to 1 for devices that can't do tagged i/o, i.e. moreKenneth R Westerback
2010-09-27A few M_ZEROs without any M_WAITOK/M_NOWAITs.Thordur I. Bjornsson
2010-09-24init err to 0 in sd_get_parms to avoid confusion when checking rigidDavid Gwynne
2010-09-23Introduce a DKF_NOLABELREAD flag, which is used by a device to preventJoel Sing
2010-09-23descripe a few bits of the write same commands.David Gwynne
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
2010-09-21Add a real DIOCGPDINFO, allowing access to the physical informationKenneth R Westerback
2010-09-21opcodes, cdbs, and payloads for WRITE SAME 10/16 and UNMAP commands.David Gwynne
2010-09-20bufq_drain() does not need to be done in deactivate; we only needTheo de Raadt
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-14dont leak an xs in ststart if its called while the device is dying.David Gwynne
2010-09-14scsi_xsh_del the xs handler on DEACTIVATE.David Gwynne
2010-09-14Clean up sense mode handling to make residual value handling clearerKenneth R Westerback
2010-09-14the openings member of scsi_link is the maximum number of commands that aDavid Gwynne
2010-09-13i got the order of the bits in the cache page back to front. howDavid Gwynne