diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:43 -0800 |
commit | b98d9c66e1c3823c50a3cd5e8e59f12b97d7ba5d (patch) | |
tree | f184fb9017994853bcbed1f208bb029a137617cc /drivers/net/bonding/bond_options.h | |
parent | ef56becbb37251f0371ad94210f50dc90e18830a (diff) |
bonding: convert miimon to use the new option API
This patch adds the necessary changes so miimon would use
the new bonding option API. The "default" definition has been removed as
it was 0.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h index 014a359460e5..90f00c64030c 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -52,6 +52,7 @@ enum { BOND_OPT_MINLINKS, BOND_OPT_AD_SELECT, BOND_OPT_NUM_PEER_NOTIF, + BOND_OPT_MIIMON, BOND_OPT_LAST }; @@ -139,4 +140,5 @@ int bond_option_ad_select_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_num_peer_notif_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_miimon_set(struct bonding *bond, struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |