Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81011
b: refs/heads/master
c: b9b1812
h: refs/heads/master
i:
  81009: cf2e4ce
  81007: 084ee4c
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 11, 2007
1 parent 4c465fa commit c036194
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9103eb7d3a78ec6e49e49412c45e3b0a2589cbce
refs/heads/master: b9b1812cad14bf921409a76a444a015d22774639
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/platforms/iseries/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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, "
Expand Down

0 comments on commit c036194

Please sign in to comment.