diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-02-08 15:35:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-08 23:08:39 -0800 |
commit | 417f3d08feffe3be29a5f868bcf817b476539338 (patch) | |
tree | 8f5a370029316869b163fd052a4eb3568b1ed8f7 /drivers/net/ethernet/dnet.h | |
parent | net: marvell: mvpp2: only reprogram what is necessary on mac_config (diff) | |
download | linux-dev-417f3d08feffe3be29a5f868bcf817b476539338.tar.xz linux-dev-417f3d08feffe3be29a5f868bcf817b476539338.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions