mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Do not accidentally default a device that failed probing to T_DIRECT
(since T_DIRECT just incidentally happens to be equal 0). This causes more harm than it would do good. Instead , get it at the uk driver. Reviewed by: obrien@NUXI.com (David O'Brien)
This commit is contained in:
parent
47b213b1ba
commit
c1b822b746
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22228
@ -1337,6 +1337,7 @@ scsi_probedev(sc_link, maybe_more, type_p)
|
||||
make_readable(manu, "unknown", sizeof(manu));
|
||||
make_readable(model, "unknown", sizeof(model));
|
||||
make_readable(version, "????", sizeof(version));
|
||||
type = T_UNKNOWN;
|
||||
}
|
||||
|
||||
#ifdef SCSIDEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user