diff options
author | imp <imp@FreeBSD.org> | 2000-10-16 23:02:21 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-10-16 23:02:21 +0000 |
commit | 0630faf57d33ad66926819237bb3ac2222b6eb65 (patch) | |
tree | b51ee0c78d5b9951e4115b38dcf552edb24c189f /sys/pci/if_xl.c | |
parent | 3ef73aae7e921343491d8ec3686cd465e190652f (diff) | |
download | FreeBSD-src-0630faf57d33ad66926819237bb3ac2222b6eb65.zip FreeBSD-src-0630faf57d33ad66926819237bb3ac2222b6eb65.tar.gz |
When wierdreset flag is set, turn on the DISADVFD flag when we reset
rather than all the flags. This prevents setting being read from ROM,
which is a problem. If this breaks anything, it will only break the
3C556B cards minipci cards, which mainly exist at rpi as far as rpi
has been able to tell.
Submitted by: Louis Gerbarg <gerbal@rpi.edu>
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 26817b3..5c84802 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -1008,7 +1008,8 @@ static void xl_reset(sc) XL_SEL_WIN(0); CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RESET | - ((sc->xl_flags & XL_FLAG_WEIRDRESET)?0xFF:0)); + ((sc->xl_flags & XL_FLAG_WEIRDRESET) ? + XL_RESETOPT_DISADVFD:0)); for (i = 0; i < XL_TIMEOUT; i++) { DELAY(10); |