commit | 1be52e97ed3e524f82e25d6e53f48df3c6e85282 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Aug 08 20:56:40 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 08 19:19:03 2018 -0700 |
tree | 30bdaf9599df7f1f7deec4ae369010bf7cd584b5 | |
parent | ef91b6f91ab8edfb3b90a03896004023dbac3e6e [diff] |
dsa: slave: eee: Allow ports to use phylink For a port to be able to use EEE, both the MAC and the PHY must support EEE. A phy can be provided by both a phydev or phylink. Verify at least one of these exist, not just phydev. Fixes: aab9c4067d23 ("net: dsa: Plug in PHYLINK support") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>