aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2005-11-09 13:35:03 -0500
committerJohn W. Linville <linville@tuxdriver.com>2005-11-13 14:48:18 -0500
commit2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 (patch)
tree65486155a386bc6d395c20a3d8f4fe472a3479de /drivers/net/bonding/bond_main.c
parent4e0952c74ee450ded86e8946ce58ea8dfd05b007 (diff)
[PATCH] bonding: expand module param descriptions
Expand and correct the parameter descriptions shown by modinfo. 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/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 7838522d5093..9a2d266a0abb 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -565,17 +565,24 @@ MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
565module_param(updelay, int, 0); 565module_param(updelay, int, 0);
566MODULE_PARM_DESC(updelay, "Delay before considering link up, in milliseconds"); 566MODULE_PARM_DESC(updelay, "Delay before considering link up, in milliseconds");
567module_param(downdelay, int, 0); 567module_param(downdelay, int, 0);
568MODULE_PARM_DESC(downdelay, "Delay before considering link down, in milliseconds"); 568MODULE_PARM_DESC(downdelay, "Delay before considering link down, "
569 "in milliseconds");
569module_param(use_carrier, int, 0); 570module_param(use_carrier, int, 0);
570MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; 0 for off, 1 for on (default)"); 571MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
572 "0 for off, 1 for on (default)");
571module_param(mode, charp, 0); 573module_param(mode, charp, 0);
572MODULE_PARM_DESC(mode, "Mode of operation : 0 for round robin, 1 for active-backup, 2 for xor"); 574MODULE_PARM_DESC(mode, "Mode of operation : 0 for balance-rr, "
575 "1 for active-backup, 2 for balance-xor, "
576 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, "
577 "6 for balance-alb");
573module_param(primary, charp, 0); 578module_param(primary, charp, 0);
574MODULE_PARM_DESC(primary, "Primary network device to use"); 579MODULE_PARM_DESC(primary, "Primary network device to use");
575module_param(lacp_rate, charp, 0); 580module_param(lacp_rate, charp, 0);
576MODULE_PARM_DESC(lacp_rate, "LACPDU tx rate to request from 802.3ad partner (slow/fast)"); 581MODULE_PARM_DESC(lacp_rate, "LACPDU tx rate to request from 802.3ad partner "
582 "(slow/fast)");
577module_param(xmit_hash_policy, charp, 0); 583module_param(xmit_hash_policy, charp, 0);
578MODULE_PARM_DESC(xmit_hash_policy, "XOR hashing method : 0 for layer 2 (default), 1 for layer 3+4"); 584MODULE_PARM_DESC(xmit_hash_policy, "XOR hashing method: 0 for layer 2 (default)"
585 ", 1 for layer 3+4");
579module_param(arp_interval, int, 0); 586module_param(arp_interval, int, 0);
580MODULE_PARM_DESC(arp_interval, "arp interval in milliseconds"); 587MODULE_PARM_DESC(arp_interval, "arp interval in milliseconds");
581module_param_array(arp_ip_target, charp, NULL, 0); 588module_param_array(arp_ip_target, charp, NULL, 0);