summaryrefslogtreecommitdiff
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-02 17:24:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-02 17:24:07 +0000
commit03bc391dc53017b4c47b54289567ab89cfac4e14 (patch)
tree20a52808973fcd46bdc2f100787e0a836e771f2d /target/linux/adm5120
parent8be1583b257c5479ee4ee2f3840304384d6cca08 (diff)
downloadmtk-20170518-03bc391dc53017b4c47b54289567ab89cfac4e14.zip
mtk-20170518-03bc391dc53017b4c47b54289567ab89cfac4e14.tar.gz
mtk-20170518-03bc391dc53017b4c47b54289567ab89cfac4e14.tar.bz2
nfs-101u: add PCI IRQ map for the NEC USB controller (thanks to Daniel Schmitt for testing)
SVN-Revision: 14363
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/files/arch/mips/adm5120/cellvision/nfs-101.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/adm5120/files/arch/mips/adm5120/cellvision/nfs-101.c b/target/linux/adm5120/files/arch/mips/adm5120/cellvision/nfs-101.c
index 3ad99ac..022b9f1 100644
--- a/target/linux/adm5120/files/arch/mips/adm5120/cellvision/nfs-101.c
+++ b/target/linux/adm5120/files/arch/mips/adm5120/cellvision/nfs-101.c
@@ -12,10 +12,17 @@
#include "cellvision.h"
static struct adm5120_pci_irq nfs101_pci_irqs[] __initdata = {
- /* FIXME: not tested */
+ /* miniPCI slot */
PCIIRQ(2, 0, 1, ADM5120_IRQ_PCI0),
+
+ /* ALi USB controller */
PCIIRQ(3, 0, 2, ADM5120_IRQ_PCI2),
- PCIIRQ(3, 3, 1, ADM5120_IRQ_PCI1)
+ PCIIRQ(3, 3, 1, ADM5120_IRQ_PCI1),
+
+ /* NEC USB controller */
+ PCIIRQ(3, 0, 1, ADM5120_IRQ_PCI1),
+ PCIIRQ(3, 1, 2, ADM5120_IRQ_PCI2),
+ PCIIRQ(3, 2, 3, ADM5120_IRQ_PCI2),
};
static u8 nfs101_vlans[6] __initdata = {