summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
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
2010-07-22Mark two more DMA accessible malloc(9)s.Matthew Dempsky
2010-07-22In st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,Matthew Dempsky
2010-07-22In scsi_inquire_vpd(), actually just return EJUSTRETURN when dealingMatthew Dempsky
2010-07-22style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,Matthew Dempsky
2010-07-22In safte_match(), return 0 on SCSI errors, not an errno value. FixesMatthew Dempsky
2010-07-22Appropriately set SCSI_DATA_IN or SCSI_DATA_OUT depending on type ofMatthew Dempsky
2010-07-22Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it theKenneth R Westerback
2010-07-21let mpath build again even though it is disabledTodd T. Fries
2010-07-13Correct comment. scsi_sense_data is now 18 bytes, not 32.Kenneth R Westerback