summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-18 09:51:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-18 09:51:04 +0000
commitd62bddc620b372446cf437c228d24b17c34ad0f2 (patch)
tree72beb494e9d9ba828c13d3fe0d917c71d9b1fdda
parent31881357af992c59255faa1fef184f4b05a39fa4 (diff)
downloadmtk-20170518-d62bddc620b372446cf437c228d24b17c34ad0f2.zip
mtk-20170518-d62bddc620b372446cf437c228d24b17c34ad0f2.tar.gz
mtk-20170518-d62bddc620b372446cf437c228d24b17c34ad0f2.tar.bz2
ar71xx: update PCI IRQ map for RB4xx devices
Should fix #12269. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34238
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
index 1604a5c..0699232 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
@@ -107,8 +107,36 @@ static struct ath79_pci_irq rb4xx_pci_irqs[] __initdata = {
.irq = ATH79_PCI_IRQ(1),
}, {
.slot = 19,
+ .pin = 2,
+ .irq = ATH79_PCI_IRQ(2),
+ }, {
+ .slot = 20,
.pin = 1,
.irq = ATH79_PCI_IRQ(2),
+ }, {
+ .slot = 20,
+ .pin = 2,
+ .irq = ATH79_PCI_IRQ(0),
+ }, {
+ .slot = 21,
+ .pin = 1,
+ .irq = ATH79_PCI_IRQ(0),
+ }, {
+ .slot = 22,
+ .pin = 1,
+ .irq = ATH79_PCI_IRQ(1),
+ }, {
+ .slot = 22,
+ .pin = 2,
+ .irq = ATH79_PCI_IRQ(2),
+ }, {
+ .slot = 23,
+ .pin = 1,
+ .irq = ATH79_PCI_IRQ(2),
+ }, {
+ .slot = 23,
+ .pin = 2,
+ .irq = ATH79_PCI_IRQ(0),
}
};