commit | 7409e66e9eee89f75d6eec6142279146f0999977 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Fri Mar 01 11:52:16 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 01 23:23:35 2019 -0800 |
tree | a896f243033f0e3797bc13de5c547d6b63d165ee | |
parent | 5434e8faf05a3a9514b0a3698245764780be41e0 [diff] |
net: mvpp2: set the XPCS and MPCS in reset when not used This patch sets both the XPCS and MPCS blocks in reset when they aren't used. This is done both at boot time and when reconfiguring a port mode. The advantage now is that only the PCS used is set out of reset when the port is configured (10GKR uses the MCPS while RXAUI uses the XPCS). Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>