summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_ioctl.c
AgeCommit message (Expand)Author
2018-04-27Delete superfluous includes of <sys/file.>Philip Guenther
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-15convert bcopy to memcpy. ok dlg krwTed Unangst
2011-06-21scsi_link's scsibus field is redundant with bus->sc_dev.dv_unit, soMatthew Dempsky
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2010-07-22Mark two more DMA accessible malloc(9)s.Matthew Dempsky
2010-07-10Limit SCIOCCOMMAND and ATAIOCCOMMAND requests to transferring MAXPHYSMatthew Dempsky
2010-07-01ioctl XS_SENSE/XS_SHORTSENSE should print the sense info likeKenneth R Westerback
2010-07-01Call malloc(9) with M_ZERO to prevent code paths from exposingMatthew Dempsky
2010-06-15dont pass the dev_t from the scsi device drivers into the midlayer forDavid Gwynne
2010-04-23the SAT spec from t10.org defines messages for tunnelling ATA commands overDavid Gwynne
2010-02-27Don't print sense info for ioctl's. Let the userland program decideKenneth R Westerback
2010-01-04introduce scsi_xs_sync. this will synchronously execute a scsi_xferDavid Gwynne
2009-12-01put the midlayer changes back in.David Gwynne
2009-11-12revert midlayer back to it was before i put my big rewrite in. this isDavid Gwynne
2009-11-10backout the backout marco did of my code because of the NO_CCB breakage.David Gwynne
2009-11-05The big diff dlg committed to the midlayer breaks NO_CCB andMarco Peereboom
2009-10-27Check return value of scsi_xs_get() in scsi_ioc_cmd() for NULL. ItKenneth R Westerback
2009-10-12avoid smashing the stack when we have sense data to return back to userlandDavid Gwynne
2009-09-14rework the scsi midlayer to start addressing some problems i haveDavid Gwynne
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2007-09-16MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,Kenneth R Westerback
2007-09-07The obvious bzero/memset -> M_ZERO changes.Kenneth R Westerback
2007-01-16Report SDEV_UMASS devices as non-'SCSI', i.e. 'ATAPI', devices whenKenneth R Westerback
2006-12-21Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->Kenneth R Westerback
2006-07-23remove some scsi ioctls, most importantly the ones that can reprobe theDavid Gwynne
2006-07-11a few formatting tweaks. this was mostly knf/ansi already. no binary changeDavid Gwynne
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
2005-12-08Don't panic for pathological i/o sizes unless minphys() really isKenneth R Westerback
2005-10-10Make some panic messages more useful.Kenneth R Westerback
2005-05-28Handle XS_SHORTSENSE error codes in ioctl situations. From NetBSD.Kenneth R Westerback
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-11-30No longer require write permission for read-only SCSI commandsKenneth R Westerback
2004-01-03Make 'unknown error category' message more informative by including errorKenneth R Westerback
2002-06-09some splassert and protection of biodone.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-07pass the proc* down the ioctl chain to controller; mjacob@ csapuntz@ okMichael Shalayeff
2001-06-22KNFTheo de Raadt
2001-04-30Pass IOCTL to adapter device if not understood by SCSI layer.Constantine Sapuntzakis
2001-01-25spellingTodd T. Fries
1999-08-24Added type field to scsi_addr to reflect bus/device type (ATAPI or SCSI).Constantine Sapuntzakis
1997-09-01Correct a debug printoutNiklas Hallqvist
1997-08-31* Make scsi_do_ioctl() sane again.Jason Downs
1997-04-14Merge in various pieces of current NetBSD scsi code, including but not limitedJason Downs
1996-08-13Remove unused variableNiklas Hallqvist
1996-08-11limit ioctl priviledgesTheo de Raadt