OSDN Git Service

net: phy: mdio-gpio: Add phy_ignore_ta_mask to platform data
authorAndrew Lunn <andrew@lunn.ch>
Sat, 8 Dec 2018 15:12:13 +0000 (16:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2018 05:33:30 +0000 (21:33 -0800)
commitdc9d38cec71c508963b8f41c9d6d9cfd7e4ee393
treef6472abc7aacc40c5c41f2d3f548f3b6f1a0e974
parent04fa26bab06d9335f15a5d529c4bba25cd507a34
net: phy: mdio-gpio: Add phy_ignore_ta_mask to platform data

The Marvell 6390 Ethernet switch family does not perform MDIO
turnaround correctly. Many hardware MDIO bus masters don't care about
this, but the bitbangging implementation in Linux does by default. Add
phy_ignore_ta_mask to the platform data so that the bitbangging code
can be told which devices are known to get TA wrong.

v2
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c
include/linux/platform_data/mdio-gpio.h