mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 05:04:50 +00: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 a new issue