diff options
author | Michael Chan <mchan@broadcom.com> | 2010-12-23 08:42:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-23 20:44:26 +0100 |
commit | 9b09336072796378dac46df63bcd43291b24fd12 (patch) | |
tree | 7412a3c3ab15f7b19472818f5398118c6c742d40 /drivers/net/cnic.h | |
parent | Merge branch 'for-davem' of ssh://master.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-9b09336072796378dac46df63bcd43291b24fd12.tar.xz linux-9b09336072796378dac46df63bcd43291b24fd12.zip |
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 '')
-rw-r--r-- | drivers/net/cnic.h | 2 |
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 { #define MAX_ISCSI_TBL_SZ 256 #define CNIC_LOCAL_PORT_MIN 60000 -#define CNIC_LOCAL_PORT_MAX 61000 +#define CNIC_LOCAL_PORT_MAX 61024 #define CNIC_LOCAL_PORT_RANGE (CNIC_LOCAL_PORT_MAX - CNIC_LOCAL_PORT_MIN) #define KWQE_CNT (BCM_PAGE_SIZE / sizeof(struct kwqe)) |