mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +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 (dread(dc, &buf, 4, addr + i) < 0) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
warn("crom read faild");
|
warn("crom read faild");
|
||||||
return (-1);
|
goto out;
|
||||||
}
|
}
|
||||||
buf = ntohl(buf);
|
buf = ntohl(buf);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
|
Loading…
Reference in New Issue
Block a user