diff options
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/pci')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c | 4 | ||||
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c b/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c index 5f10d6a65..1014acc8c 100644 --- a/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c +++ b/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c @@ -373,11 +373,9 @@ static void __init ar71xx_pci_irq_init(void) __raw_writel(0, base + AR71XX_RESET_REG_PCI_INT_STATUS); for (i = AR71XX_PCI_IRQ_BASE; - i < AR71XX_PCI_IRQ_BASE + AR71XX_PCI_IRQ_COUNT; i++) { - irq_desc[i].status = IRQ_DISABLED; + i < AR71XX_PCI_IRQ_BASE + AR71XX_PCI_IRQ_COUNT; i++) set_irq_chip_and_handler(i, &ar71xx_pci_irq_chip, handle_level_irq); - } set_irq_chained_handler(AR71XX_CPU_IRQ_IP2, ar71xx_pci_irq_handler); } diff --git a/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c b/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c index bf8e36952..8d0fb1797 100644 --- a/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c +++ b/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c @@ -345,11 +345,9 @@ static void __init ar724x_pci_irq_init(void) __raw_writel(0, base + AR724X_PCI_REG_INT_STATUS); for (i = AR71XX_PCI_IRQ_BASE; - i < AR71XX_PCI_IRQ_BASE + AR71XX_PCI_IRQ_COUNT; i++) { - irq_desc[i].status = IRQ_DISABLED; + i < AR71XX_PCI_IRQ_BASE + AR71XX_PCI_IRQ_COUNT; i++) set_irq_chip_and_handler(i, &ar724x_pci_irq_chip, handle_level_irq); - } set_irq_chained_handler(AR71XX_CPU_IRQ_IP2, ar724x_pci_irq_handler); } |