bnx2: EEH is failing with timeout
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 26 Nov 2009 07:31:49 +0000 (07:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 23:36:28 +0000 (15:36 -0800)
commit529fab67d78747ddc3a8a2bbd0d1aab1d059439f
treef054f5c48a18c70c023af0551be28d899a1bf5b6
parent7c7afb083675b3d4d012a2aacec3a958ba484ab0
bnx2: EEH is failing with timeout

bnx2 is failing when a PCI error is detected. The error is the
following:

bnx2: Chip not in correct endian mode
bnx2: fw sync timeout, reset code = 404001d

This error was caused because the way pci_restore_state() is working
after commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff ("PCI: Clear
saved_state after the state has been restored").

Signed-off-by: Breno Leitao<leitao@linux.vnet.ibm.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c