]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] AVR32: Use __raw MMIO access for internal peripherals
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 24 Oct 2006 08:12:45 +0000 (10:12 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 26 Oct 2006 03:26:33 +0000 (20:26 -0700)
commit452976b29864f9adcdd6d4ea81001aa5483592c2
treed1e8843144929c658a8d74342d0c2a5dd3e0d504
parentd68041cc9fde550fe6b6a6de1d7a110daff3cb60
[PATCH] AVR32: Use __raw MMIO access for internal peripherals

The read[bwl] and write[bwl] functions are meant for accessing PCI
devices. How this is achieved on AVR32 is unknown, as there are no
systems with a PCI bridge available yet.

On-chip peripheral access, however, should not depend on how we end
up implementing PCI access, so using __raw_read[bwl]/__raw_write[bwl]
is the right thing to do for on-chip peripherals. This patch converts
the drivers for the static memory controller, interrupt controller,
PIO controller and system manager to use __raw MMIO access.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/avr32/mach-at32ap/hsmc.h
arch/avr32/mach-at32ap/intc.h
arch/avr32/mach-at32ap/pio.h
arch/avr32/mach-at32ap/sm.h