diff options
author | jkim <jkim@FreeBSD.org> | 2006-08-29 18:19:39 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2006-08-29 18:19:39 +0000 |
commit | 6c8639b14945945eecbebf32a9f97eb4646097a2 (patch) | |
tree | 2b2eaef3ab181c93ba03b742ce7fd14018c5f058 /sys/dev/fdc | |
parent | 51c4801eb7303cac7a22a01e2121745d2f372538 (diff) | |
download | FreeBSD-src-6c8639b14945945eecbebf32a9f97eb4646097a2.zip FreeBSD-src-6c8639b14945945eecbebf32a9f97eb4646097a2.tar.gz |
Restore Digital Outpur Register (DOR) for enhanced controller after reset.
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 19edf51..9cf8352 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -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)) |