]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc711499b8667ac3c7eaf81caa2a358da02a5f31
treef6472abc7aacc40c5c41f2d3f548f3b6f1a0e974
parenta48ce9a1d9ac082fd3aa9a340e56c7ef5191f1a1
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