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:
Bill Paul 2000-01-09 21:12:59 +00:00
parent 7f20578830
commit 234c72c615
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55686

View File

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