Dmitry Kravkov 9dcd9acd69 bnx2x: Prevent panic during DMAE timeout
If chip enters a recovery flow just after the driver issues a DMAE request
the DMAE will timeout. Current code will cause a bnx2x_panic() as a result,
which means interface will no longer be usable (regardless of the recovery
results), as bnx2x_panic() is irreversible for the driver.

As this is a possible flow, the panic should be reached only when driver
is compiled with STOP_ON_ERROR.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-18 15:45:44 -05:00
..
2013-10-28 14:39:03 -07:00
2013-11-11 17:05:37 +09:00
2013-11-07 15:07:58 +09:00
2013-11-12 15:01:39 +09:00
2013-11-12 15:29:53 +09:00
2013-10-19 13:05:38 -07:00
2013-10-07 14:11:20 +02:00
2013-10-24 16:18:40 +01:00
2013-11-12 15:29:53 +09:00