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.
This commit is contained in:
wpaul 1999-10-25 20:52:32 +00:00
parent 3f308ed167
commit 41000ec44d

View File

@ -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);