Commit 43b38ddb authored by Kumar Gala's avatar Kumar Gala Committed by Linus Torvalds

[PATCH] ppc32: fix PCI2 IO space mapping on CDS

The ppc pci bus and resource fixups will automatically adjust the IO space
mappings by (hose->io_base_virt - isa_io_base).  Since we map all of PCI IO
space (PCI1 & PCI2) with a single mapping so it is continguious in virtual,
physical, and PCI IO space the offset will equal MPC85XX_PCI1_IO_SIZE.
There for we needed to reduce the setting by that amount for everything to
work properly on CDS.
Signed-off-by: default avatarKumar Gala <kumar.gala@freescale.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ce2fee05
......@@ -60,8 +60,10 @@
#define MPC85XX_PCI1_IO_SIZE 0x01000000
/* PCI 2 memory map */
#define MPC85XX_PCI2_LOWER_IO 0x01000000
#define MPC85XX_PCI2_UPPER_IO 0x01ffffff
/* Note: the standard PPC fixups will cause IO space to get bumped by
* hose->io_base_virt - isa_io_base => MPC85XX_PCI1_IO_SIZE */
#define MPC85XX_PCI2_LOWER_IO 0x00000000
#define MPC85XX_PCI2_UPPER_IO 0x00ffffff
#define MPC85XX_PCI2_LOWER_MEM 0xa0000000
#define MPC85XX_PCI2_UPPER_MEM 0xbfffffff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment