aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files
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
commite638c5407c14f6d93a1fd98ed8086ede75f711ad (patch)
tree24717d44b8619ff3e3078d617974941054d5b336 /target/linux/adm5120/files
parent968119adf8c1067ea0d502d14ff50958884550d0 (diff)
downloadupstream-e638c5407c14f6d93a1fd98ed8086ede75f711ad.tar.gz
upstream-e638c5407c14f6d93a1fd98ed8086ede75f711ad.tar.bz2
upstream-e638c5407c14f6d93a1fd98ed8086ede75f711ad.zip
[adm5120] nfs-101u: add PCI IRQ map for the NEC USB controller (thanks to Daniel Schmitt for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14363 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files')
-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 3ad99ac925..022b9f1b24 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 = {