]> git.baikalelectronics.ru Git - uboot.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)
commitdd9fd4e74c626ff7ad8f8227b32a44a746a69aa2
tree90b7bcb4d36a13b52d7de9b9fc2cffd955749e07
parent8ee2812c1801096a8d3253778a8bd1dbb3c4a0a3
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