ixgb: Add PCI Error recovery callbacks
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 31 Aug 2006 21:27:52 +0000 (14:27 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:52 +0000 (14:27 -0700)
commit01748fbb413d6f3b36c330544969d1d7254ee509
tree1148455cf4d76d0b4bc17186790710282339449c
parentadc5413965e6ca2cd18f0ec89933f762b5605574
ixgb: Add PCI Error recovery callbacks

Adds PCI Error recovery callbacks to the Intel 10-gigabit ethernet ixgb
device driver.  Lightly tested, works.

"Zhang, Yanmin" <yanmin_zhang@linux.intel.com> wrote:

Both pci_disable_device and ixgb_down would access the device.  It doesn't
follow Documentation/pci-error-recovery.txt that error_detected shouldn't do
any access to the device.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/ixgb/ixgb_main.c