1. 22 9月, 2016 1 次提交
  2. 07 9月, 2016 1 次提交
    • V
      net: dsa: mv88e6xxx: move Global2 code · ec561276
      Vivien Didelot 提交于
      Marvell chips are composed of multiple SMI devices. One of them at
      address 0x1C is called Global2. It provides an extended set of
      registers, used for interrupt control, EEPROM access, indirect PHY
      access (to bypass the PHY Polling Unit) and cross-chip related setup.
      
      Most chips have it, but some others don't (older ones such as 6060).
      
      Now that its related code is isolated in mv88e6xxx_g2_* functions, move
      it to its own global2.c file, making most of its setup code static.
      Document each registers in the meantime.
      
      Its compilation can be later avoided for chips without such registers.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ec561276
  3. 23 8月, 2016 1 次提交
  4. 16 8月, 2016 4 次提交
  5. 21 7月, 2016 2 次提交
  6. 20 7月, 2016 9 次提交
  7. 25 6月, 2016 2 次提交
  8. 21 6月, 2016 3 次提交
  9. 05 6月, 2016 1 次提交
  10. 17 5月, 2016 1 次提交
    • V
      net: dsa: mv88e6xxx: remove bridge work · 553eb544
      Vivien Didelot 提交于
      Now that the bridge code defers the switchdev port state setting, there
      is no need to defer the port STP state change within the mv88e6xxx code.
      Thus get rid of the driver's bridge work code.
      
      This also fixes a race condition where the DSA layer assumes that the
      bridge code already set the unbridged port's STP state to Disabled
      before restoring the Forwarding state.
      
      As a consequence, this also fixes the FDB flush for the unbridged port
      which now correctly occurs during the Forwarding to Disabled transition.
      
      Fixes: 0bc05d58 ("switchdev: allow caller to explicitly request attr_set as deferred")
      Reported-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      553eb544
  11. 12 5月, 2016 3 次提交
  12. 10 5月, 2016 12 次提交