1. 04 12月, 2012 1 次提交
  2. 24 11月, 2012 1 次提交
  3. 20 11月, 2012 2 次提交
  4. 15 11月, 2012 2 次提交
  5. 08 11月, 2012 4 次提交
  6. 04 11月, 2012 1 次提交
    • V
      macb: Keep driver's speed/duplex in sync with actual NCFGR · 26cdfb49
      Vitalii Demianets 提交于
      When underlying phy driver restores its state very fast after being brought
      down and up so that macb driver function macb_handle_link_change() was never
      called with link state "down", driver's internal representation of phy speed
      and duplex (bp->speed and bp->duplex) didn't change. So, macb driver sees no
      reason to perform actual write to the NCFGR register, although the speed and
      duplex settings in that register were reset when interface was brought down
      and up. In that case actual phy speed and duplex differ from NCFGR settings.
      The patch fixes that by keeping internal driver representation of speed and
      duplex in sync with actual content of NCFGR.
      Signed-off-by: NVitalii Demianets <vitas@nppfactor.kiev.ua>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      26cdfb49
  7. 01 11月, 2012 10 次提交
  8. 23 10月, 2012 1 次提交
    • J
      net/macb: fix truncate warnings · 95ebcea6
      Joachim Eastwood 提交于
      When building macb on x86_64 the following warnings show up:
        drivers/net/ethernet/cadence/macb.c: In function macb_interrupt:
        drivers/net/ethernet/cadence/macb.c:556:4: warning: large integer implicitly truncated to unsigned type [-Woverflow]
        drivers/net/ethernet/cadence/macb.c: In function macb_reset_hw:
        drivers/net/ethernet/cadence/macb.c:792:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
        drivers/net/ethernet/cadence/macb.c:793:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
        drivers/net/ethernet/cadence/macb.c:796:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
      
      Use -1 insted of ~0UL, as done in other places in the driver,
      to silence these warnings.
      Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      95ebcea6
  9. 20 10月, 2012 2 次提交
  10. 09 7月, 2012 1 次提交
  11. 04 4月, 2012 1 次提交
  12. 16 2月, 2012 1 次提交
  13. 07 2月, 2012 1 次提交
  14. 01 2月, 2012 1 次提交
  15. 11 1月, 2012 1 次提交
  16. 22 12月, 2011 1 次提交
    • O
      net: macb: fix build break with !CONFIG_OF · b17471f5
      Olof Johansson 提交于
      This fixes the build of the macb driver that was broken by the DT changes:
      
      drivers/net/ethernet/cadence/macb.c:1503: error: implicit declaration of function 'of_match_ptr'
      drivers/net/ethernet/cadence/macb.c:1503: error: 'macb_dt_ids' undeclared here (not in a function)
      drivers/net/ethernet/cadence/macb.c:1503: error: initializer element is not constant
      drivers/net/ethernet/cadence/macb.c:1503: error: (near initialization for 'macb_driver.driver.of_match_table')
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      b17471f5
  17. 16 12月, 2011 1 次提交
  18. 22 11月, 2011 8 次提交