]> err.no Git - linux-2.6/commit
[ARM] 3062/1: map in various enp2611 peripherals for the ixp2000 netdev driver
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 1 Nov 2005 19:44:24 +0000 (19:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 1 Nov 2005 19:44:24 +0000 (19:44 +0000)
commita6f1063b388cfd48a598cc7971eae1f83ebc8ba4
tree229a5d899fef3c181b1624e0c73572b894cac9de
parent37bb30e86bc2e48d9affb25f6ce9eb3d8e65b2ac
[ARM] 3062/1: map in various enp2611 peripherals for the ixp2000 netdev driver

Patch from Lennert Buytenhek

The enp2611 version of the ixp2000 netdev driver needs to be able to
access a number of on-board peripherals.  ioremap() is not suitable
for this, as that will cause XCB=000 mappings to be done, which will
make the cpu susceptible to crashing on ixp2400 erratum #66.  Properly
aligned iotable mappings with MT_IXP2000_DEVICE will cause section
mappings with XCB=101 to be done, which is safe.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/enp2611.c
include/asm-arm/arch-ixp2000/enp2611.h