Home
last modified time | relevance | path

Searched hist:"7 b9cc73843e89ea1ac215511c13c259a70d1b4f7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/dsa/
H A Dslave.cdiff 7b9cc73843e89ea1ac215511c13c259a70d1b4f7 Tue Aug 01 15:32:31 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> net: dsa: PHY device is mandatory for EEE

The port's PHY and MAC are both implied in EEE. The current code does
not call the PHY operations if the related device is NULL. Change that
by returning -ENODEV if there's no PHY device attached to the interface.

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>