net: dsa: mv88e6xxx: remove EEE support
The PHY's EEE settings are already accessed by the DSA layer through the Marvell PHY driver and there is nothing to be done for switch's MACs. Remove all EEE support from the mv88e6xxx driver and simply return 0 from the EEE ops. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
46587e4a31
commit
5480db6985
@@ -239,12 +239,6 @@ struct mv88e6xxx_ops {
|
||||
struct mii_bus *bus,
|
||||
int addr, int reg, u16 val);
|
||||
|
||||
/* Copper Energy Detect operations */
|
||||
int (*phy_energy_detect_read)(struct mv88e6xxx_chip *chip, int phy,
|
||||
struct ethtool_eee *eee);
|
||||
int (*phy_energy_detect_write)(struct mv88e6xxx_chip *chip, int phy,
|
||||
struct ethtool_eee *eee);
|
||||
|
||||
/* Priority Override Table operations */
|
||||
int (*pot_clear)(struct mv88e6xxx_chip *chip);
|
||||
|
||||
|
Reference in New Issue
Block a user