summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/sky2.c
diff options
context:
space:
mode:
authorAntoine Tenart2019-03-01 11:52:10 +0100
committerDavid S. Miller2019-03-02 08:23:34 +0100
commit9a490e34069dff988d38327360862a622a149bd0 (patch)
tree0216a363ce7bd1dbd1ef27fe308589cb873afa5f /drivers/net/ethernet/marvell/sky2.c
parentnet: mvpp2: fix the computation of the RXQs (diff)
downloadkernel-qcow2-linux-9a490e34069dff988d38327360862a622a149bd0.tar.gz
kernel-qcow2-linux-9a490e34069dff988d38327360862a622a149bd0.tar.xz
kernel-qcow2-linux-9a490e34069dff988d38327360862a622a149bd0.zip
net: mvpp2: some AN fields require the link to be down when updated
The GMAC configuration helper modifies values in the auto-negotiation register. Some of its values require the port to be forced down when modifying their values. This patches fixes the check made on the bit to be updated in this register, so that the port is forced down when needed. This fix cases where some of those parameters were updated, but not taken into account, such as when using RGMII interfaces. Fixes: d14e078f23cc ("net: marvell: mvpp2: only reprogram what is necessary on mac_config") Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/sky2.c')
0 files changed, 0 insertions, 0 deletions