From: Michael Chan Date: Mon, 16 Jul 2012 14:25:56 +0000 (+0000) Subject: bnx2: Try to recover from PCI block reset X-Git-Tag: v3.6-rc1~125^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efdfad3205403e1d1c5c0bdcbdb647ddd89bfaa3;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed