Commit 922f2dd1 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

net: phy: Add phy_ignore_ta_mask to account for broken turn-around

Some PHY devices/switches will not release the turn-around line as they
should do at the end of a MDIO transaction. To help with such
situations, allow MDIO bus drivers to be made aware of such
restrictions.
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fa787ae0
...@@ -181,6 +181,9 @@ struct mii_bus { ...@@ -181,6 +181,9 @@ struct mii_bus {
/* PHY addresses to be ignored when probing */ /* PHY addresses to be ignored when probing */
u32 phy_mask; u32 phy_mask;
/* PHY addresses to ignore the TA/read failure */
u32 phy_ignore_ta_mask;
/* /*
* Pointer to an array of interrupts, each PHY's * Pointer to an array of interrupts, each PHY's
* interrupt at the index matching its address * interrupt at the index matching its address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment