]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] AVR32: add io{read,write}{8,16,32}{be,} support
authorBen Nizette <ben@mallochdigital.com>
Tue, 24 Oct 2006 08:12:43 +0000 (10:12 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 26 Oct 2006 03:26:33 +0000 (20:26 -0700)
commit41eaf6a7e6db1d4404749625e31a55f223b6eb61
tree53f4f4abf61ea228c2a78ca7de9e44642ab3c124
parent6d7648b6680605ad573f979e903aa8c74b74303d
[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