]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Add SERDES phydev_mac_change up for 6390
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Aug 2018 13:38:48 +0000 (15:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 18:08:20 +0000 (11:08 -0700)
commita656bdd3bdf32376e7251d070db81f7c547b61a8
tree46e5072b99ad19c2987c57815224674aecc50d1d
parentf7a8e6ecd595ba9dc2e79da20235357fd6083478
net: dsa: mv88e6xxx: Add SERDES phydev_mac_change up for 6390

phylink wants to know when the MAC layers notices a change in the
link. For the 6390 family, this is a change in the SERDES state.

Add interrupt support for the SERDES interface used to implement
SGMII/1000Base-X/2500Base-X. This is currently limited to ports 9 and
10. Support for the 10G SERDES and other ports will be added later,
building on this basic framework.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/serdes.c
drivers/net/dsa/mv88e6xxx/serdes.h