summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPankaj Bansal <[email protected]>2018-11-16 06:26:18 +0000
committerJoe Hershberger <[email protected]>2019-01-24 11:35:26 -0600
commitb3eabd82f21b4d9206622fc5aee16751d2f4be8f (patch)
tree90b7bcb4d36a13b52d7de9b9fc2cffd955749e07 /include
parentaff66f22d6eeb27c6329c0a3c1ebc52914c8affa (diff)
net: phy: Add clause 45 identifier to phy_device
The phy devices can be accessed via clause 22 or via clause 45. This information can be deduced when we read phy id. if the phy id is read without giving any MDIO Manageable Device Address (MMD), then it conforms to clause 22. otherwise it conforms to clause 45. Signed-off-by: Pankaj Bansal <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h
index b86fdfb2ce3..f23ca63f3b8 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -138,6 +138,7 @@ struct phy_device {
int pause;
int asym_pause;
u32 phy_id;
+ bool is_c45;
u32 flags;
};