aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_options.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@redhat.com>2014-01-22 08:53:34 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-22 18:38:43 -0500
commit0fff060877426f3faf6754c201e28cd5b34756c0 (patch)
treefa4c65b3091a5a8d244e1932c0ce27391aba4c84 /drivers/net/bonding/bond_options.h
parent388d3a6d4aa356b885bcd023c185060df9ea2484 (diff)
bonding: convert use_carrier to use the new option API
This patch adds the necessary changes so use_carrier would use the new bonding option API. Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.h')
-rw-r--r--drivers/net/bonding/bond_options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h
index 1de315cd3bb6..229f5c15a1a4 100644
--- a/drivers/net/bonding/bond_options.h
+++ b/drivers/net/bonding/bond_options.h
@@ -55,6 +55,7 @@ enum {
55 BOND_OPT_MIIMON, 55 BOND_OPT_MIIMON,
56 BOND_OPT_PRIMARY, 56 BOND_OPT_PRIMARY,
57 BOND_OPT_PRIMARY_RESELECT, 57 BOND_OPT_PRIMARY_RESELECT,
58 BOND_OPT_USE_CARRIER,
58 BOND_OPT_LAST 59 BOND_OPT_LAST
59}; 60};
60 61
@@ -147,4 +148,6 @@ int bond_option_primary_set(struct bonding *bond,
147 struct bond_opt_value *newval); 148 struct bond_opt_value *newval);
148int bond_option_primary_reselect_set(struct bonding *bond, 149int bond_option_primary_reselect_set(struct bonding *bond,
149 struct bond_opt_value *newval); 150 struct bond_opt_value *newval);
151int bond_option_use_carrier_set(struct bonding *bond,
152 struct bond_opt_value *newval);
150#endif /* _BOND_OPTIONS_H */ 153#endif /* _BOND_OPTIONS_H */