]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c01d4877bf8f0977b55d6c88e6f674999cfcee2
treec4ad7b4e4ed9aa197a2452b61582283675340d30
parent6655d8a08e78db081fb7a9125f74f16d5842648a
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