aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r--net/dsa/dsa_priv.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h
index dc9756d3154c..d5f1f9b862ea 100644
--- a/net/dsa/dsa_priv.h
+++ b/net/dsa/dsa_priv.h
@@ -45,6 +45,8 @@ struct dsa_slave_priv {
45 int old_link; 45 int old_link;
46 int old_pause; 46 int old_pause;
47 int old_duplex; 47 int old_duplex;
48
49 struct net_device *bridge_dev;
48}; 50};
49 51
50/* dsa.c */ 52/* dsa.c */
@@ -53,11 +55,12 @@ extern char dsa_driver_version[];
53/* slave.c */ 55/* slave.c */
54extern const struct dsa_device_ops notag_netdev_ops; 56extern const struct dsa_device_ops notag_netdev_ops;
55void dsa_slave_mii_bus_init(struct dsa_switch *ds); 57void dsa_slave_mii_bus_init(struct dsa_switch *ds);
56struct net_device *dsa_slave_create(struct dsa_switch *ds, 58int dsa_slave_create(struct dsa_switch *ds, struct device *parent,
57 struct device *parent, 59 int port, char *name);
58 int port, char *name);
59int dsa_slave_suspend(struct net_device *slave_dev); 60int dsa_slave_suspend(struct net_device *slave_dev);
60int dsa_slave_resume(struct net_device *slave_dev); 61int dsa_slave_resume(struct net_device *slave_dev);
62int dsa_slave_netdevice_event(struct notifier_block *unused,
63 unsigned long event, void *ptr);
61 64
62/* tag_dsa.c */ 65/* tag_dsa.c */
63extern const struct dsa_device_ops dsa_netdev_ops; 66extern const struct dsa_device_ops dsa_netdev_ops;