]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: dsa: mv88e6xxx: Power on/off SERDES on cmode change
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Aug 2018 13:38:46 +0000 (15:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 18:08:20 +0000 (11:08 -0700)
commit364e9d7776a389941cea6c40783f90c236b402ce
tree7f8365a8a0d10a965ecb4581e9db0fc191fa20cd
parent2d2e1dd29962ce0e6bc2c35fe804d919bf3e7f68
net: dsa: mv88e6xxx: Power on/off SERDES on cmode change

The 6390 family has a number of SERDES interfaces per port. When the
cmode changes, eg 1000Base-X to XAUI, the SERDES interface in use will
also change. Power down the old SERDES interface and power up the new
SERDES interface.

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