summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
AgeCommit message (Expand)Author
2010-12-24Have sd(4) devices check for and respect read-only information theKenneth R Westerback
2010-10-13No need to check ST_DYING flag twice in succession.Kenneth R Westerback
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
2010-09-20bufq_drain() does not need to be done in deactivate; we only needTheo de Raadt
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-01Don't give xs->resid an invalid value (xs->datalen * st->blksize)Kenneth R Westerback
2010-09-01make struct bufq a member of the softc for devices that use it,David Gwynne
2010-08-30Avoid possible aliasing-related compiler issues by always writing toMatthew Dempsky
2010-07-22In st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,Matthew Dempsky
2010-07-22Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it theKenneth 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-30Prune some dead assignments in st_interpret_sense(); st(4) alreadyMatthew Dempsky
2010-06-29Change st(4) to use the FIFO buf sorting discipline rather than theMatthew Dempsky
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffPhilip Guenthe
2010-06-25move st over to using xshandlers for scheduling io. based on theDavid Gwynne
2010-06-16Bring ststrategy() into line with sdstrategy() and cdstrategy(), makingKenneth R Westerback
2010-06-15dont pass the dev_t from the scsi device drivers into the midlayer forDavid Gwynne
2010-06-11Restore an unusual XS_SENSE semantic that inadvertantly got lostKenneth R Westerback
2010-06-01move cd, st & ss over to bufq's again.Thordur I. Bjornsson
2010-04-12i snuck fine grained locking into the midlayer as part of all theDavid Gwynne
2010-01-15Abstract and merge the manual buf queue manipulating functions intoKenneth R Westerback
2010-01-15Restore XS_BUSY delay behaviour for buf i/o. Same as for sync path.Kenneth R Westerback
2010-01-12bring sd.c r1.180 over to the other drivers now using the antisemaphore,David Gwynne
2010-01-11Bring mutex protections to ststart, cdstart and ssstart, as alreadyKenneth R Westerback
2010-01-09dont try to prevent multiple concurrent runs of a devices start routineDavid Gwynne
2009-12-26move st over to the new midlayer.David Gwynne
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2008-09-22Do not return an uninitialized value on success in stclose().Miod Vallat
2008-09-06Return EIO when the residual is > xs->datalen, even if SCSI_SILENT isKenneth R Westerback
2008-06-22Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with SCSI_RETRIES,Kenneth R Westerback
2008-05-12Fix device reference counting. Now that we try to support detachableKenneth R Westerback
2008-05-09Oops. When detaching tape drives look for devices using 'stopen' notKenneth R Westerback
2007-11-27typos; ok jmc@Martynas Venckus
2007-11-22Ansi-fy.Kenneth R Westerback
2007-11-22Ooops. Don't de-reference st until after it has been pointed at theKenneth R Westerback
2007-11-16convert code over from sd.c, to let tapes discollect. Lucas StefanuttiTheo de Raadt
2007-09-16A couple of obvious bzero() -> M_ZERO changes I missed.Kenneth R Westerback
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-01No need for tape fields to be daddr_t. int will do.Kenneth R Westerback
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-01-20Add media_fileno, media_blkno into st_softc and report their valuesKenneth R Westerback
2007-01-05As first brought to my attention by Russel Sutherland, our deletion ofKenneth R Westerback
2006-12-21Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->Kenneth R Westerback
2006-12-12Give the SCSI layer the ability to requeue i/o's rejected by a driverKenneth R Westerback
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
2006-11-27more magic removalBob Beck