diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-08-22 18:55:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-23 11:39:09 -0700 |
commit | a9f6309585cbefa4a7f08c9017ca482c3222323a (patch) | |
tree | 954313a4638dfca0e7cab923dff7057c28789641 /drivers/net/phy/amd.c | |
parent | 66ce7fb9807b036058aa380bfd2b3851ae25ce39 (diff) | |
download | op-kernel-dev-a9f6309585cbefa4a7f08c9017ca482c3222323a.zip op-kernel-dev-a9f6309585cbefa4a7f08c9017ca482c3222323a.tar.gz |
net: phy: allow phy_init_eee() to work with internal PHYs
Internal PHYs do not have any specific phy_interface_t defined because
they are within an Ethernet MAC or a larger IC, they will fail the early
check in phy_init_eee(). Allow these PHYs to proceed with EEE
initialization and report error/success by checking the standard C45
EEE-related registers.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/amd.c')
0 files changed, 0 insertions, 0 deletions