Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62867
b: refs/heads/master
c: 8d7bc8f
h: refs/heads/master
i:
  62865: eba294f
  62863: f0fe9a0
v: v3
  • Loading branch information
Randy Vinson authored and Kumar Gala committed Jul 24, 2007
1 parent b794768 commit 95b5e76
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: bca03c6bddc03bba893c86fdf735ecef418159ea
refs/heads/master: 8d7bc8f9d1c23fdfbf60a6554027c40d66e66d11
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/platforms/85xx/mpc85xx_cds.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev)
/* There are two USB controllers.
* Identify them by functon number
*/
if (PCI_FUNC(dev->devfn))
if (PCI_FUNC(dev->devfn) == 3)
dev->irq = 11;
else
dev->irq = 10;
Expand Down Expand Up @@ -300,10 +300,10 @@ static void __init mpc85xx_cds_setup_arch(void)
for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) {
struct resource rsrc;
of_address_to_resource(np, 0, &rsrc);
if ((rsrc.start & 0xfffff) == 0x9000)
fsl_add_bridge(np, 0);
else
if ((rsrc.start & 0xfffff) == 0x8000)
fsl_add_bridge(np, 1);
else
fsl_add_bridge(np, 0);
}
ppc_md.pci_irq_fixup = mpc85xx_cds_pci_irq_fixup;
ppc_md.pci_exclude_device = mpc85xx_exclude_device;
Expand Down

0 comments on commit 95b5e76

Please sign in to comment.