summaryrefslogtreecommitdiffstats
path: root/arch/mips/sni/pcit.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2007-04-08 13:28:44 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-04-27 16:20:25 +0100
commit639702bd725b3cc1a9bd442a7822c83849d66e91 (patch)
tree814babe3c4496a86dad078206e675e37a69c9eba /arch/mips/sni/pcit.c
parent3c5e370600c2dda8a4f59f841f323df04e6ce7b2 (diff)
downloadlinux-stable-639702bd725b3cc1a9bd442a7822c83849d66e91.tar.gz
linux-stable-639702bd725b3cc1a9bd442a7822c83849d66e91.tar.bz2
linux-stable-639702bd725b3cc1a9bd442a7822c83849d66e91.zip
[MIPS] Register PCI host bridge resource earlier
PCI based SNI RM machines have their EISA bus behind an Intel PCI/EISA bridge. So the PCI IO range must start at 0x0000. Changing that will break the PCI bus, because i8259.c already has registered it's IO addresses before the PCI bus gets initialized. Below is a patch, which will register the PCI host bridge resources inside register_pci_controller(). It also changes i8259.c to use insert_region(), because request_resource() will fail, if the IO space of the PIT hanging of the PCI host bridge (maybe passing the resource parent to init_i8259_irqs() is a cleaner fix for that). Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sni/pcit.c')
0 files changed, 0 insertions, 0 deletions