]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56db3bf3a8704a8eab5f0d7524c2dfdac89779e2
tree7d21e3720f7a947a395fabc18b95d203ecfe297c
parentd018e3564cde8dfeedfec67b233516889fc783cf
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