diff options
author | Narender Kumar <narender.kumar@qlogic.com> | 2009-10-16 15:50:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-17 23:44:46 -0700 |
commit | caa2dd53bc2f9c44938f2f261ebe15e2f26cc51e (patch) | |
tree | 6fade4ac91dcd549acfec39891dc7bc57f0a6341 /drivers/net/netxen/netxen_nic.h | |
parent | 7cecdca133ea9791adce21819b9e9eed79045f23 (diff) | |
download | blackbird-op-linux-caa2dd53bc2f9c44938f2f261ebe15e2f26cc51e.tar.gz blackbird-op-linux-caa2dd53bc2f9c44938f2f261ebe15e2f26cc51e.zip |
netxen: sysfs control for auto firmware recovery
Firmware hang detection and recovery (reset) need to
be disabled for diagnostic tools, which can run
some disruptive tests.
This adds a driver level control to turn off this
feature by diag 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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index db28f8a6f8af..fa7511e2f2e9 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h @@ -1044,6 +1044,9 @@ typedef struct { #define LINKEVENT_LINKSPEED_MBPS 0 #define LINKEVENT_LINKSPEED_ENCODED 1 +#define AUTO_FW_RESET_ENABLED 0xEF10AF12 +#define AUTO_FW_RESET_DISABLED 0xDCBAAF12 + /* firmware response header: * 63:58 - message type * 57:56 - owner |