1. 08 9月, 2018 1 次提交
  2. 12 5月, 2018 1 次提交
    • F
      net: dsa: Plug in PHYLINK support · aab9c406
      Florian Fainelli 提交于
      Add support for PHYLINK within the DSA subsystem in order to support more
      complex devices such as pluggable (SFP) and non-pluggable (SFF) modules, 10G
      PHYs, and traditional PHYs. Using PHYLINK allows us to drop some amount of
      complexity we had while probing fixed and non-fixed PHYs using Device Tree.
      
      Because PHYLINK separates the Ethernet MAC/port configuration into different
      stages, we let switch drivers implement those, and for now, we maintain
      functionality by calling dsa_slave_adjust_link() during
      phylink_mac_link_{up,down} which provides semantically equivalent steps.
      
      Drivers willing to take advantage of PHYLINK should implement the phylink_mac_*
      operations that DSA wraps.
      
      We cannot quite remove the adjust_link() callback just yet, because a number of
      drivers rely on that for configuring their "CPU" and "DSA" ports, this is done
      dsa_port_setup_phy_of() and dsa_port_fixed_link_register_of() still.
      
      Drivers that utilize fixed links for user-facing ports (e.g: bcm_sf2) will need
      to implement phylink_mac_ops from now on to preserve functionality, since PHYLINK
      *does not* create a phy_device instance for fixed links.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      aab9c406
  3. 08 4月, 2018 1 次提交
  4. 24 1月, 2018 1 次提交
  5. 03 1月, 2018 1 次提交
  6. 08 12月, 2017 1 次提交
  7. 13 11月, 2017 1 次提交
  8. 10 11月, 2017 1 次提交
  9. 09 11月, 2017 1 次提交
  10. 01 11月, 2017 1 次提交
  11. 28 10月, 2017 1 次提交
  12. 18 10月, 2017 4 次提交
  13. 01 10月, 2017 3 次提交
  14. 27 9月, 2017 1 次提交
  15. 26 9月, 2017 1 次提交
  16. 22 9月, 2017 1 次提交
  17. 20 9月, 2017 1 次提交
  18. 10 8月, 2017 1 次提交
  19. 08 8月, 2017 9 次提交
  20. 07 8月, 2017 1 次提交
  21. 03 8月, 2017 1 次提交
  22. 14 6月, 2017 3 次提交
  23. 05 6月, 2017 1 次提交
  24. 02 6月, 2017 1 次提交
  25. 01 6月, 2017 1 次提交