diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:38:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:56 -0500 |
commit | 9898f86d3927bf3526aef433c8ced0b51178c35c (patch) | |
tree | c7a297a0d69d3a90e6bc135d8e2b9e2be3ce4192 /drivers/net/bnx2x_main.c | |
parent | 359d8b1599050977771190cf938ef010e951ee04 (diff) |
bnx2x: Re-arrange module parameters
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 3f8402750c7a..0d6015f2af37 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -74,26 +74,26 @@ static int multi_mode = 1; | |||
74 | module_param(multi_mode, int, 0); | 74 | module_param(multi_mode, int, 0); |
75 | 75 | ||
76 | static int disable_tpa; | 76 | static int disable_tpa; |
77 | static int poll; | ||
78 | static int debug; | ||
79 | static int load_count[3]; /* 0-common, 1-port0, 2-port1 */ | ||
80 | |||
81 | module_param(disable_tpa, int, 0); | 77 | module_param(disable_tpa, int, 0); |
78 | MODULE_PARM_DESC(disable_tpa, " Disable the TPA (LRO) feature"); | ||
82 | 79 | ||
83 | static int int_mode; | 80 | static int int_mode; |
84 | module_param(int_mode, int, 0); | 81 | module_param(int_mode, int, 0); |
85 | MODULE_PARM_DESC(int_mode, " Force interrupt mode (1 INT#x; 2 MSI)"); | 82 | MODULE_PARM_DESC(int_mode, " Force interrupt mode (1 INT#x; 2 MSI)"); |
86 | 83 | ||
84 | static int poll; | ||
87 | module_param(poll, int, 0); | 85 | module_param(poll, int, 0); |
86 | MODULE_PARM_DESC(poll, " Use polling (for debug)"); | ||
88 | 87 | ||
89 | static int mrrs = -1; | 88 | static int mrrs = -1; |
90 | module_param(mrrs, int, 0); | 89 | module_param(mrrs, int, 0); |
91 | MODULE_PARM_DESC(mrrs, " Force Max Read Req Size (0..3) (for debug)"); | 90 | MODULE_PARM_DESC(mrrs, " Force Max Read Req Size (0..3) (for debug)"); |
92 | 91 | ||
92 | static int debug; | ||
93 | module_param(debug, int, 0); | 93 | module_param(debug, int, 0); |
94 | MODULE_PARM_DESC(disable_tpa, "disable the TPA (LRO) feature"); | 94 | MODULE_PARM_DESC(debug, " Default debug msglevel"); |
95 | MODULE_PARM_DESC(poll, "use polling (for debug)"); | 95 | |
96 | MODULE_PARM_DESC(debug, "default debug msglevel"); | 96 | static int load_count[3]; /* 0-common, 1-port0, 2-port1 */ |
97 | 97 | ||
98 | static struct workqueue_struct *bnx2x_wq; | 98 | static struct workqueue_struct *bnx2x_wq; |
99 | 99 | ||