ath79: ar7100: remove IRQ code from PCI driver staging
authorDmitry Tunin <hanipouspilot@gmail.com>
Wed, 22 Aug 2018 09:06:34 +0000 (12:06 +0300)
committerJohn Crispin <john@phrozen.org>
Wed, 22 Aug 2018 10:13:51 +0000 (12:13 +0200)
commiteee50c0a42025ce5779e23ef92edf98bcef1e790
tree0642217c6ca6874f290a19c906a40e4c6d0dce00
parent31b3e3956fc94a503a4d7372771e515eb9860ed3
ath79: ar7100: remove IRQ code from PCI driver

Currently all PCI devices get the same IRQ that affects performance badly.

This commit adresses this problem and cleans the code.

ar7100 has a special PCI interrupt controller@18060018 that works exactly
the same way as misc interrupt controller.

This patch does the following:

1. Removes all IRQ handling code from the PCI driver.
2. Defines pci-intc interrupt controller@18060018 in dtsi.
3. Removes interrupt-controller property from PCI node.
4. Sets a correct interrupt mask for PCI devices.

Run tested on DIR-825 B1.

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
target/linux/ath79/dts/ar7100.dtsi
target/linux/ath79/patches-4.14/0036-MIPS-ath79-remove-irq-code-from-pci.patch [new file with mode: 0644]