mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Restore Digital Outpur Register (DOR) for enhanced controller after reset.
This commit is contained in:
parent
59b2dc9f8b
commit
19a388e651
1 changed files with 2 additions and 2 deletions
|
|
@ -511,9 +511,9 @@ fdc_reset(struct fdc_data *fdc)
|
|||
DELAY(100);
|
||||
/* enable FDC, but defer interrupts a moment */
|
||||
fdout_wr(fdc, fdc->fdout & ~FDO_FDMAEN);
|
||||
DELAY(100);
|
||||
fdout_wr(fdc, fdc->fdout);
|
||||
}
|
||||
DELAY(100);
|
||||
fdout_wr(fdc, fdc->fdout);
|
||||
|
||||
/* XXX after a reset, silently believe the FDC will accept commands */
|
||||
if (fdc_cmd(fdc, 3, NE7CMD_SPECIFY, spec1, spec2, 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue