summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
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
2010-09-12Garbage collect rot_rate from disk_parms. No longer in disk label so noKenneth R Westerback
2010-09-12Make cd the same as sd by calling the cd_parms member of the softc 'params'Kenneth R Westerback
2010-09-11Be more ruthlessly consistent in variable names for blk/block ==Kenneth R Westerback
2010-09-10scsi_xsh_del the io handler in deactivate to prevent it from being run onDavid Gwynne
2010-09-08Introduce a disk_lookup() function which calls device_lookup(), beforeJoel Sing
2010-09-08Store a struct device pointer within struct disk and populate this whenJoel Sing
2010-09-08let things request the detach of everything on the whole bus, rather thanDavid Gwynne
2010-09-08activate hooks should return a value.David Gwynne
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
2010-09-07rely on SCSI_AUTOCONF for cd_resume instead of wrapping it in a workqTheo de Raadt
2010-09-02the page_length field in the vpd page header is 2 bytes, not 1.David Gwynne
2010-09-01Don't give xs->resid an invalid value (xs->datalen * st->blksize)Kenneth R Westerback
2010-09-01Restore compilability after bufq changesMiod Vallat
2010-09-01ata information vpd page idDavid Gwynne
2010-09-01make struct bufq a member of the softc for devices that use it,David Gwynne
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
2010-08-31Change the powerhook into an activation routine. It has to use a workq.Theo de Raadt
2010-08-31in the activate function, order the DVACT_ functions in the order theyTheo de Raadt
2010-08-30Avoid possible aliasing-related compiler issues by always writing toMatthew Dempsky
2010-08-28Garbage collect struct dkdriver.Matthew 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-08-03Don't attempt to set the read or write caches on usb disks. ItKenneth R Westerback
2010-08-02Don't refer to xs->cmd, even via a pointer to xs->cmd, after xs hasKenneth R Westerback
2010-07-28DVD_INVALIDATE_AGID is a 'no payload' operation, so don't setKenneth 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-25Missing SCSI_DATA_IN flag in dvd_read_copyright() causedKenneth R Westerback
2010-07-25Restore previous behaviour of always bzero()'ing the buf passed toKenneth R Westerback
2010-07-25Let DVD's play again. Logic reversal prevented copyright reading.Kenneth R Westerback
2010-07-24Get rid of scsi_deinit(), and change scsi_init() back to a one-timeMatthew Dempsky
2010-07-22Fix a few more scsi_scsi_cmd() removal regressions, caught byMatthew Dempsky