net: dsa: mv88e6xxx: Re-setup interrupts on CMODE change.
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Aug 2018 13:38:49 +0000 (15:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 18:08:20 +0000 (11:08 -0700)
commit734447d4ed7b1f31617c28959fd5adfbd9e39d13
tree7db8f2d5ce4007b17bfcf92083377228202a4a8a
parentefd1ba6af93ff63d40f92515a83405133145c028
net: dsa: mv88e6xxx: Re-setup interrupts on CMODE change.

When a port changes CMODE, the SERDES interface being used can change.
Disable interrupts for the old SERDES interface, and enable interrupts
on the new.

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