]> 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)
commit485849494394f677ce380d32b2f56a6e0c925bca
treef6472abc7aacc40c5c41f2d3f548f3b6f1a0e974
parenteb68e8fa8a3c5b7f3c0e81a7dcb9e044d57a5b7a
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