ixgb: return PCI_ERS_RESULT_DISCONNECT on permanent failure
commitd6a1f83b63e6999ee9374330ea2d7924e775aff7
authorDean Nelson <dnelson@redhat.com>
Fri, 31 Jul 2009 09:13:40 +0000 (31 09:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Aug 2009 06:11:59 +0000 (1 23:11 -0700)
tree00634ac8a4aef2a47f25fd77ecca2141c03b5479
parentc06c430dedf71a0e9180d673191b9c9368aeaa65
ixgb: return PCI_ERS_RESULT_DISCONNECT on permanent failure

PCI drivers that implement the struct pci_error_handlers' error_detected
callback should return PCI_ERS_RESULT_DISCONNECT if the state passed in is
pci_channel_io_perm_failure. This patch fixes the issue for ixgb.

Signed-off-by: Dean Nelson <dnelson@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgb/ixgb_main.c