Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28694
b: refs/heads/master
c: 4240545
h: refs/heads/master
v: v3
  • Loading branch information
Linas Vepstas authored and Paul Mackerras committed May 19, 2006
1 parent 995c399 commit d4d46ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 877fbae3d51ba792639535bfc0f428154b8da605
refs/heads/master: 4240545661fc0ac25122f166e96633527150300c
7 changes: 6 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@ static void eeh_report_failure(struct pci_dev *dev, void *userdata)

static int eeh_reset_device (struct pci_dn *pe_dn, struct pci_bus *bus)
{
int rc;
int cnt, rc;

/* pcibios will clear the counter; save the value */
cnt = pe_dn->eeh_freeze_count;

if (bus)
pcibios_remove_pci_devices(bus);

Expand Down Expand Up @@ -240,6 +244,7 @@ static int eeh_reset_device (struct pci_dn *pe_dn, struct pci_bus *bus)
ssleep (5);
pcibios_add_pci_devices(bus);
}
pe_dn->eeh_freeze_count = cnt;

return 0;
}
Expand Down

0 comments on commit d4d46ce

Please sign in to comment.