1. 03 6月, 2014 3 次提交
  2. 31 5月, 2014 3 次提交
  3. 25 5月, 2014 1 次提交
  4. 23 5月, 2014 1 次提交
  5. 19 5月, 2014 1 次提交
  6. 17 5月, 2014 1 次提交
  7. 16 5月, 2014 2 次提交
  8. 15 5月, 2014 2 次提交
  9. 13 5月, 2014 1 次提交
  10. 10 5月, 2014 5 次提交
  11. 09 5月, 2014 1 次提交
  12. 08 5月, 2014 3 次提交
  13. 06 5月, 2014 14 次提交
  14. 03 5月, 2014 1 次提交
  15. 01 5月, 2014 1 次提交
    • C
      gianfar: Avoid unnecessary reg accesses in adjust_link() · 6ce29b0e
      Claudiu Manoil 提交于
      For phy devices that don't issue interrupts upon link
      state changes, phylib polls the link state resulting in
      repeated calls to adjust_link(), even if the link state
      didn't change.  As a result, some mac registers are
      repeatedly read and written with the same values, which
      is not ok.
      
      To fix this, adjust_link() has been refactored to check
      first whether the link state has changed and to take action
      only if needed, updating mac registers and local state
      variables.  The 'new_state' local flag, set if one of the
      link params changed (link, speed or duplex), has been
      rendered useless and removed by this refactoring.
      Signed-off-by: NClaudiu Manoil <claudiu.manoil@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6ce29b0e