diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2011-01-31 17:39:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-01 07:44:46 +0300 |
commit | 2ba451421b23636c45fabfa522858c5c124b3673 (patch) | |
tree | fc576f3ac8a064b50747533522940f05e39f70c1 /drivers/net/bnx2.h | |
parent | 0c838ff1ade71162775afffd9e5c6478a60bdca6 (diff) | |
download | linux-2ba451421b23636c45fabfa522858c5c124b3673.tar.xz |
bnx2x, cnic: Consolidate iSCSI/FCoE shared mem logic in bnx2x
Move all shared mem code to bnx2x to avoid code duplication. bnx2x now
performs:
- Read the FCoE and iSCSI max connection information.
- Read the iSCSI and FCoE MACs from NPAR configuration in shmem.
- Block the CNIC for the current function if there is neither FCoE nor
iSCSI valid configuration by returning NULL from bnx2x_cnic_probe().
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 0132ea959995..7a5e88f831f6 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h @@ -6207,6 +6207,8 @@ struct l2_fhdr { #define BNX2_CP_SCRATCH 0x001a0000 +#define BNX2_FW_MAX_ISCSI_CONN 0x001a0080 + /* * mcp_reg definition |