]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] iop: iop3xx needs registers mapped uncached+unbuffered
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 9 Nov 2008 11:18:36 +0000 (11:18 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 9 Nov 2008 11:18:36 +0000 (11:18 +0000)
commitf352617fe05c5585d6f04f2a5b980f275b72f40a
treee9aa372c806fad73a04ba2f9d16d1f17491a11cf
parent6826f66278393e0c8e4713c225ad542cdb973b51
[ARM] iop: iop3xx needs registers mapped uncached+unbuffered

Mikael Pettersson reported:

   The 2.6.28-rc kernels fail to detect PCI device 0000:00:01.0
   (the first ethernet port) on my Thecus n2100 XScale box.

   There is however still a strange "ghost" device that gets partially
   detected in 2.6.28-rc2 vanilla.

The IOP321 manual says:

  The user designates the memory region containing the OCCDR as
  non-cacheable and non-bufferable from the IntelR XScaleTM core.
  This guarantees that all load/stores to the OCCDR are only of
  DWORD quantities.

Ensure that the OCCDR is so mapped.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/map.h
arch/arm/mm/mmu.c
arch/arm/plat-iop/setup.c