diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-07-27 08:32:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-27 23:35:40 -0400 |
commit | 5d7cd49622af9396643f8d2c5ed17039d89fef14 (patch) | |
tree | bfc2a67d1445474e5b57c6a14702fe593b589641 /drivers/net/bnx2x/bnx2x.h | |
parent | 5d1e859c5b600c491336f023a2f2105c24597226 (diff) |
bnx2x: store module parameters in driver main structure
Store module parameters during initialization of main driver
structure. This will allow access to the parameters from different
files.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 3b51c5f0b0a3..237609f84855 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -1006,6 +1006,8 @@ struct bnx2x { | |||
1006 | 1006 | ||
1007 | int multi_mode; | 1007 | int multi_mode; |
1008 | int num_queues; | 1008 | int num_queues; |
1009 | int disable_tpa; | ||
1010 | int int_mode; | ||
1009 | 1011 | ||
1010 | u32 rx_mode; | 1012 | u32 rx_mode; |
1011 | #define BNX2X_RX_MODE_NONE 0 | 1013 | #define BNX2X_RX_MODE_NONE 0 |