]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[ARM] 4077/1: iop13xx: fix __io() macro
authorDan Williams <dan.j.williams@intel.com>
Fri, 29 Dec 2006 00:30:24 +0000 (01:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 30 Dec 2006 17:05:08 +0000 (17:05 +0000)
commitb0b1d60a64054697ef828e0565f006cc0f823590
tree3ca024704b8f7967d460f954db68f0aaadaf7d25
parent4cc2f7a84d64d25a16bb9383148c1467284e2356
[ARM] 4077/1: iop13xx: fix __io() macro

Since iop13xx defines the PCI I/O spaces with physical resource addresses
the __io macro needs to perform the physical to virtual conversion.  I
incorrectly assumed that this would be handled by ioremap, but drivers
(like e1000) directly dereference the address returned from __io.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-iop13xx/io.c
include/asm-arm/arch-iop13xx/io.h