From: Linas Vepstas Date: Fri, 28 Apr 2006 22:39:38 +0000 (-0500) Subject: [PATCH] powerpc/pseries: Increment fail counter in PCI recovery X-Git-Tag: v2.6.18-rc1~1081^2~225^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4240545661fc0ac25122f166e96633527150300c;p=pandora-kernel.git [PATCH] powerpc/pseries: Increment fail counter in PCI recovery When a PCI device driver does not support PCI error recovery, the powerpc/pseries code takes a walk through a branch of code that resets the failure counter. Because of this, if a broken PCI card is present, the kernel will attempt to reset it an infinite number of times. (This is annoying but mostly harmless: each reset takes about 10-20 seconds, and uses almost no CPU time). This patch preserves the failure count across resets. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed