]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: ensure the port is forced down while changing modes
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 1 Sep 2020 13:48:22 +0000 (14:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 21:52:32 +0000 (14:52 -0700)
commit776fa49866b1905563e5f7b583f975132bda0f63
tree62168981da4b6ed88ee3bf99fe9ec9206f45b282
parent5481a219583b362845bc017cb01c87b7bfee4766
net: mvpp2: ensure the port is forced down while changing modes

Ensure that the port is forced down while reconfiguring, controlling
this via mac_prepare() and mac_finish() so that it is down while we
are configuring our (future) PCS.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c