summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x.h
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2010-07-27 12:32:19 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-27 20:35:40 -0700
commit5d7cd49622af9396643f8d2c5ed17039d89fef14 (patch)
treebfc2a67d1445474e5b57c6a14702fe593b589641 /drivers/net/bnx2x/bnx2x.h
parent5d1e859c5b600c491336f023a2f2105c24597226 (diff)
downloadblackbird-op-linux-5d7cd49622af9396643f8d2c5ed17039d89fef14.tar.gz
blackbird-op-linux-5d7cd49622af9396643f8d2c5ed17039d89fef14.zip
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.h2
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 {
int multi_mode;
int num_queues;
+ int disable_tpa;
+ int int_mode;
u32 rx_mode;
#define BNX2X_RX_MODE_NONE 0
OpenPOWER on IntegriCloud