[PATCH] atmel_serial: Use __raw I/O register access
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 12 Feb 2007 08:52:15 +0000 (00:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:29 +0000 (09:48 -0800)
commit544fc7283cd6902831d660bd8e1181602bd2b4d2
tree4047a09e91eb833807caa2e9de07e05f38df3609
parent3991d3bd1506391d8feec209b1d22ccb1c03a0bf
[PATCH] atmel_serial: Use __raw I/O register access

Access to chip-internal registers should always be native-endian.  This is
especially important for AVR32 since it's a big-endian architecture and the
non-raw readl() and writel() macros are defined to do little-endian
accesses.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/atmel_serial.c