]> 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)
commit6082dd493f01b9bf645514388c1575a21e8e5e1b
tree46e5072b99ad19c2987c57815224674aecc50d1d
parentd0fee1dde265d8bf79c19a9657514b40c7405b89
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