diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-06-10 12:24:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-11 00:32:21 -0700 |
commit | 1a3f4e83bc37c2eee13b4efdeb09209108fd673b (patch) | |
tree | 108ee299f7ef4c18f115536c712b66369d6646c2 /include | |
parent | 9d3366e95dbbbdfe9bed488b483c47bd8f48cf04 (diff) | |
download | linux-1a3f4e83bc37c2eee13b4efdeb09209108fd673b.tar.bz2 |
net: phy: mdio-bcm-unimac: handle broken turn-around for specific PHYs
Some Ethernet PHYs/switches such as Broadcom's BCM53125 have a hardware bug
which makes them not release the MDIO line during turn-around time. This gets
flagged by the UniMAC MDIO controller as a read failure, and we fail the read
transaction.
Check the MDIO bus phy_ignore_ta_mask bitmask for the PHY we are reading
from and if it is listed in this bitmask, ignore the read failure and
proceed with returning the data we read out of the controller.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions