aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2011-07-13 13:24:22 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-14 11:46:08 -0400
commit41c2178adce37b249147063624f8a27b064b471e (patch)
treee74bf9c8c56954848fba61a863df040630c4f5f9 /drivers/net/bnx2.h
parentecdbf6e0d555d353188647d1b2dee9a79db69c68 (diff)
bnx2: Read iSCSI config from shared memory during ->probe()
The scratchpad location that we were reading from has not been initialized yet during ->probe(), so we were getting inaccurate information. Update version to 2.1.10. Signed-off-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index 0f0ad2b44c2..fc50d4267df 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -7368,6 +7368,13 @@ struct bnx2_rv2p_fw_file {
7368#define BNX2_RPHY_SERDES_LINK 0x374 7368#define BNX2_RPHY_SERDES_LINK 0x374
7369#define BNX2_RPHY_COPPER_LINK 0x378 7369#define BNX2_RPHY_COPPER_LINK 0x378
7370 7370
7371#define BNX2_ISCSI_INITIATOR 0x3dc
7372#define BNX2_ISCSI_INITIATOR_EN 0x00080000
7373
7374#define BNX2_ISCSI_MAX_CONN 0x3e4
7375#define BNX2_ISCSI_MAX_CONN_MASK 0xffff0000
7376#define BNX2_ISCSI_MAX_CONN_SHIFT 16
7377
7371#define HOST_VIEW_SHMEM_BASE 0x167c00 7378#define HOST_VIEW_SHMEM_BASE 0x167c00
7372 7379
7373#define DP_SHMEM_LINE(bp, offset) \ 7380#define DP_SHMEM_LINE(bp, offset) \