summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2019-08-22T10/BSR INCITS 503 (SPC-5) is apparently a thing. UpdateKenneth R Westerback
2019-08-20scsi_probe_bus() always returns 0. Nobody but scsi_probe() evenKenneth R Westerback
2019-08-18Every "goto bad" in scsi_probedev() deserves a SC_DEBUG().Kenneth R Westerback
2019-08-18Rename 'link' to 'link0' as it refers to target 0 only.Kenneth R Westerback
2019-08-18When activating or detaching a target don't search the scsi_link SLISTKenneth R Westerback
2019-08-18sc_buswidth field in struct scsi_link is redundant. Just useKenneth R Westerback
2019-08-17Nuke some unused variables, tweak some declarations andKenneth R Westerback
2019-08-14scsi_[add|remove]_link() are local functions so move theirKenneth R Westerback
2019-08-14Whitespace nit. Add {} around body of SLIST_FOREACH().Kenneth R Westerback
2019-08-14Tweak some comments.Kenneth R Westerback
2019-02-10"non-existant" is one of those words that don't exist, so use "non-existent"Peter Hessler
2019-01-20No leading space(s) before labels.Kenneth R Westerback
2019-01-20When retiring a SCSI request, sometimes the buf's b_error value isKenneth R Westerback
2018-08-09Remove the port id check entirely. We don't do anything with the portJonathan Matthew
2018-07-27hds arrays can have more ports now, apparently; this lets theo use 4 pathsJonathan Matthew
2018-04-27Delete superfluous includes of <sys/file.>Philip Guenther
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-11-11Fix a broken compilation when using SCSIDEBUG options(4).Mike Larkin
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-05-29sd: flush cache when closing writable FDStefan Fritsch
2017-05-29Add an ioctl to tell storage devices to flush their internal cachesStefan Fritsch
2017-05-29To prevent anyone else from stumbling on this (now) archaic bit ofKenneth R Westerback
2017-05-19Add some comments about the assumptions of the scsi mid layerStefan Fritsch
2017-05-04Also pass the blk offset to disk_unbusy(), so that it can pass it toTheo de Raadt
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-04Remove support for tape block devices. Nobody mount(8)s tapes any longer.Christian Weisgerber
2016-03-19Do not run into sdgetdisklabel() when scsi disk is dying. AddAlexander Bluhm
2016-03-18After sleeping and before accessing sc_link, check that scsi diskAlexander Bluhm
2016-03-17Do not access the scsi link structure in sdclose() if the diskAlexander Bluhm
2016-03-16Add SDF_DYING checks to more functions in scsi disk, to prevent anAlexander Bluhm
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2016-03-12When unplugging an USB umass stick, the kernel could panic becauseAlexander Bluhm
2016-03-11"if (_3btol(cmd->len) != 0)" is more likely to be a useful test thanKenneth R Westerback
2016-03-10Enforce some naming sanity. Stop using 'sc_link' to mean two differentKenneth R Westerback
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-02-03Do not access the scsi link of the disk at the beginning of sdopen()Alexander Bluhm
2016-02-03When accessing the scsi link of a scsi disk, use a variable "sc_link"Alexander Bluhm
2015-08-23add some sizes to free. looked over by deraadtTed Unangst
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-04-02use correct capitalization of 'BlackBerry'Jasper Lievisse Adriaanse
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-03-08Fix some format specifiers in debug code.Kenneth R Westerback
2015-03-04prevent umass devices from being considered for paths.David Gwynne
2015-02-11we dont need sys/lock.h because we dont use lockmgr, but we do needDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-15convert bcopy to memcpy. ok dlg krwTed Unangst
2014-09-20Fix bug in taskq conversion that would lead to a null pointer dereference.Mark Kettenis
2014-09-18Some disks, such as the Seagate Cheetah 73LP FC with Sun firmwareMark Kettenis
2014-09-14remove uneeded proc.h includesJonathan Gray