aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 4f664fe0e42c..58ad8c6492db 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -232,6 +232,15 @@ struct dsa_switch_driver {
232 struct phy_device *phy); 232 struct phy_device *phy);
233 void (*port_disable)(struct dsa_switch *ds, int port, 233 void (*port_disable)(struct dsa_switch *ds, int port,
234 struct phy_device *phy); 234 struct phy_device *phy);
235
236 /*
237 * EEE setttings
238 */
239 int (*set_eee)(struct dsa_switch *ds, int port,
240 struct phy_device *phydev,
241 struct ethtool_eee *e);
242 int (*get_eee)(struct dsa_switch *ds, int port,
243 struct ethtool_eee *e);
235}; 244};
236 245
237void register_switch_driver(struct dsa_switch_driver *type); 246void register_switch_driver(struct dsa_switch_driver *type);