summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
AgeCommit message (Expand)Author
2022-04-06Avoid traversing SLIST twice to remove a link.Kenneth R Westerback
2022-04-06Recognize LUN 0 device if SID_QUAL_LU_OFFLINE and T_NODEVICE areKenneth R Westerback
2022-04-02Add a paranoia/future proofing check for link->pool == NULL toKenneth R Westerback
2022-04-02Bring back r1.247, using scsi_detach_link() to releaseKenneth R Westerback
2022-03-28Only SLIST_REMOVE() a link when the link is on the list.Kenneth R Westerback
2022-03-24Revert previous. Breaks probing native IDE devices.Kenneth R Westerback
2022-03-23When configuring a scsi_link that has passed dev_probe() butKenneth R Westerback
2022-03-22Nuke increasingly pointless comment. Shorten a line andKenneth R Westerback
2022-03-21Whitespace tweaks.Kenneth R Westerback
2022-03-21No point in calling scsi_link_shutdown() if link->pool is NULL.Kenneth R Westerback
2022-03-03r1.241 was the culprit. Unrevert r1.240.Kenneth R Westerback
2022-03-03Revert r1.241 and r1.240 which may have broken softraid.Kenneth R Westerback
2022-03-02Abstract the memory allocation, scsibus_softc data copying andKenneth R Westerback
2022-03-02Move the code obtaining the LUN 0 scsi_link used to determine theKenneth R Westerback
2022-02-28Shuffle some SCSIDEBUG code to simplify code, tersify theKenneth R Westerback
2021-10-24Constify struct cfattach.Martin Pieuchot
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