diff options
Diffstat (limited to 'net/dsa/dsa_priv.h')
| -rw-r--r-- | net/dsa/dsa_priv.h | 9 |
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 */ |
| 54 | extern const struct dsa_device_ops notag_netdev_ops; | 56 | extern const struct dsa_device_ops notag_netdev_ops; |
| 55 | void dsa_slave_mii_bus_init(struct dsa_switch *ds); | 57 | void dsa_slave_mii_bus_init(struct dsa_switch *ds); |
| 56 | struct net_device *dsa_slave_create(struct dsa_switch *ds, | 58 | int dsa_slave_create(struct dsa_switch *ds, struct device *parent, |
| 57 | struct device *parent, | 59 | int port, char *name); |
| 58 | int port, char *name); | ||
| 59 | int dsa_slave_suspend(struct net_device *slave_dev); | 60 | int dsa_slave_suspend(struct net_device *slave_dev); |
| 60 | int dsa_slave_resume(struct net_device *slave_dev); | 61 | int dsa_slave_resume(struct net_device *slave_dev); |
| 62 | int dsa_slave_netdevice_event(struct notifier_block *unused, | ||
| 63 | unsigned long event, void *ptr); | ||
| 61 | 64 | ||
| 62 | /* tag_dsa.c */ | 65 | /* tag_dsa.c */ |
| 63 | extern const struct dsa_device_ops dsa_netdev_ops; | 66 | extern const struct dsa_device_ops dsa_netdev_ops; |
