diff options
author | Michael Chan <mchan@broadcom.com> | 2010-12-23 10:42:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-23 22:44:30 +0300 |
commit | 5159fdc1e6cb4000f482faebeeba0be91611276d (patch) | |
tree | 7d4c0258320231a4eab9b349df1eb146ce7277a4 /drivers/net/cnic.h | |
parent | 939b82e5bde56a98c72eccde2e3a88d32bffad4a (diff) | |
download | linux-5159fdc1e6cb4000f482faebeeba0be91611276d.tar.xz |
cnic: Use proper client and connection IDs on iSCSI ring
Use the IDs specified by the bnx2x driver when initializing the ring.
We don't have to make code changes when these IDs change in the future.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cnic.h')
-rw-r--r-- | drivers/net/cnic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/cnic.h b/drivers/net/cnic.h index bf38e5788d3f..8e947b7e0700 100644 --- a/drivers/net/cnic.h +++ b/drivers/net/cnic.h @@ -356,11 +356,6 @@ struct bnx2x_bd_chain_next { #define BNX2X_CONTEXT_MEM_SIZE 1024 #define BNX2X_FCOE_CID 16 -/* iSCSI client IDs are 17, 19, 21, 23 */ -#define BNX2X_ISCSI_BASE_CL_ID 17 -#define BNX2X_ISCSI_CL_ID(vn) (BNX2X_ISCSI_BASE_CL_ID + ((vn) << 1)) - -#define BNX2X_ISCSI_L2_CID 17 #define BNX2X_ISCSI_START_CID 18 #define BNX2X_ISCSI_NUM_CONNECTIONS 128 #define BNX2X_ISCSI_TASK_CONTEXT_SIZE 128 |