diff options
author | Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com> | 2012-01-10 00:20:58 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-11 22:22:00 -0500 |
commit | a4d5247310c993b6b30f1686be12ddacfc41142a (patch) | |
tree | ec396cb99a1f0e8cb2f8ef0848b216ceb422e0ba /arch/sh/kernel | |
parent | 7a73c81ec37c0c59ee04d4f6eb05c9b7b1413741 (diff) |
sh: add a resource name for shdma
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7724.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 7 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7780.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7786.c | 2 |
6 files changed, 12 insertions, 7 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 278a0e572158..27af277cc63c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -146,7 +146,7 @@ static struct resource sh7722_dmae_resources[] = { | |||
146 | .flags = IORESOURCE_MEM, | 146 | .flags = IORESOURCE_MEM, |
147 | }, | 147 | }, |
148 | { | 148 | { |
149 | /* DMA error IRQ */ | 149 | .name = "error_irq", |
150 | .start = 78, | 150 | .start = 78, |
151 | .end = 78, | 151 | .end = 78, |
152 | .flags = IORESOURCE_IRQ, | 152 | .flags = IORESOURCE_IRQ, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index a37dd72c3671..8d8a5512d57d 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c | |||
@@ -214,7 +214,7 @@ static struct resource sh7724_dmae0_resources[] = { | |||
214 | .flags = IORESOURCE_MEM, | 214 | .flags = IORESOURCE_MEM, |
215 | }, | 215 | }, |
216 | { | 216 | { |
217 | /* DMA error IRQ */ | 217 | .name = "error_irq", |
218 | .start = 78, | 218 | .start = 78, |
219 | .end = 78, | 219 | .end = 78, |
220 | .flags = IORESOURCE_IRQ, | 220 | .flags = IORESOURCE_IRQ, |
@@ -248,7 +248,7 @@ static struct resource sh7724_dmae1_resources[] = { | |||
248 | .flags = IORESOURCE_MEM, | 248 | .flags = IORESOURCE_MEM, |
249 | }, | 249 | }, |
250 | { | 250 | { |
251 | /* DMA error IRQ */ | 251 | .name = "error_irq", |
252 | .start = 74, | 252 | .start = 74, |
253 | .end = 74, | 253 | .end = 74, |
254 | .flags = IORESOURCE_IRQ, | 254 | .flags = IORESOURCE_IRQ, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c index 05559295d2ca..a7b2da6b3a1a 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c | |||
@@ -465,6 +465,7 @@ static struct resource sh7757_dmae0_resources[] = { | |||
465 | .flags = IORESOURCE_MEM, | 465 | .flags = IORESOURCE_MEM, |
466 | }, | 466 | }, |
467 | { | 467 | { |
468 | .name = "error_irq", | ||
468 | .start = 34, | 469 | .start = 34, |
469 | .end = 34, | 470 | .end = 34, |
470 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, | 471 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, |
@@ -486,7 +487,7 @@ static struct resource sh7757_dmae1_resources[] = { | |||
486 | .flags = IORESOURCE_MEM, | 487 | .flags = IORESOURCE_MEM, |
487 | }, | 488 | }, |
488 | { | 489 | { |
489 | /* DMA error */ | 490 | .name = "error_irq", |
490 | .start = 34, | 491 | .start = 34, |
491 | .end = 34, | 492 | .end = 34, |
492 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, | 493 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, |
@@ -556,7 +557,7 @@ static struct resource sh7757_dmae2_resources[] = { | |||
556 | .flags = IORESOURCE_MEM, | 557 | .flags = IORESOURCE_MEM, |
557 | }, | 558 | }, |
558 | { | 559 | { |
559 | /* DMA error */ | 560 | .name = "error_irq", |
560 | .start = 323, | 561 | .start = 323, |
561 | .end = 323, | 562 | .end = 323, |
562 | .flags = IORESOURCE_IRQ, | 563 | .flags = IORESOURCE_IRQ, |
@@ -590,7 +591,7 @@ static struct resource sh7757_dmae3_resources[] = { | |||
590 | .flags = IORESOURCE_MEM, | 591 | .flags = IORESOURCE_MEM, |
591 | }, | 592 | }, |
592 | { | 593 | { |
593 | /* DMA error */ | 594 | .name = "error_irq", |
594 | .start = 324, | 595 | .start = 324, |
595 | .end = 324, | 596 | .end = 324, |
596 | .flags = IORESOURCE_IRQ, | 597 | .flags = IORESOURCE_IRQ, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7780.c b/arch/sh/kernel/cpu/sh4a/setup-sh7780.c index 3d4d2075c19a..d431b0052d0c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7780.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7780.c | |||
@@ -322,6 +322,7 @@ static struct resource sh7780_dmae0_resources[] = { | |||
322 | }, | 322 | }, |
323 | { | 323 | { |
324 | /* Real DMA error IRQ is 38, and channel IRQs are 34-37, 44-45 */ | 324 | /* Real DMA error IRQ is 38, and channel IRQs are 34-37, 44-45 */ |
325 | .name = "error_irq", | ||
325 | .start = 34, | 326 | .start = 34, |
326 | .end = 34, | 327 | .end = 34, |
327 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, | 328 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, |
@@ -338,6 +339,7 @@ static struct resource sh7780_dmae1_resources[] = { | |||
338 | /* DMAC1 has no DMARS */ | 339 | /* DMAC1 has no DMARS */ |
339 | { | 340 | { |
340 | /* Real DMA error IRQ is 38, and channel IRQs are 46-47, 92-95 */ | 341 | /* Real DMA error IRQ is 38, and channel IRQs are 46-47, 92-95 */ |
342 | .name = "error_irq", | ||
341 | .start = 46, | 343 | .start = 46, |
342 | .end = 46, | 344 | .end = 46, |
343 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, | 345 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index b29e6340414a..81588ef15a6c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c | |||
@@ -376,6 +376,7 @@ static struct resource sh7785_dmae0_resources[] = { | |||
376 | }, | 376 | }, |
377 | { | 377 | { |
378 | /* Real DMA error IRQ is 39, and channel IRQs are 33-38 */ | 378 | /* Real DMA error IRQ is 39, and channel IRQs are 33-38 */ |
379 | .name = "error_irq", | ||
379 | .start = 33, | 380 | .start = 33, |
380 | .end = 33, | 381 | .end = 33, |
381 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, | 382 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, |
@@ -392,6 +393,7 @@ static struct resource sh7785_dmae1_resources[] = { | |||
392 | /* DMAC1 has no DMARS */ | 393 | /* DMAC1 has no DMARS */ |
393 | { | 394 | { |
394 | /* Real DMA error IRQ is 58, and channel IRQs are 52-57 */ | 395 | /* Real DMA error IRQ is 58, and channel IRQs are 52-57 */ |
396 | .name = "error_irq", | ||
395 | .start = 52, | 397 | .start = 52, |
396 | .end = 52, | 398 | .end = 52, |
397 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, | 399 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c index dd5e709f9821..599022d73b28 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c | |||
@@ -518,7 +518,7 @@ static struct resource dmac0_resources[] = { | |||
518 | .end = 0xfe00900b, | 518 | .end = 0xfe00900b, |
519 | .flags = IORESOURCE_MEM, | 519 | .flags = IORESOURCE_MEM, |
520 | }, { | 520 | }, { |
521 | /* DMA error IRQ */ | 521 | .name = "error_irq", |
522 | .start = evt2irq(0x5c0), | 522 | .start = evt2irq(0x5c0), |
523 | .end = evt2irq(0x5c0), | 523 | .end = evt2irq(0x5c0), |
524 | .flags = IORESOURCE_IRQ, | 524 | .flags = IORESOURCE_IRQ, |