cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h
Marius Strobl
marius at FreeBSD.org
Mon Sep 1 00:42:08 UTC 2008
marius 2008-09-01 00:42:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/dc if_dc.c if_dcreg.h
Log:
SVN rev 182582 on 2008-09-01 00:42:00Z by marius
MFC: r182461
For chips with a broken DC_ISR_RX_STATE which f.e. never signals
stopped nor the waiting state and also no other means to check
whether the receiver is idle (see also r163774), we have no choice
than to call mii_tick(9) unconditionally even in the case of the
DC_REDUCED_MII_POLL handling as far as the RX side is concerned.
This isn't necessarily worse than checking whether RX is idle
though because unlike as with TX we're racing with the hardware,
which might receive packets any time while we poll the MII, anyway.
Reported and tested by: Jacob Owens
Reviewed by: yongari
Revision Changes Path
1.192.2.5 +7 -5 src/sys/dev/dc/if_dc.c
1.54.2.2 +4 -0 src/sys/dev/dc/if_dcreg.h
More information about the cvs-src
mailing list