summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_hdr.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay.phadke@qlogic.com>2010-04-01 19:01:30 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-03 14:19:13 -0700
commitb47acacd7c888ef550fb786dd02db69d9eb2faee (patch)
tree960a55f66a1270cea01f31833dbcfac10566b460 /drivers/net/qlcnic/qlcnic_hdr.h
parent897e8c7c450dac2912b677c6e6bf8b04aa5bdf72 (diff)
downloadlinux-b47acacd7c888ef550fb786dd02db69d9eb2faee.tar.gz
linux-b47acacd7c888ef550fb786dd02db69d9eb2faee.tar.bz2
linux-b47acacd7c888ef550fb786dd02db69d9eb2faee.zip
qlcnic: update oncard memory size check
All QLogic converged NICs have 128-bit 128MB on card memory. Fix the limit check from 64MB to 128MB and remove unnecessary 64-bit read/write checks. Signed-off-by: Dhananjay Phadke <dhananjay.phadke@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hdr.h')
-rw-r--r--drivers/net/qlcnic/qlcnic_hdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hdr.h b/drivers/net/qlcnic/qlcnic_hdr.h
index 25465a9a7dd0..e9fb692d83ab 100644
--- a/drivers/net/qlcnic/qlcnic_hdr.h
+++ b/drivers/net/qlcnic/qlcnic_hdr.h
@@ -449,7 +449,7 @@ enum {
#define QLCNIC_ADDR_OCM1 (0x0000000200400000ULL)
#define QLCNIC_ADDR_OCM1_MAX (0x00000002004fffffULL)
#define QLCNIC_ADDR_QDR_NET (0x0000000300000000ULL)
-#define QLCNIC_ADDR_QDR_NET_MAX_P3 (0x0000000303ffffffULL)
+#define QLCNIC_ADDR_QDR_NET_MAX (0x0000000307ffffffULL)
/*
* Register offsets for MN