[PATCH] ARM: 2792/1: IXP4xx iomap API implementation
authorDeepak Saxena <dsaxena@plexity.net>
Wed, 6 Jul 2005 22:06:05 +0000 (23:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 Jul 2005 22:06:05 +0000 (23:06 +0100)
commit450008b5a62bb09445ae05c4d01d510386c9435d
tree894096c083c3b8fa1e8ae93e49aad72ca879cccc
parent7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5
[PATCH] ARM: 2792/1: IXP4xx iomap API implementation

Patch from Deepak Saxena

This patch implements the iomap API for Intel IXP4xx NPU systems.
We need to implement our own version of the API functions b/c of the
PCI hostbridge does not provide the capability to map PCI I/O space
into the CPU's physical memory space. In addition, if a system has
more than 64M of PCI memory mapped BARs, PCI memory must also be
accessed indirectly.  This patch changes the assignment of PCI I/O
resources to fall into to 0x0000:0xffff range so that we can trap
I/O areas in our ioread/iowrite macros.

Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/common-pci.c
include/asm-arm/arch-ixp4xx/io.h