diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-05-12 10:33:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-14 13:40:55 -0400 |
commit | 922f2dd1b65a888e34c472979460dc23211750a2 (patch) | |
tree | 85884d441c48dfce93a8f1169de52358e74dc991 | |
parent | fa787ae0624c46d0c894c19ae74f53d7bb4406f8 (diff) |
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: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 685809835b5c..701c7a3946e0 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -181,6 +181,9 @@ struct mii_bus { /* PHY addresses to be ignored when probing */ 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 * interrupt at the index matching its address |