aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2005-11-09 13:36:04 -0500
committerJohn W. Linville <linville@tuxdriver.com>2005-11-13 14:48:20 -0500
commitdfe60397a62b1a5ebc7f05fd65463d3e29397677 (patch)
tree4f11c617486af7497356edfd87c276d81ed466d6 /drivers/net/bonding/bonding.h
parenta77b53258d76513c37e766dc0db1fc9db7c4ac1e (diff)
[PATCH] bonding: move bond creation into separate function
The sysfs interface can create bonds at runtime, so we need a separate function to do this, instead of just doing it in the module init code. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Acked-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 96a733f2337a..863605aab204 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -260,6 +260,7 @@ extern inline void bond_set_slave_active_flags(struct slave *slave)
260 260
261struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); 261struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr);
262int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); 262int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
263int bond_create(char *name, struct bond_params *params, struct bonding **newbond);
263void bond_deinit(struct net_device *bond_dev); 264void bond_deinit(struct net_device *bond_dev);
264int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev); 265int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev);
265int bond_release(struct net_device *bond_dev, struct net_device *slave_dev); 266int bond_release(struct net_device *bond_dev, struct net_device *slave_dev);