Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38171
b: refs/heads/master
c: 022d51b
h: refs/heads/master
i:
  38169: 12ef3ec
  38167: edb164d
v: v3
  • Loading branch information
Linas Vepstas authored and Paul Mackerras committed Sep 26, 2006
1 parent 5a12ad0 commit fd2625a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2cec1b452c2cb6abf0589f35b69ce09c3e612bb4
refs/heads/master: 022d51b1b28d25d50935c39d7968fefe34102a9f
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/platforms/pseries/eeh.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,20 @@ static void __eeh_mark_slot (struct device_node *dn, int mode_flag)

void eeh_mark_slot (struct device_node *dn, int mode_flag)
{
struct pci_dev *dev;
dn = find_device_pe (dn);

/* Back up one, since config addrs might be shared */
if (PCI_DN(dn) && PCI_DN(dn)->eeh_pe_config_addr)
dn = dn->parent;

PCI_DN(dn)->eeh_mode |= mode_flag;

/* Mark the pci device too */
dev = PCI_DN(dn)->pcidev;
if (dev)
dev->error_state = pci_channel_io_frozen;

__eeh_mark_slot (dn->child, mode_flag);
}

Expand Down

0 comments on commit fd2625a

Please sign in to comment.