mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Reset dc->paddr and dc->reset if we cannot read configuration ROM.
This commit is contained in:
parent
0bb6a7159d
commit
2ac79858a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170433
|
@ -204,7 +204,7 @@ dconschat_get_crom(struct dcons_state *dc)
|
|||
if (dread(dc, &buf, 4, addr + i) < 0) {
|
||||
if (verbose)
|
||||
warn("crom read faild");
|
||||
return (-1);
|
||||
goto out;
|
||||
}
|
||||
buf = ntohl(buf);
|
||||
if (verbose)
|
||||
|
|
Loading…
Reference in a new issue