summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-01-09 21:12:59 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-01-09 21:12:59 +0000
commit234c72c615a95f2eb0d76889b8f9d6712b05fc74 (patch)
tree6155ba5e3c1b900efb7cea2face9f8c2cec3bc6e
parent7f20578830848af29ce981a896dfe80b478c490e (diff)
Notes
-rw-r--r--sys/pci/if_xl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index a48823c5a681..0525e0047f6f 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -2426,6 +2426,10 @@ static void xl_init(xsc)
*/
xl_stop(sc);
+ if (sc->xl_miibus == NULL) {
+ CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_RESET);
+ xl_wait(sc);
+ }
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_TX_RESET);
xl_wait(sc);
DELAY(10000);