diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-06-12 11:45:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-06-12 11:45:41 +0000 |
commit | 86a981e836404006efc35881ebf3d5ae36925e82 (patch) | |
tree | d7185569b1225372216a882c21942be1ab04ebe9 /arch/mips/gt64120/momenco_ocelot/pci.c | |
parent | e7a2b839cb0075e1dcf6328a8afb507956e6ef9a (diff) |
More interrupt handling changes for the Ocelot.master
Diffstat (limited to 'arch/mips/gt64120/momenco_ocelot/pci.c')
-rw-r--r-- | arch/mips/gt64120/momenco_ocelot/pci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/gt64120/momenco_ocelot/pci.c b/arch/mips/gt64120/momenco_ocelot/pci.c index 04727f885..4b8e41b2b 100644 --- a/arch/mips/gt64120/momenco_ocelot/pci.c +++ b/arch/mips/gt64120/momenco_ocelot/pci.c @@ -53,6 +53,12 @@ void __init gt64120_board_pcibios_fixup_bus(struct pci_bus *bus) "found unexpected PCI device in slot 2."); } devices->irq = 3; /* irq_nr is 3 for INT1 */ + } else if (PCI_SLOT(devices->devfn) == 4) { + /* PMC Slot 1 */ + devices->irq = 8; /* irq_nr is 8 for INT6 */ + } else if (PCI_SLOT(devices->devfn) == 5) { + /* PMC Slot 1 */ + devices->irq = 9; /* irq_nr is 9 for INT7 */ } else { /* We don't have assign interrupts for other devices. */ devices->irq = 0xff; |