sh: export the sh7343 JPU to user space

This patch exports the sh7343 JPU to user space using uio_pdrv_genirq,
very similar to the sh7722 JPU patch by Hayama-san.

While at it fix up the end of the sh7722 JPU iomem resource.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Magnus Damm
2008-12-25 18:55:26 +09:00
committed by Paul Mundt
parent 5e8766f1c1
commit 3442c0d627
2 changed files with 32 additions and 1 deletions

View File

@@ -158,7 +158,7 @@ static struct resource jpu_resources[] = {
[0] = {
.name = "JPU",
.start = 0xfea00000,
.end = 0xfea102d0,
.end = 0xfea102d3,
.flags = IORESOURCE_MEM,
},
[1] = {