diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-06-10 12:12:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-15 13:58:39 -0400 |
commit | 4247e161b12f8dffb7ee3ee07bc5e61f714ebe2d (patch) | |
tree | 95edfebfb67abcfb95b1865ce8d78e44c1c153c5 /include/linux/netdevice.h | |
parent | dbaa154178341689faaa08fbf40b94ae5ca1d6c0 (diff) |
netpoll: Add ndo_netpoll_setup
This patch adds ndo_netpoll_setup as the initialisation primitive
to complement ndo_netpoll_cleanup.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 4fbccc5f609a..fb20cc55ba52 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -744,6 +744,8 @@ struct net_device_ops { | |||
744 | unsigned short vid); | 744 | unsigned short vid); |
745 | #ifdef CONFIG_NET_POLL_CONTROLLER | 745 | #ifdef CONFIG_NET_POLL_CONTROLLER |
746 | void (*ndo_poll_controller)(struct net_device *dev); | 746 | void (*ndo_poll_controller)(struct net_device *dev); |
747 | int (*ndo_netpoll_setup)(struct net_device *dev, | ||
748 | struct netpoll_info *info); | ||
747 | void (*ndo_netpoll_cleanup)(struct net_device *dev); | 749 | void (*ndo_netpoll_cleanup)(struct net_device *dev); |
748 | #endif | 750 | #endif |
749 | int (*ndo_set_vf_mac)(struct net_device *dev, | 751 | int (*ndo_set_vf_mac)(struct net_device *dev, |