net: dsa: mv88e6352: Add support for EEE
authorGuenter Roeck <linux@roeck-us.net>
Sat, 7 Mar 2015 06:23:52 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Mar 2015 03:34:10 +0000 (22:34 -0500)
Enable EEE support for MV88E6352.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6352.c

index 1ebd8f96072a1b00e943ca0247acdd2d5f5d40ab..7bc5998384c68fac1dbf2654c97f275e419469fd 100644 (file)
@@ -717,6 +717,8 @@ struct dsa_switch_driver mv88e6352_switch_driver = {
        .get_strings            = mv88e6352_get_strings,
        .get_ethtool_stats      = mv88e6352_get_ethtool_stats,
        .get_sset_count         = mv88e6352_get_sset_count,
+       .set_eee                = mv88e6xxx_set_eee,
+       .get_eee                = mv88e6xxx_get_eee,
 #ifdef CONFIG_NET_DSA_HWMON
        .get_temp               = mv88e6352_get_temp,
        .get_temp_limit         = mv88e6352_get_temp_limit,