diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2005-11-09 13:35:03 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-13 14:48:18 -0500 |
commit | 2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 (patch) | |
tree | 65486155a386bc6d395c20a3d8f4fe472a3479de | |
parent | 4e0952c74ee450ded86e8946ce58ea8dfd05b007 (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>
-rw-r--r-- | drivers/net/bonding/bond_main.c | 17 |
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"); | |||
565 | module_param(updelay, int, 0); | 565 | module_param(updelay, int, 0); |
566 | MODULE_PARM_DESC(updelay, "Delay before considering link up, in milliseconds"); | 566 | MODULE_PARM_DESC(updelay, "Delay before considering link up, in milliseconds"); |
567 | module_param(downdelay, int, 0); | 567 | module_param(downdelay, int, 0); |
568 | MODULE_PARM_DESC(downdelay, "Delay before considering link down, in milliseconds"); | 568 | MODULE_PARM_DESC(downdelay, "Delay before considering link down, " |
569 | "in milliseconds"); | ||
569 | module_param(use_carrier, int, 0); | 570 | module_param(use_carrier, int, 0); |
570 | MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; 0 for off, 1 for on (default)"); | 571 | MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; " |
572 | "0 for off, 1 for on (default)"); | ||
571 | module_param(mode, charp, 0); | 573 | module_param(mode, charp, 0); |
572 | MODULE_PARM_DESC(mode, "Mode of operation : 0 for round robin, 1 for active-backup, 2 for xor"); | 574 | MODULE_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"); | ||
573 | module_param(primary, charp, 0); | 578 | module_param(primary, charp, 0); |
574 | MODULE_PARM_DESC(primary, "Primary network device to use"); | 579 | MODULE_PARM_DESC(primary, "Primary network device to use"); |
575 | module_param(lacp_rate, charp, 0); | 580 | module_param(lacp_rate, charp, 0); |
576 | MODULE_PARM_DESC(lacp_rate, "LACPDU tx rate to request from 802.3ad partner (slow/fast)"); | 581 | MODULE_PARM_DESC(lacp_rate, "LACPDU tx rate to request from 802.3ad partner " |
582 | "(slow/fast)"); | ||
577 | module_param(xmit_hash_policy, charp, 0); | 583 | module_param(xmit_hash_policy, charp, 0); |
578 | MODULE_PARM_DESC(xmit_hash_policy, "XOR hashing method : 0 for layer 2 (default), 1 for layer 3+4"); | 584 | MODULE_PARM_DESC(xmit_hash_policy, "XOR hashing method: 0 for layer 2 (default)" |
585 | ", 1 for layer 3+4"); | ||
579 | module_param(arp_interval, int, 0); | 586 | module_param(arp_interval, int, 0); |
580 | MODULE_PARM_DESC(arp_interval, "arp interval in milliseconds"); | 587 | MODULE_PARM_DESC(arp_interval, "arp interval in milliseconds"); |
581 | module_param_array(arp_ip_target, charp, NULL, 0); | 588 | module_param_array(arp_ip_target, charp, NULL, 0); |