1. 19 7月, 2018 2 次提交
  2. 21 5月, 2018 1 次提交
  3. 15 5月, 2018 1 次提交
  4. 11 5月, 2018 2 次提交
  5. 08 5月, 2018 1 次提交
  6. 28 4月, 2018 1 次提交
  7. 30 3月, 2018 1 次提交
  8. 19 3月, 2018 1 次提交
  9. 05 3月, 2018 2 次提交
  10. 27 2月, 2018 1 次提交
    • A
      net: dsa: mv88e6xxx: Poll when no interrupt defined · 294d711e
      Andrew Lunn 提交于
      Not all boards have the interrupt output from the switch connected to
      a GPIO line. In such cases, phylib has to poll the internal PHYs,
      rather than receive an interrupt when there is a change in the link
      state. phylib polls once per second, and per PHY reads around 4
      words. With a switch typically having 4 internal PHYs, this means 16
      MDIO transactions per second.
      
      Rather than performing this phylib level polling, have the driver poll
      the interrupt status register. If the status register indicates an
      interrupt condition processing of interrupts in the same way as if a
      GPIO was used.
      
      Polling 10 times a second places less load on the MDIO bus. But rather
      than taking on average 0.5s to detect a link change, it takes less
      than 0.05s. Additionally, other interrupts, such as the watchdog, ATU
      and VTU violations will be reported.
      Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      294d711e
  11. 15 2月, 2018 5 次提交
  12. 15 1月, 2018 2 次提交
  13. 02 8月, 2017 1 次提交
  14. 19 7月, 2017 9 次提交
  15. 21 6月, 2017 1 次提交
    • V
      net: dsa: mv88e6xxx: add irl_init_all op · cd8da8bb
      Vivien Didelot 提交于
      Some Marvell chips have an Ingress Rate Limit unit. But the command
      values slightly differs between models: 88E6352 use 3-bit for operations
      while 88E6390 use different 2-bit operations.
      
      This commit kills the IRL flags in favor of a new operation implementing
      the "Init all resources to the initial state" operation.
      
      This fixes the operation of 88E6390 family where 0x1000 means Read the
      selected resource 0, register 0 on port 16, instead of init all.
      
      A mv88e6xxx_irl_setup helper is added to wrap the operation call.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cd8da8bb
  16. 16 6月, 2017 1 次提交
  17. 10 6月, 2017 4 次提交
  18. 05 6月, 2017 4 次提交