aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cnic.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-12-23 02:42:56 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-23 14:44:26 -0500
commit9b09336072796378dac46df63bcd43291b24fd12 (patch)
tree7412a3c3ab15f7b19472818f5398118c6c742d40 /drivers/net/cnic.h
parenta130883d9528eefb66285728ba6a232d8fff9465 (diff)
cnic: Fix iSCSI TCP port endian order.
Pass the TCP port parameter for iSCSI connections to the firmware in proper endian order. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cnic.h b/drivers/net/cnic.h
index 6a4a0ae5cfe3..bf38e5788d3f 100644
--- a/drivers/net/cnic.h
+++ b/drivers/net/cnic.h
@@ -82,7 +82,7 @@ struct cnic_redirect_entry {
82#define MAX_ISCSI_TBL_SZ 256 82#define MAX_ISCSI_TBL_SZ 256
83 83
84#define CNIC_LOCAL_PORT_MIN 60000 84#define CNIC_LOCAL_PORT_MIN 60000
85#define CNIC_LOCAL_PORT_MAX 61000 85#define CNIC_LOCAL_PORT_MAX 61024
86#define CNIC_LOCAL_PORT_RANGE (CNIC_LOCAL_PORT_MAX - CNIC_LOCAL_PORT_MIN) 86#define CNIC_LOCAL_PORT_RANGE (CNIC_LOCAL_PORT_MAX - CNIC_LOCAL_PORT_MIN)
87 87
88#define KWQE_CNT (BCM_PAGE_SIZE / sizeof(struct kwqe)) 88#define KWQE_CNT (BCM_PAGE_SIZE / sizeof(struct kwqe))