summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
AgeCommit message (Expand)Author
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-05-29To prevent anyone else from stumbling on this (now) archaic bit ofKenneth R Westerback
2016-09-04Remove support for tape block devices. Nobody mount(8)s tapes any longer.Christian Weisgerber
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2016-03-11"if (_3btol(cmd->len) != 0)" is more likely to be a useful test thanKenneth R Westerback
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-10-03Print daddr_t variables with %lld, u_int64_t variables with %llu.Kenneth R Westerback
2013-07-05Tweak calculations of resid to avoid unsigned vs signed comparison andKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-06-06Fix EOM handling. Makes Bacula much happier by allowing the use ofKenneth R Westerback
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
2011-06-07Fix a device reference leak in st{read,write}() by making them workMatthew Dempsky
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-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
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