2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/arch/arm/mach-orion5x
Lennert Buytenhek 92b913b08b [ARM] Orion: fix ->map_irq() PCIe bus number check
The current orion5x board ->map_irq() routines check whether a
given bus number lives on the PCIe controller by comparing it with
the PCIe controller's primary bus number.  This doesn't work in
case there are multiple buses in the PCIe domain, i.e. if there
exists a PCIe bridge on the primary PCIe bus.

This patch adds a helper function (orion5x_pci_map_irq()) that
returns the IRQ number for the given PCI device if that device has
a hard-wired IRQ, or -1 otherwise, and makes each board's
->map_irq() function use this helper function.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
2008-04-28 15:58:23 -04:00
..
addr-map.c Orion: orion -> orion5x rename 2008-03-27 14:51:41 -04:00
common.c Orion: orion -> orion5x rename 2008-03-27 14:51:41 -04:00
common.h [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00
db88f5281-setup.c [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00
dns323-setup.c [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00
gpio.c Orion: orion -> orion5x rename 2008-03-27 14:51:41 -04:00
irq.c Orion: orion -> orion5x rename 2008-03-27 14:51:41 -04:00
Kconfig [ARM] 4955/1: Orion: Support the Buffalo Linkstation Pro/Live Platform 2008-04-10 15:27:11 +01:00
kurobox_pro-setup.c [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00
Makefile [ARM] 4955/1: Orion: Support the Buffalo Linkstation Pro/Live Platform 2008-04-10 15:27:11 +01:00
Makefile.boot Orion: orion -> orion5x rename 2008-03-27 14:51:41 -04:00
pci.c [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00
rd88f5182-setup.c [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00
ts209-setup.c [ARM] Orion: fix ->map_irq() PCIe bus number check 2008-04-28 15:58:23 -04:00