cvs commit: src/sys/pci if_dc.c if_dcreg.h
Marius Strobl
marius at FreeBSD.org
Mon Sep 1 00:46:25 UTC 2008
marius 2008-09-01 00:46:14 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/pci if_dc.c if_dcreg.h
Log:
SVN rev 182583 on 2008-09-01 00:46:14Z 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.160.2.16 +7 -5 src/sys/pci/if_dc.c
1.44.2.8 +4 -0 src/sys/pci/if_dcreg.h
More information about the cvs-src
mailing list