commit | a9f6309585cbefa4a7f08c9017ca482c3222323a | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Aug 22 18:55:44 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 23 11:39:09 2014 -0700 |
tree | 954313a4638dfca0e7cab923dff7057c28789641 | |
parent | 66ce7fb9807b036058aa380bfd2b3851ae25ce39 [diff] |
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>