aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2010-02-03 02:24:12 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-03 23:06:03 -0500
commit4bbd1a1903639f826215d76af74f4901efc34daa (patch)
treed578f3ce4ec90708260a376db46cf769f998c890 /drivers/net/qlge/qlge.h
parenta112fd4ce3ed965dfb8dc6791622cb4f25ba3619 (diff)
qlge: Add check for eeh failure when closing device.
Fix crash where resources are freed twice on an eeh recovery failure. If eeh recovery fails we set a flag to indicate to close() that resources have been freed. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r--drivers/net/qlge/qlge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h
index 9169c4cf413a..780a38731bcc 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -2005,6 +2005,7 @@ enum {
2005 QL_SELFTEST = 9, 2005 QL_SELFTEST = 9,
2006 QL_LB_LINK_UP = 10, 2006 QL_LB_LINK_UP = 10,
2007 QL_FRC_COREDUMP = 11, 2007 QL_FRC_COREDUMP = 11,
2008 QL_EEH_FATAL = 12,
2008}; 2009};
2009 2010
2010/* link_status bit definitions */ 2011/* link_status bit definitions */