]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2: Try to recover from PCI block reset
authorMichael Chan <mchan@broadcom.com>
Mon, 16 Jul 2012 14:25:56 +0000 (14:25 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:14 +0000 (15:23 +0800)
commitaffe6eef38966f661fc31e474075c02e9d205e56
treedfe3ba0e9db32c1ebd41b26c60245ab7abf60a04
parent904ba459f9638dcc5798c74da2ddcaf4dcec58ea
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.

(cherry picked from commit efdfad3205403e1d1c5c0bdcbdb647ddd89bfaa3)
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2.c