Merge branch 'More-complete-PHYLINK-support-for-mv88e6xxx'
Andrew Lunn says:
====================
More complete PHYLINK support for mv88e6xxx
Previous patches added sufficient PHYLINK support to the mv88e6xxx
that it did not break existing use cases, basically fixed-link phys.
This patchset builds out the support so that SFP modules, up to
2.5Gbps can be supported, on mv88e6390X, on ports 9 and 10. It also
provides a framework which can be extended to support SFPs on ports
2-8 of mv88e6390X, 10Gbps PHYs, and SFP support on the 6352 family.
Russell King did much of the initial work, implementing the validate
and mac_link_state calls. However, there is an important TODO in the
commit message:
needs to call phylink_mac_change() when the port link comes up/goes down.
The remaining patches implement this, by adding more support for the
SERDES interfaces, in particular, interrupt support so we get notified
when the SERDES gains/looses sync.
This has been tested on the ZII devel C, using a Clearfog as peer
device.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/dsa/mv88e6xxx/chip.c 219 additions, 7 deletionsdrivers/net/dsa/mv88e6xxx/chip.c
- drivers/net/dsa/mv88e6xxx/chip.h 24 additions, 0 deletionsdrivers/net/dsa/mv88e6xxx/chip.h
- drivers/net/dsa/mv88e6xxx/port.c 105 additions, 4 deletionsdrivers/net/dsa/mv88e6xxx/port.c
- drivers/net/dsa/mv88e6xxx/port.h 21 additions, 2 deletionsdrivers/net/dsa/mv88e6xxx/port.h
- drivers/net/dsa/mv88e6xxx/serdes.c 344 additions, 95 deletionsdrivers/net/dsa/mv88e6xxx/serdes.c
- drivers/net/dsa/mv88e6xxx/serdes.h 23 additions, 1 deletiondrivers/net/dsa/mv88e6xxx/serdes.h
- drivers/net/phy/phylink.c 30 additions, 0 deletionsdrivers/net/phy/phylink.c
- include/linux/phylink.h 1 addition, 0 deletionsinclude/linux/phylink.h
Loading
Please register or sign in to comment