mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
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
7f20578830
commit
234c72c615
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55686
@ -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…
Reference in New Issue
Block a user