cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h

Marius Strobl marius at FreeBSD.org
Fri Aug 29 20:31:53 UTC 2008


marius      2008-08-29 20:31:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           if_dc.c if_dcreg.h 
  Log:
  SVN rev 182461 on 2008-08-29 20:31:41Z by marius
  
  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
  MFC after:              3 days
  
  Revision  Changes    Path
  1.197     +7 -5      src/sys/dev/dc/if_dc.c
  1.56      +4 -0      src/sys/dev/dc/if_dcreg.h


More information about the cvs-src mailing list