Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39267
b: refs/heads/master
c: 1e1b20a
h: refs/heads/master
i:
  39265: 7318991
  39263: 0537e9f
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Oct 10, 2006
1 parent f889bf0 commit 445d159
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 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: c10af8c38da7a0bc9010d6609237c1ab6d2da12c
refs/heads/master: 1e1b20a119ac45a290bbc6261f69a2a6a2cc064a
17 changes: 15 additions & 2 deletions trunk/arch/powerpc/platforms/maple/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,21 @@ void __init maple_pcibios_fixup(void)
dev->irq = irq_create_mapping(NULL, 1);
if (dev->irq != NO_IRQ)
set_irq_type(dev->irq, IRQ_TYPE_LEVEL_LOW);
} else
pci_read_irq_line(dev);
continue;
}

/* Hide AMD8111 IDE interrupt when in legacy mode so
* the driver calls pci_get_legacy_ide_irq()
*/
if (dev->vendor == PCI_VENDOR_ID_AMD &&
dev->device == PCI_DEVICE_ID_AMD_8111_IDE &&
(dev->class & 5) != 5) {
dev->irq = NO_IRQ;
continue;
}

/* For all others, map the interrupt from the device-tree */
pci_read_irq_line(dev);
}

DBG(" <- maple_pcibios_fixup\n");
Expand Down

0 comments on commit 445d159

Please sign in to comment.