Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98182
b: refs/heads/master
c: 8e01520
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Paul Mackerras committed Jun 16, 2008
1 parent 4f53ab1 commit cbed4f3
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 958a65f205fdc5ce5461d79376073b89acc51b31
refs/heads/master: 8e01520c06c65a1a376059199fc24d4f3d606991
11 changes: 7 additions & 4 deletions trunk/arch/powerpc/platforms/pseries/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,20 @@ static inline const char * pcid_name (struct pci_dev *pdev)
}

#ifdef DEBUG
static void print_device_node_tree (struct pci_dn *pdn, int dent)
static void print_device_node_tree(struct pci_dn *pdn, int dent)
{
int i;
if (!pdn) return;
for (i=0;i<dent; i++)
struct device_node *pc;

if (!pdn)
return;
for (i = 0; i < dent; i++)
printk(" ");
printk("dn=%s mode=%x \tcfg_addr=%x pe_addr=%x \tfull=%s\n",
pdn->node->name, pdn->eeh_mode, pdn->eeh_config_addr,
pdn->eeh_pe_config_addr, pdn->node->full_name);
dent += 3;
struct device_node *pc = pdn->node->child;
pc = pdn->node->child;
while (pc) {
print_device_node_tree(PCI_DN(pc), dent);
pc = pc->sibling;
Expand Down

0 comments on commit cbed4f3

Please sign in to comment.