commit | 417f3d08feffe3be29a5f868bcf817b476539338 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Fri Feb 08 15:35:54 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 08 23:08:39 2019 -0800 |
tree | 8f5a370029316869b163fd052a4eb3568b1ed8f7 | |
parent | d14e078f23cc9711acd299c91e77076c3f1ddddb [diff] |
net: marvell: mvpp2: read correct pause bits When reading the pause bits in mac_link_state, mvpp2 was reporting the state of the "active pause" bits, which are set when the MAC is in pause mode. This is not what phylink wants - we want the negotiated pause state. Fix the definition so we read the correct bits. Tested-by: Sven Auhagen <sven.auhagen@voleatech.de> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>