2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/arch/arm/mach-orion5x
Lennert Buytenhek bbdf1c1e58 [ARM] 5037/1: Orion: fix DNS323/Kurobox Pro PCI initialisation
Whereas most Orion 5x machine support code would initialise the PCI
subsystem with nr_controllers in their struct hw_pci set to 2, the
DNS323 and Kurobox Pro machine support code had nr_controllers set
to 1.

This was presumably done because on those two machines, the PCI(-X)
controller (nr == 1) isn't used, requiring initialisation of only
the PCIe controller (nr == 0.)  However, not initialising the PCI(-X)
controller on boards that don't use it leads to a situation where
both the PCIe and the PCI(-X) controller think that their root bus is
zero, and it messes up IRQ assignment.

This patch changes the DNS323 and Kurobox Pro support code to always
use nr_controllers == 2.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-05-17 22:55:15 +01:00
..
addr-map.c [ARM] Orion: clean up addr-map.c after window setting code purge 2008-05-09 10:42:56 -04:00
common.c [ARM] Orion: pass proper t_clk into mv643xx_eth 2008-05-09 10:41:11 -04:00
common.h [ARM] Orion: use mv643xx_eth driver mbus window handling 2008-05-09 10:39:34 -04:00
db88f5281-setup.c Merge master.kernel.org:/home/rmk/linux-2.6-arm 2008-04-29 15:18:06 -07:00
dns323-setup.c [ARM] 5037/1: Orion: fix DNS323/Kurobox Pro PCI initialisation 2008-05-17 22:55:15 +01: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] 5037/1: Orion: fix DNS323/Kurobox Pro PCI initialisation 2008-05-17 22:55:15 +01: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 Merge master.kernel.org:/home/rmk/linux-2.6-arm 2008-04-29 15:18:06 -07:00
ts209-setup.c Merge master.kernel.org:/home/rmk/linux-2.6-arm 2008-04-29 15:18:06 -07:00