1. 06 5月, 2009 1 次提交
  2. 28 4月, 2009 1 次提交
  3. 09 4月, 2009 1 次提交
  4. 07 4月, 2009 1 次提交
  5. 27 3月, 2009 1 次提交
  6. 25 3月, 2009 1 次提交
  7. 20 3月, 2009 3 次提交
  8. 19 3月, 2009 1 次提交
    • S
      smsc911x: reset last known duplex and carrier on open · 44c1d6f9
      Steve Glendinning 提交于
      smsc911x_phy_adjust_link is called periodically by the phy layer (as
      it's run in polling mode), and it only updates the hardware when it sees
      a change in duplex or carrier.  This patch clears the last known values
      every time the interface is brought up, instead of only when the module
      is loaded.
      
      Without this patch the adjust_link function never updates the hardware
      after an ifconfig down; ifconfig up.  On a full duplex link this causes
      the tx error counter to increment, even though packets are correctly
      transmitted, as the default MAC_CR register setting is for half duplex.
      
      The tx errors are "no carrier" errors, which should be ignored in
      full-duplex mode.  When MAC_CR is set to "full duplex" mode they are
      correctly ignored by the hardware.
      
      Note that even with this patch the tx error counter can increment if
      packets are transmitted between "ifconfig up" and the first phy poll
      interval.  An improved solution would use the phy interrupt with phylib,
      but I haven't managed to make this work 100% robustly yet.
      Signed-off-by: NSteve Glendinning <steve.glendinning@smsc.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      44c1d6f9
  9. 14 3月, 2009 2 次提交
  10. 20 2月, 2009 1 次提交
  11. 01 2月, 2009 4 次提交
  12. 30 1月, 2009 1 次提交
  13. 27 1月, 2009 2 次提交
  14. 22 1月, 2009 1 次提交
  15. 11 1月, 2009 3 次提交
  16. 30 12月, 2008 1 次提交
  17. 26 12月, 2008 5 次提交
  18. 23 12月, 2008 1 次提交
  19. 16 12月, 2008 1 次提交
  20. 13 12月, 2008 1 次提交
  21. 11 12月, 2008 1 次提交
  22. 06 11月, 2008 1 次提交