bnx2x: Fix recovery flow cleanup during probe
authorYuval Mintz <yuvalmin@broadcom.com>
Thu, 9 Aug 2012 04:37:26 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2012 23:19:34 +0000 (16:19 -0700)
commit2070ffa2c8d4dc17cd8fc4b30d2710bcde27b051
treec4ad7b4e4ed9aa197a2452b61582283675340d30
parent8eee694c3e667e6f0856d9c8525208058f9d42bf
bnx2x: Fix recovery flow cleanup during probe

During probe, every function probed clears the recovery registers from
all functions on its path - thus signaling that given a future recovery
event, there will be no need to wait for those functions.

This is a flawed behaviour - each function should only be responsible
for its own bit.

Since this registers are handled during the load/unload routines,
this cleanup is removed altogether.

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_main.c