aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 03:37:21 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:31:45 -0500
commit36e552ab1a51067c5ff8de63416e3fcf2c86a7bf (patch)
tree9d8fab77cdcd039e3edd85f9e79d36693ff44e84 /drivers
parent8d5726c404fd41fedb7a49e1fbef62c60754021a (diff)
bnx2x: Returning EBUSY in debug mode as well
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2x_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 2e4d64df66f5..6c04539e42c7 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -7059,9 +7059,8 @@ static int bnx2x_stop_leading(struct bnx2x *bp)
7059 *bp->dsb_sp_prod, dsb_sp_prod_idx); 7059 *bp->dsb_sp_prod, dsb_sp_prod_idx);
7060#ifdef BNX2X_STOP_ON_ERROR 7060#ifdef BNX2X_STOP_ON_ERROR
7061 bnx2x_panic(); 7061 bnx2x_panic();
7062#else
7063 rc = -EBUSY;
7064#endif 7062#endif
7063 rc = -EBUSY;
7065 break; 7064 break;
7066 } 7065 }
7067 cnt--; 7066 cnt--;