bnx2x: Modify unload conditions
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 23 Jan 2013 03:21:49 +0000 (03:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2013 18:58:29 +0000 (13:58 -0500)
commit80bfe5cc1b8c320247a21ff40d8c139c5f3bbcaf
tree7d21e3720f7a947a395fabc18b95d203ecfe297c
parentc3146eb676e7cce254e98b1d179a4c82227a9d26
bnx2x: Modify unload conditions

Don't unload the bnx2x driver if its in a recovery process, or if
the previous load have failed.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c