]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 22 Mar 2006 20:14:11 +0000 (20:14 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Mar 2006 20:14:11 +0000 (20:14 +0000)
commitbe9cff652bc31a045c7cd4cc3c5ea3372559b93e
treeb907252f28ea024f5b41da265a7c6d1417197780
parent47c165999e5ec9141eff6e69f4200398588fe404
[ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check

Patch from Lennert Buytenhek

On the IXDP2x00s, the NPU that is PCI master is always the egress
(i.e. 'master') NPU.  At least on the IXDP2800, both NPUs have flash,
so the ixp2000_has_flash() check in ixdp2x00_master_npu() is useless.

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