kernel-ark/include/asm-arm
Lennert Buytenhek 917afce100 [ARM] 2911/1: ixp2000_reg_{read,write} accessors
Patch from Lennert Buytenhek

This patch:
- changes the ixp2000_reg_write accessor to take a 'volatile void *'
  instead of a 'volatile unsigned long *', which then allows passing in
  a u32 * as first argument without being greeted with a warning; and
- adds an ixp2000_reg_read accessor.
We can then use these accessors in ixp2000 code to access on-chip
peripherals, instead of directly dereferencing pointers.  This is for
use by the ixp2000 microengine driver which was recently announced on
netdev.  We can't use readl/writel on the ixp2000 since it is usually
run in big-endian mode, and on big-endian platforms, readl/writel
perform byteswapping.
A future patch will remove the readback from ixp2000_reg_write, since
it's not needed to prevent erratum #66, and add manual readbacks to the
places that need them (writes are not synchronous since we map in device
space using XCB=101 nowadays), such as interrupt disabling and GPIO
manipulation.  See also:
	http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2005-February/027084.html
Patch has been ACKed by Jeff Garzik.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-09-15 13:00:25 +01:00
..
arch-aaec2000 [ARM] Remove PFN_TO_NID for !DISCONTIGMEM 2005-09-15 12:30:11 +01:00
arch-cl7500
arch-clps711x
arch-ebsa110
arch-ebsa285
arch-epxa10db
arch-h720x
arch-imx
arch-integrator
arch-iop3xx [ARM] Remove PFN_TO_NID for !DISCONTIGMEM 2005-09-15 12:30:11 +01:00
arch-ixp4xx
arch-ixp2000 [ARM] 2911/1: ixp2000_reg_{read,write} accessors 2005-09-15 13:00:25 +01:00
arch-l7200
arch-lh7a40x [ARM] Remove PFN_TO_NID for !DISCONTIGMEM 2005-09-15 12:30:11 +01:00
arch-omap [ARM] Remove PFN_TO_NID for !DISCONTIGMEM 2005-09-15 12:30:11 +01:00
arch-pxa [ARM] Remove PFN_TO_NID for !DISCONTIGMEM 2005-09-15 12:30:11 +01:00
arch-rpc
arch-s3c2410
arch-sa1100 [ARM] Remove PFN_TO_NID for !DISCONTIGMEM 2005-09-15 12:30:11 +01:00
arch-shark
arch-versatile
hardware [ARM SMP] Add timer/watchdog defines for MPCore 2005-09-14 23:10:48 +01:00
mach
a.out.h
apm.h
assembler.h
atomic.h
auxvec.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cpu-multi32.h
cpu-single.h
cpu.h
cputime.h
current.h
delay.h
div64.h
dma-mapping.h
dma.h
domain.h
ecard.h
elf.h
emergency-restart.h
errno.h
fcntl.h
fiq.h
floppy.h
fpstate.h
futex.h
glue.h
hardirq.h
hardware.h
ide.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h
kmap_types.h
leds.h
limits.h
linkage.h
local.h
locks.h
mc146818rtc.h
memory.h
mman.h
mmu_context.h
mmu.h
mmzone.h
module.h
msgbuf.h
mtd-xip.h
namei.h
numnodes.h
nwflash.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
poll.h
posix_types.h
proc-fns.h
processor.h
procinfo.h
ptrace.h
resource.h
rtc.h
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sizes.h
smp.h
socket.h
sockios.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
suspend.h
system.h
termbits.h
termios.h
therm.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vfp.h
vfpmacros.h
vga.h
xor.h