diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-10-13 01:31:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-13 14:48:25 -0400 |
commit | 70f9cf8951e5253cfef821f8dcb92f6fc3af50c6 (patch) | |
tree | 8ed392633d7064b79ed14bc0bfc0acad3c2adca6 /drivers/net/netxen/netxen_nic.h | |
parent | f03b0ebd8e7132bd9adb41348070813feb280300 (diff) |
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 { | |||
1089 | #define NETXEN_NIC_MSIX_ENABLED 0x04 | 1089 | #define NETXEN_NIC_MSIX_ENABLED 0x04 |
1090 | #define NETXEN_NIC_LRO_ENABLED 0x08 | 1090 | #define NETXEN_NIC_LRO_ENABLED 0x08 |
1091 | #define NETXEN_NIC_BRIDGE_ENABLED 0X10 | 1091 | #define NETXEN_NIC_BRIDGE_ENABLED 0X10 |
1092 | #define NETXEN_NIC_DIAG_ENABLED 0x20 | ||
1092 | #define NETXEN_IS_MSI_FAMILY(adapter) \ | 1093 | #define NETXEN_IS_MSI_FAMILY(adapter) \ |
1093 | ((adapter)->flags & (NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED)) | 1094 | ((adapter)->flags & (NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED)) |
1094 | 1095 | ||