diff options
author | Pankaj Bansal <pankaj.bansal@nxp.com> | 2018-11-16 06:26:18 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-01-24 11:35:26 -0600 |
commit | b3eabd82f21b4d9206622fc5aee16751d2f4be8f (patch) | |
tree | 90b7bcb4d36a13b52d7de9b9fc2cffd955749e07 /include/phy.h | |
parent | aff66f22d6eeb27c6329c0a3c1ebc52914c8affa (diff) | |
download | u-boot-b3eabd82f21b4d9206622fc5aee16751d2f4be8f.tar.gz |
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 <pankaj.bansal@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index b86fdfb2ce..f23ca63f3b 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; }; |