Close PR# 15986: issue an RX reset command when initializing the interface,
but only for those cards that don't use miibus (i.e. all the 10mbps only cards, and the 100baseFX card). PR: kern/15986
This commit is contained in:
parent
2ffb21198c
commit
fe42017b7b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user