Gabor Juhos
67644c547f
MIPS: ath79: add PCI_AR724X Kconfig symbol
...
The AR724X specific PCI code can be used for the
AR934X SoCs, however it can be selected only if
SOC_AR724X is set.
Introduce a new Kconfig symbol in order to be able
to use the code for AR934X as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com >
Cc: linux-mips@linux-mips.org
Cc: mcgrof@infradead.org
Patchwork: https://patchwork.linux-mips.org/patch/3514/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-05-15 17:49:11 +02:00
Gabor Juhos
e9b62e8ef9
MIPS: ath79: update copyright headers of PCI related files
...
Add copyright records according to the recent changes in
the PCI code. Also fix up the descriptions.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Signed-off-by: Imre Kaloz <kaloz@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3503/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-05-15 17:49:07 +02:00
Gabor Juhos
f8365ec4e1
MIPS: ath79: add support for the PCI host controller of the AR71XX SoCs
...
The Atheros AR71XX SoCs have a built-in PCI Host Controller.
This patch adds a driver for that, and modifies the relevant
files in order to allow to register the PCI controller from
board specific setup.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Signed-off-by: Imre Kaloz <kaloz@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3498/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-05-15 17:49:05 +02:00
Gabor Juhos
4c07c7dfa0
MIPS: ath79: add PCI IRQ handling code for AR724X SoCs
...
The PCI Host Controller of the AR724x SoC has a
built-in IRQ controller. The current code does
not supports that, so the IRQ lines wired to this
controller are not usable. This leads to failed
'request_irq' calls:
ath9k 0000:00:00.0: request_irq failed
ath9k: probe of 0000:00:00.0 failed with error -89
This patch adds support for the IRQ controller
in order to make PCI IRQs work.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3496/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-05-15 17:49:04 +02:00
Gabor Juhos
d624bd3cf7
MIPS: ath79: replace ath724x to ar724x
...
Replace the 'ath724x' to 'ar724x' in function, variable and
structure names to reflect the name of the real SoC.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Acked-by: René Bolldorf <xsecute@googlemail.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3490/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-05-15 17:49:02 +02:00
Gabor Juhos
659243ccaf
MIPS: ath79: make ath724x_pcibios_init visible for external code
...
Signed-off-by: René Bolldorf <xsecute@googlemail.com >
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3487/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-05-15 17:49:01 +02:00