]> git.baikalelectronics.ru Git - kernel.git/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)
commit89a9be32764650cd2ffb22848f6aed62e0983dde
tree229a5d899fef3c181b1624e0c73572b894cac9de
parent0486108a267c6c2c611d72e4c67e4ca49aacc494
[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