summaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-02-11 17:27:41 -0800
committerDavid S. Miller <davem@davemloft.net>2014-02-12 19:08:20 -0500
commitb0ae009f3dc14643e56972cfc08c060dd72cc24d (patch)
tree9a105ceae7dfe8544c15b7f106a9b696e4d5f156 /include/linux/phy.h
parent3d055d8d1c24093bdd40e000570a59b841c2bb0b (diff)
net: phy: add "has_fixups" boolean property
Add a boolean property which indicates if the PHY has had any fixup routine ran on it. We are later going to use that boolean to expose it as a sysfs property to help troubleshooting. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index ef7fa113114..42f1bc7eaeb 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -350,6 +350,7 @@ struct phy_device {
struct phy_c45_device_ids c45_ids;
bool is_c45;
bool is_internal;
+ bool has_fixups;
enum phy_state state;