[ARM] 2869/1: ixp4xx: correct ioread*/iowrite*
authorDavid Vrabel <dvrabel@arcom.com>
Wed, 31 Aug 2005 20:45:14 +0000 (21:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Aug 2005 20:45:14 +0000 (21:45 +0100)
commit147056fb84150966d736fe21fa01d5e0f08e0980
treedb963abf96ca53fc5379689fe0dab42f23e4e1a4
parentdcb86e8cbd66c5bd6b51a5485ea3ff35bb4ced22
[ARM] 2869/1: ixp4xx: correct ioread*/iowrite*

Patch from David Vrabel

Correct the ioread* and iowrite* functions.  In particular, add an offset to the cookie in ioport_map so we can map I/O port ranges starting from 0 (0 is for reporting errors).

Signed-off-by: David Vrabel <dvrabel@arcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ixp4xx/io.h