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>
This commit is contained in:

committed by
David S. Miller

parent
f03b0ebd8e
commit
70f9cf8951
@@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user