1. 06 9月, 2014 3 次提交
  2. 05 9月, 2014 1 次提交
    • F
      net: systemport: update UMAC_CMD only when link is detected · 4a804c01
      Florian Fainelli 提交于
      When we bring the interface down, phy_stop() will schedule the PHY
      state machine to call our link adjustment callback. By the time we do so,
      we may have clock gated off the SYSTEMPORT hardware block, and this will
      cause bus errors to happen in bcm_sysport_adj_link():
      
      Make sure that we only touch the UMAC_CMD register when there is an
      actual link. This is safe to do for two reasons:
      
      - updating the Ethernet MAC registers only make sense when a physical
        link is present
      - the PHY library state machine first set phydev->link = 0 before
        invoking phydev->adjust_link in the PHY_HALTED case
      
      This is a similar fix to the GENET one:
      c677ba8b ("net: bcmgenet: update
      UMAC_CMD only when link is detected").
      
      Fixes: 80105bef ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4a804c01
  3. 04 9月, 2014 1 次提交
  4. 03 9月, 2014 14 次提交
  5. 02 9月, 2014 3 次提交
  6. 30 8月, 2014 13 次提交
  7. 29 8月, 2014 1 次提交
  8. 28 8月, 2014 4 次提交