summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-10-25 20:52:32 +0000
committerwpaul <wpaul@FreeBSD.org>1999-10-25 20:52:32 +0000
commit41000ec44dd05d8735ad3527ea99c06b57ecfc91 (patch)
treefde7b7a6e4f967df1754e17ec86d26d859be5455
parent3f308ed167d4f39d072988fef43ae6e3a4f4ebc6 (diff)
downloadFreeBSD-src-41000ec44dd05d8735ad3527ea99c06b57ecfc91.zip
FreeBSD-src-41000ec44dd05d8735ad3527ea99c06b57ecfc91.tar.gz
Small tweak: just reset the transmit block instead of doing a global reset
in xl_init(). This achieves the effect that I wanted without totally resetting the chip.
-rw-r--r--sys/pci/if_xl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index e594a9a..56cf14b 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -2391,9 +2391,9 @@ static void xl_init(xsc)
*/
xl_stop(sc);
- xl_reset(sc);
+ CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_TX_RESET);
xl_wait(sc);
- DELAY(1000);
+ DELAY(10000);
if (sc->xl_miibus != NULL)
mii = device_get_softc(sc->xl_miibus);
OpenPOWER on IntegriCloud