diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2019-03-01 13:52:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-02 10:23:35 +0300 |
commit | 1f69afce382f2858c825f027ed5afa97ec532f3e (patch) | |
tree | 19a5498ec013bda874764171463a8b0d51ffd083 /net | |
parent | 7409e66e9eee89f75d6eec6142279146f0999977 (diff) | |
download | linux-1f69afce382f2858c825f027ed5afa97ec532f3e.tar.xz |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions