aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit@qlogic.com>2009-10-16 11:50:06 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-18 02:44:39 -0400
commit0a2aa440603f27ad40bcc14806f4d87aabbd8a0f (patch)
treef3c425e1b380f63fb707ca53f8940b2665ac5633 /drivers/net/netxen
parent12d7ea2c5a5c87834daf9fcd920aab80ff6248b1 (diff)
netxen: defines for next revision
Signed-off-by: Amit Kumar Salecha <amit@netxen.com> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r--drivers/net/netxen/netxen_nic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 1bdb8f4a3c86..a608e25807ba 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -117,9 +117,11 @@
117#define NX_P3_B0 0x40 117#define NX_P3_B0 0x40
118#define NX_P3_B1 0x41 118#define NX_P3_B1 0x41
119#define NX_P3_B2 0x42 119#define NX_P3_B2 0x42
120#define NX_P3P_A0 0x50
120 121
121#define NX_IS_REVISION_P2(REVISION) (REVISION <= NX_P2_C1) 122#define NX_IS_REVISION_P2(REVISION) (REVISION <= NX_P2_C1)
122#define NX_IS_REVISION_P3(REVISION) (REVISION >= NX_P3_A0) 123#define NX_IS_REVISION_P3(REVISION) (REVISION >= NX_P3_A0)
124#define NX_IS_REVISION_P3P(REVISION) (REVISION >= NX_P3P_A0)
123 125
124#define FIRST_PAGE_GROUP_START 0 126#define FIRST_PAGE_GROUP_START 0
125#define FIRST_PAGE_GROUP_END 0x100000 127#define FIRST_PAGE_GROUP_END 0x100000