mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Reset dc->paddr and dc->reset if we cannot read configuration ROM.
This commit is contained in:
parent
0bb6a7159d
commit
2ac79858a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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