Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b9b181... Commit: b9b1812cad14bf921409a76a444a015d22774639 Parent: 9103eb7d3a78ec6e49e49412c45e3b0a2589cbce Author: Stephen Rothwell <sfr@canb.auug.org.au> AuthorDate: Fri Dec 7 01:48:14 2007 +1100 Committer: Paul Mackerras <paulus@samba.org> CommitDate: Tue Dec 11 13:42:17 2007 +1100 [POWERPC] iSeries: Cleanup PCI retry code a little Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org> --- arch/powerpc/platforms/iseries/pci.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index e4e6ae0..8ef3226 100644 --- a/arch/powerpc/platforms/iseries/pci.c +++ b/arch/powerpc/platforms/iseries/pci.c @@ -45,8 +45,8 @@ #include "pci.h" #include "call_pci.h" -static int Pci_Retry_Max = 3; /* Only retry 3 times */ -static int Pci_Error_Flag = 1; /* Set Retry Error on. */ +#define PCI_RETRY_MAX 3 +static int limit_pci_retries = 1; /* Set Retry Error on. */ /* * Table defines @@ -338,8 +338,8 @@ static int CheckReturnCode(char *TextHdr, struct device_node *DevNode, * Bump the retry and check for retry count exceeded. * If, Exceeded, panic the system. */ - if (((*retry) > Pci_Retry_Max) && - (Pci_Error_Flag > 0)) { + if (((*retry) > PCI_RETRY_MAX) && + (limit_pci_retries > 0)) { mf_display_src(0xB6000103); panic_timeout = 0; panic("PCI: Hardware I/O Error, SRC B6000103, " - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
