commit | 1f69afce382f2858c825f027ed5afa97ec532f3e | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Fri Mar 01 11:52:17 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 01 23:23:35 2019 -0800 |
tree | 19a5498ec013bda874764171463a8b0d51ffd083 | |
parent | 7409e66e9eee89f75d6eec6142279146f0999977 [diff] |
net: mvpp2: set the GMAC, XLG MAC, XPCS and MPCS in reset when a port is down This patch adds calls in the stop() helper to ensure both MACs and both PCS blocks are set in reset when the user manually sets a port down. This is done so that we have the exact same block reset states at boot time and when a port is set down. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>