diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-10-13 05:31:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-13 11:48:25 -0700 |
commit | 70f9cf8951e5253cfef821f8dcb92f6fc3af50c6 (patch) | |
tree | 8ed392633d7064b79ed14bc0bfc0acad3c2adca6 /drivers/net/netxen/netxen_nic.h | |
parent | f03b0ebd8e7132bd9adb41348070813feb280300 (diff) | |
download | blackbird-op-linux-70f9cf8951e5253cfef821f8dcb92f6fc3af50c6.tar.gz blackbird-op-linux-70f9cf8951e5253cfef821f8dcb92f6fc3af50c6.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index 1047609ef51b..1bdb8f4a3c86 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)) |