OpenCloudOS-Kernel/include/asm-arm/arch-ixp23xx
Lennert Buytenhek a77bc69138 [ARM] 3539/1: ixp23xx: fix __arch_ixp23xx_is_coherent() for A1 stepping
Patch from Lennert Buytenhek

The current __ixp23xx_arch_is_coherent() check assumes that the
lower byte of IXP23XX_PRODUCT_ID is identical to the lower byte of
processor_id, but this is not the case, and because of this we were
incorrectly enabling coherency on A1 stepping CPUs.

Stepping A1 of the ixp2350, which has a PRODUCT_ID of 0x401, has '02'
in the lower byte of processor_id, while A2, with a PRODUCT_ID of
0x402, has '04' in the lower byte of processor_id.

So, to check for >= A2, we really need to check the lower byte of
processor_id against >= 4.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-06-02 19:51:50 +01:00
..
debug-macro.S [ARM] 3459/1: ixp23xx: fix debug serial macros for big-endian operation 2006-04-09 22:20:57 +01:00
dma.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
entry-macro.S [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
hardware.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
io.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
irqs.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
ixdp2351.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
ixp23xx.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
memory.h [ARM] 3539/1: ixp23xx: fix __arch_ixp23xx_is_coherent() for A1 stepping 2006-06-02 19:51:50 +01:00
platform.h [ARM] 3438/1: ixp23xx: add pci slave support 2006-04-01 18:33:35 +01:00
system.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
time.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
timex.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00
uncompress.h [ARM] 3424/2: ixp23xx: fix uncompress.h for recent CRLF decompressor change 2006-03-30 10:51:44 +01:00
vmalloc.h [ARM] 3388/1: ixp23xx: add core ixp23xx support 2006-03-28 21:18:54 +01:00