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:
parent
3f308ed167
commit
41000ec44d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user