summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-10-13 05:31:45 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-13 11:48:25 -0700
commit70f9cf8951e5253cfef821f8dcb92f6fc3af50c6 (patch)
tree8ed392633d7064b79ed14bc0bfc0acad3c2adca6 /drivers/net/netxen/netxen_nic.h
parentf03b0ebd8e7132bd9adb41348070813feb280300 (diff)
downloadop-kernel-dev-70f9cf8951e5253cfef821f8dcb92f6fc3af50c6.zip
op-kernel-dev-70f9cf8951e5253cfef821f8dcb92f6fc3af50c6.tar.gz
netxen: add sysfs entries for diag tools
Add sysfs entries to enable register and memory access for diagnostic tools. Signed-off-by: Narender Kumar <narender.kumar@qlogic.com> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 1047609..1bdb8f4 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -1089,6 +1089,7 @@ typedef struct {
#define NETXEN_NIC_MSIX_ENABLED 0x04
#define NETXEN_NIC_LRO_ENABLED 0x08
#define NETXEN_NIC_BRIDGE_ENABLED 0X10
+#define NETXEN_NIC_DIAG_ENABLED 0x20
#define NETXEN_IS_MSI_FAMILY(adapter) \
((adapter)->flags & (NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED))
OpenPOWER on IntegriCloud