]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cam_periph: Remove vestigial "scbus" comparison
authorWarner Losh <imp@FreeBSD.org>
Fri, 5 Nov 2021 14:56:13 +0000 (08:56 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 5 Nov 2021 14:56:13 +0000 (08:56 -0600)
commit00f79c97a4f265f8d653a11fdb764cd999b7d0a9
tree98058e0c6a85afdaca78a4b7f2a579a29f762d81
parent517e52b6c21ccff22c46df0dcd15c19baee3d86c
cam_periph: Remove vestigial "scbus" comparison

The code in camperiphunit rejects "scbus" as an 'at' location that would
allow any other wiring to use that unit number. Yet in
camperiphunitnext, if we have a no target and the 'at' location of
'scbus' it would be excluded on the basis that it's a wiring
cadidate. This is improper and appears to be a hold-over of the
pre-hints / pre-newbus config system, so remove it.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D32680
sys/cam/cam_periph.c