linux-stable/net/dsa
Vivien Didelot 7b9cc73843 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>
2017-08-01 20:09:09 -07:00
..
dsa.c net: dsa: unexport dsa_is_port_initialized 2017-07-19 16:28:17 -07:00
dsa2.c net: dsa: Initialize ds->cpu_port_mask earlier 2017-07-24 17:36:27 -07:00
dsa_priv.h net: dsa: Introduce dsa_get_cpu_port() 2017-06-13 16:35:03 -04:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: Fix legacy probing 2017-06-17 22:59:45 -04:00
Makefile dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
port.c net: dsa: support cross-chip ageing time 2017-05-24 16:27:47 -04:00
slave.c net: dsa: PHY device is mandatory for EEE 2017-08-01 20:09:09 -07:00
switch.c net: dsa: add cross-chip multicast support 2017-06-16 15:21:14 -04:00
tag_brcm.c net: dsa: Introduce dsa_get_cpu_port() 2017-06-13 16:35:03 -04:00
tag_dsa.c net: dsa: factor skb freeing on xmit 2017-06-01 17:34:56 -04:00
tag_edsa.c net: dsa: factor skb freeing on xmit 2017-06-01 17:34:56 -04:00
tag_ksz.c net: dsa: Introduce dsa_get_cpu_port() 2017-06-13 16:35:03 -04:00
tag_lan9303.c net: dsa: factor skb freeing on xmit 2017-06-01 17:34:56 -04:00
tag_mtk.c net: dsa: factor skb freeing on xmit 2017-06-01 17:34:56 -04:00
tag_qca.c net: dsa: Introduce dsa_get_cpu_port() 2017-06-13 16:35:03 -04:00
tag_trailer.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00