be2net: Fix EEH error reset before a flash dump completes
authorSomnath Kotur <somnath.kotur@emulex.com>
Wed, 2 May 2012 03:41:01 +0000 (03:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2012 01:07:24 +0000 (21:07 -0400)
commiteeb7fc7bc095546b21188e8e076a59bce73f9ca6
treefc97caa025c77db177654fa68ffd0af574c9319e
parentaaa6daec586cd39a6cd44b3d0ab91a84b0e3d53a
be2net: Fix EEH error reset before a flash dump completes

An EEH error can cause the FW to trigger a flash debug dump.
Resetting the card while flash dump is in progress can cause it not to recover.
Wait for it to finish before letting EEH flow to reset the card.

Signed-off-by: Sathya Perla <Sathya.Perla@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c