diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-08-12 10:23:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-13 08:02:48 +0200 |
commit | e3553b29c6f395c6692afccc2ed5eff9c3d1daef (patch) | |
tree | f41aae782d997cb936bdf75187ed7a480fc8536f /drivers/net/bnx2x.h | |
parent | bnx2x: Calling pci_set_drvdata earlier (diff) | |
download | linux-e3553b29c6f395c6692afccc2ed5eff9c3d1daef.tar.xz linux-e3553b29c6f395c6692afccc2ed5eff9c3d1daef.zip |
bnx2x: Stop loading if error condition detected
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 004f4a8e1649..633acca4a988 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h @@ -89,6 +89,7 @@ } while (0) #else #define bnx2x_panic() do { \ + bp->panic = 1; \ BNX2X_ERR("driver assert\n"); \ bnx2x_panic_dump(bp); \ } while (0) |