Follow Broadcom datasheet:

Delay 100 microseconds after enabling transmit MAC.
 Delay 10 microseconds after enabling receive MAC.
This commit is contained in:
Pyun YongHyeon 2012-10-05 07:13:21 +00:00
parent 9b80ffe78f
commit a6e66cd28b

View File

@ -5033,9 +5033,11 @@ bge_init_locked(struct bge_softc *sc)
}
/* Turn on transmitter. */
CSR_WRITE_4(sc, BGE_TX_MODE, mode | BGE_TXMODE_ENABLE);
DELAY(100);
/* Turn on receiver. */
BGE_SETBIT(sc, BGE_RX_MODE, BGE_RXMODE_ENABLE);
DELAY(10);
/*
* Set the number of good frames to receive after RX MBUF