[PATCH] AVR32: add io{read,write}{8,16,32}{be,} support
commit065834ab3988fece5608088e83724891c8190a2f
authorBen Nizette <ben@mallochdigital.com>
Tue, 24 Oct 2006 08:12:43 +0000 (24 10:12 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 26 Oct 2006 03:26:33 +0000 (25 20:26 -0700)
tree53f4f4abf61ea228c2a78ca7de9e44642ab3c124
parentfa3522407f01ead1ec14bdd6b785ea08d17d500d
[PATCH] AVR32: add io{read,write}{8,16,32}{be,} support

A number of new drivers require io{read,write}{8,16,32}{be,} family of io
operations.  These are provided for the AVR32 by this patch in the form of
a series of macros.

Access to the (memory mapped) io space through these macros is defined to
be little endian only as little endian devices (such as PCI) are the main
consumer of IO access.  If high speed access is required,
io{read,write}{16,32}be macros are supplied to perform native big endian
access to this io space.

Signed-off-by: Ben Nizette <ben@mallochdigital.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-avr32/io.h