Searched hist:f4344e0a48121d07cf8f69415278e84c39dbe9bf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/dsa/ |
H A D | slave.c | diff f4344e0a48121d07cf8f69415278e84c39dbe9bf Tue Sep 26 16:15:31 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> net: dsa: return -ENODEV is there is no slave PHY
Instead of returning -EOPNOTSUPP when a slave device has no PHY, directly return -ENODEV as ethtool and phylib do.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|