diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-01-10 23:13:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-11 10:02:37 -0500 |
commit | a13c06525ab9ff442924e67df9393a5efa914c56 (patch) | |
tree | b67995c919fc610804329d07db6c72bc7cdda0d7 /Documentation/input/gamepad.txt | |
parent | eb004603c857f3e3bfcda437b6c68fd258c54960 (diff) |
net: phy: marvell: fix Marvell 88E1512 used in SGMII mode
When an Marvell 88E1512 PHY is connected to a nic in SGMII mode, the
fiber page is used for the SGMII host-side connection. The PHY driver
notices that SUPPORTED_FIBRE is set, so it tries reading the fiber page
for the link status, and ends up reading the MAC-side status instead of
the outgoing (copper) link. This leads to incorrect results reported
via ethtool.
If the PHY is connected via SGMII to the host, ignore the fiber page.
However, continue to allow the existing power management code to
suspend and resume the fiber page.
Fixes: 6cfb3bcc0641 ("Marvell phy: check link status in case of fiber link.")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/input/gamepad.txt')
0 files changed, 0 insertions, 0 deletions