]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
camcontrol: change hueristic for I/O-less devtype
authorWarner Losh <imp@FreeBSD.org>
Tue, 23 Feb 2021 19:33:26 +0000 (12:33 -0700)
committerWarner Losh <imp@FreeBSD.org>
Tue, 23 Feb 2021 19:56:15 +0000 (12:56 -0700)
commit6b7580f7b1b66134286813b971ab575862b95426
treebff27f2f9381a9fd8e9a600e5df5e148da81702c
parentef1a1fc7e828d640790fe849487221ef370a410a
camcontrol: change hueristic for I/O-less devtype

Some SATA drives have 'config' set to 0 in the identify block. Rather than rely
on it, use the strings windows uses to display the drive since they are supposed
to be space padded and will always be non-zero.
sbin/camcontrol/camcontrol.c