commit | efdfad3205403e1d1c5c0bdcbdb647ddd89bfaa3 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Mon Jul 16 14:25:56 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 16 23:12:02 2012 -0700 |
tree | 1b058c348ce528d344020542f9b7371a4a37f279 | |
parent | aed93e0bf493535c25c27270001226bb1dd379b2 [diff] |
bnx2: Try to recover from PCI block reset If the PCI block has reset, the memory enable bit will be reset and the device will not respond to MMIO access. bnx2_reset_task() currently will not recover when this happens. Add code to detect this condition and restore the PCI state. This scenario has been reported by some users. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>