]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: Add clause 45 identifier to phy_device
authorPankaj Bansal <pankaj.bansal@nxp.com>
Fri, 16 Nov 2018 06:26:18 +0000 (06:26 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 24 Jan 2019 17:35:26 +0000 (11:35 -0600)
commitb3eabd82f21b4d9206622fc5aee16751d2f4be8f
tree90b7bcb4d36a13b52d7de9b9fc2cffd955749e07
parentaff66f22d6eeb27c6329c0a3c1ebc52914c8affa
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>
drivers/net/phy/phy.c
include/phy.h