summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
AgeCommit message (Expand)Author
2020-11-19TL;DR -- don't configure devices that return insufficient INQUIRY data.Kenneth R Westerback
2020-08-18Try to avoid a theoretical infinite loop while detaching all the scsi_link's onKenneth R Westerback
2020-08-14Redistribute and tweak the scsi_[attach|probe|detach]_[bus|target|lun]() code toKenneth R Westerback
2020-08-11Explicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will doKenneth R Westerback
2020-08-10Minor code shuffle to get all *_activate(), *_probe() and *_detach() functionsKenneth R Westerback
2020-08-09More code shuffling. Fix a rename missed in previous.Kenneth R Westerback
2020-08-09Shuffle functions and declarations around to more logical grouping. Nuke someKenneth R Westerback
2020-08-08scsi_link's are born knowing their bus. Use that instead of passing extraKenneth R Westerback
2020-07-20Move remaining scsi bus initialization info from "prototype scsi link"Kenneth R Westerback
2020-07-19Move the adapter related items (luns, adapter, adapter_target,Kenneth R Westerback
2020-07-16Access scsibus_softc info (luns, adapter, adapter_target,Kenneth R Westerback
2020-07-16Beef up struct scsibus_softc to hold the information needed toKenneth R Westerback
2020-07-05Nuke struct scsi_link's "scsibus" member. The two drivers using itKenneth R Westerback
2020-06-30Nuke unneeded 'sa_inqbuf' member of struct scsi_attach_args. It alwaysKenneth R Westerback
2020-02-05Nuke unnecessary abstraction 'scsi_minphys()' which just callsKenneth R Westerback
2019-12-08Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,Kenneth R Westerback
2019-11-23Consistently use ISSET() to check for set flags.Kenneth R Westerback
2019-11-23Consistently use !ISSET() to check for unset flags.Kenneth R Westerback
2019-11-23Consistently use SET() to set bits.Kenneth R Westerback
2019-11-09Make sure that SDEV_NOSYNC abd SDEV_NOWIDE quirks are notKenneth R Westerback
2019-09-27Add/tweak #endif comments to make spelunking via grep more rewarding.Kenneth R Westerback
2019-09-27Shuffle and consolidate SCSIDEBUG declarations into fewer sections inKenneth R Westerback
2019-09-24Use consistent names for unused flags/quirks when printing same underKenneth R Westerback
2019-09-23When printing the scsi_link info under SCSIDEBUG show state, luns,Kenneth R Westerback
2019-09-16Update list of device types with combination of FreeBSD andKenneth R Westerback
2019-09-03Shorten normal dmesg attach verbiage and expand SCSIDEBUG verbiage.Kenneth R Westerback
2019-09-01Adopt the SCSI versioning #define's from FreeBSD. Eliminate theKenneth R Westerback
2019-08-30Rectify error made in 2006. SPC-2 == SCSI-3, not SCSI-2!!Kenneth R Westerback
2019-08-28Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) usesKenneth R Westerback
2019-08-27Refactor probing logic to mirror detach logic. i.e. put smarts inKenneth R Westerback
2019-08-24Simply logic of detaching things. scsi_detach_bus() folded intoKenneth R Westerback
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
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
2016-03-10Enforce some naming sanity. Stop using 'sc_link' to mean two differentKenneth R Westerback
2015-08-23add some sizes to free. looked over by deraadtTed Unangst
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-11we dont need sys/lock.h because we dont use lockmgr, but we do needDavid Gwynne
2014-12-15convert bcopy to memcpy. ok dlg krwTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst