alistair23-linux/arch
Takashi Yoshii 68b42d1b54 sh: sh7785lcr: Map whole PCI address space.
PCI still doesn't work on sh7785lcr 29bit 256M map mode.

On SH7785, PCI -> SHwy address translation is not base+offset but
somewhat like base|offset (See HW Manual (rej09b0261) Fig. 13.11).
So, you can't export CS2,3,4,5 by 256M at CS2 (results CS0,1,2,3
exported, I guess).  There are two candidates.

a) 128M@CS2 + 128M@CS4
b) 512M@CS0

Attached patch is B. It maps 512M Byte at 0 independently of memory
size. It results CS0 to CS6 and perhaps some more being accessible
from PCI.

Tested on
7785lcr 29bit 128M map
7785lcr 29bit 256M map
(NOT tested on 32bit)

Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-04-04 11:50:52 -04:00
..
alpha Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-04-01 09:47:12 -07:00
arm V4L/DVB (11034): soc-camera: remove now unused gpio member of struct soc_camera_link 2009-03-30 12:43:22 -03:00
avr32 generic debug pagealloc 2009-04-01 08:59:13 -07:00
blackfin proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
cris cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
frv cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
h8300 cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2009-04-01 13:33:41 -07:00
m32r cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
m68k
m68knommu
mips bcm47xx: fix GPIO API return codes 2009-04-01 08:59:17 -07:00
mn10300 cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
parisc rtc-parisc: remove unnecessary ret variable 2009-04-01 08:59:25 -07:00
powerpc Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-04-01 09:47:12 -07:00
s390 Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2009-04-01 09:22:24 -07:00
sh sh: sh7785lcr: Map whole PCI address space. 2009-04-04 11:50:52 -04:00
sparc mm: use debug_kmap_atomic 2009-04-01 08:59:14 -07:00
um uml: remove useless comments 2009-04-01 08:59:17 -07:00
x86 Merge branch 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-04-01 12:52:57 -07:00
xtensa proc tty: switch xtensa iss console to ->proc_fops 2009-04-01 08:59:10 -07:00
.gitignore
Kconfig