[ARM] 3257/1: ixp2000: map in scratch and sram
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 13 Jan 2006 20:51:43 +0000 (20:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 13 Jan 2006 20:51:43 +0000 (20:51 +0000)
commitdd29c7277126db6884df42d41f2fbe2ebc10041e
tree24f88807ec27882ace0ac4254a7cac72742d0fa7
parent43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056
[ARM] 3257/1: ixp2000: map in scratch and sram

Patch from Lennert Buytenhek

For the ixp2000 netdev driver, we need to map in a chunk of SRAM (to
store the transmit and receive descriptors) and the scratch get/put
area (so that we can use the scratchpad rings in the cpu for managing
the descriptors.)  These are the final two mappings needed for the
netdev driver and the last missing piece for the driver in mainline
to work.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/core.c
include/asm-arm/arch-ixp2000/ixp2000-regs.h