From: Breno Leitao Date: Wed, 6 May 2009 10:44:26 +0000 (+0000) Subject: ixgbe: Return PCI_ERS_RESULT_DISCONNECT when bus is disabled X-Git-Tag: v2.6.31-rc1~330^2~462 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3044b8d1ff8c05237652a692fb572a34e4d70146;p=pandora-kernel.git ixgbe: Return PCI_ERS_RESULT_DISCONNECT when bus is disabled According to the "PCI Error Recovery" document, if after a recovery, the bus is disabled, the error_detected function should return PCI_ERS_RESULT_DISCONNECT. Actually ixgbe error_detected function is always returning PCI_ERS_RESULT_NEED_RESET, even if the bus is in failure. This patch just check if the bus is disabled and then returns PCI_ERS_RESULT_DISCONNET. Signed-off-by: Breno Leitao Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed