Silence unwanted 'gigabit link up' messages: do not treat the
BGE_MACSTAT_MI_COMPLETE bit in the MAC status register as a link change indicator. We turn this bit on now because some of the newer chips need it, but it usually just means that reading/writing an MII/GMII register has completed, not that a link change has occured.
This commit is contained in:
parent
72617c8745
commit
73cc57c6c7
@ -2845,7 +2845,8 @@ bge_intr(xsc)
|
||||
* effect on copper NICs.)
|
||||
*/
|
||||
status = CSR_READ_4(sc, BGE_MAC_STS);
|
||||
if (!(status & BGE_MACSTAT_PORT_DECODE_ERROR)) {
|
||||
if (!(status & (BGE_MACSTAT_PORT_DECODE_ERROR|
|
||||
BGE_MACSTAT_MI_COMPLETE))) {
|
||||
sc->bge_link = 0;
|
||||
untimeout(bge_tick, sc, sc->bge_stat_ch);
|
||||
bge_tick(sc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user