aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/devboards
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-08-12 05:39:42 -0400
committerRalf Baechle <ralf@linux-mips.org>2011-10-24 18:34:24 -0400
commitf2e442fd2ff4ed565835e407114f75c92c9fe443 (patch)
treead9c165e7e6f73d8618e79435ea807592dd1e231 /arch/mips/alchemy/devboards
parentd4f07ae748539d792162a9aa56f192c3992cb3fb (diff)
MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines
This patch gets rid of all CONFIG_SOC_AU1XXX defines in DMA/DBDMA-related code. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> To: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/2704/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/devboards')
-rw-r--r--arch/mips/alchemy/devboards/db1200/platform.c20
-rw-r--r--arch/mips/alchemy/devboards/pb1200/platform.c4
2 files changed, 12 insertions, 12 deletions
diff --git a/arch/mips/alchemy/devboards/db1200/platform.c b/arch/mips/alchemy/devboards/db1200/platform.c
index 6fd070d9084a..1bc16f0e3651 100644
--- a/arch/mips/alchemy/devboards/db1200/platform.c
+++ b/arch/mips/alchemy/devboards/db1200/platform.c
@@ -215,8 +215,8 @@ static struct resource db1200_ide_res[] = {
215 .flags = IORESOURCE_IRQ, 215 .flags = IORESOURCE_IRQ,
216 }, 216 },
217 [2] = { 217 [2] = {
218 .start = DSCR_CMD0_DMA_REQ1, 218 .start = AU1200_DSCR_CMD0_DMA_REQ1,
219 .end = DSCR_CMD0_DMA_REQ1, 219 .end = AU1200_DSCR_CMD0_DMA_REQ1,
220 .flags = IORESOURCE_DMA, 220 .flags = IORESOURCE_DMA,
221 }, 221 },
222}; 222};
@@ -358,13 +358,13 @@ static struct resource au1200_psc0_res[] = {
358 .flags = IORESOURCE_IRQ, 358 .flags = IORESOURCE_IRQ,
359 }, 359 },
360 [2] = { 360 [2] = {
361 .start = DSCR_CMD0_PSC0_TX, 361 .start = AU1200_DSCR_CMD0_PSC0_TX,
362 .end = DSCR_CMD0_PSC0_TX, 362 .end = AU1200_DSCR_CMD0_PSC0_TX,
363 .flags = IORESOURCE_DMA, 363 .flags = IORESOURCE_DMA,
364 }, 364 },
365 [3] = { 365 [3] = {
366 .start = DSCR_CMD0_PSC0_RX, 366 .start = AU1200_DSCR_CMD0_PSC0_RX,
367 .end = DSCR_CMD0_PSC0_RX, 367 .end = AU1200_DSCR_CMD0_PSC0_RX,
368 .flags = IORESOURCE_DMA, 368 .flags = IORESOURCE_DMA,
369 }, 369 },
370}; 370};
@@ -416,13 +416,13 @@ static struct resource au1200_psc1_res[] = {
416 .flags = IORESOURCE_IRQ, 416 .flags = IORESOURCE_IRQ,
417 }, 417 },
418 [2] = { 418 [2] = {
419 .start = DSCR_CMD0_PSC1_TX, 419 .start = AU1200_DSCR_CMD0_PSC1_TX,
420 .end = DSCR_CMD0_PSC1_TX, 420 .end = AU1200_DSCR_CMD0_PSC1_TX,
421 .flags = IORESOURCE_DMA, 421 .flags = IORESOURCE_DMA,
422 }, 422 },
423 [3] = { 423 [3] = {
424 .start = DSCR_CMD0_PSC1_RX, 424 .start = AU1200_DSCR_CMD0_PSC1_RX,
425 .end = DSCR_CMD0_PSC1_RX, 425 .end = AU1200_DSCR_CMD0_PSC1_RX,
426 .flags = IORESOURCE_DMA, 426 .flags = IORESOURCE_DMA,
427 }, 427 },
428}; 428};
diff --git a/arch/mips/alchemy/devboards/pb1200/platform.c b/arch/mips/alchemy/devboards/pb1200/platform.c
index 6ac04941917a..7de4f883da1c 100644
--- a/arch/mips/alchemy/devboards/pb1200/platform.c
+++ b/arch/mips/alchemy/devboards/pb1200/platform.c
@@ -118,8 +118,8 @@ static struct resource ide_resources[] = {
118 .flags = IORESOURCE_IRQ 118 .flags = IORESOURCE_IRQ
119 }, 119 },
120 [2] = { 120 [2] = {
121 .start = DSCR_CMD0_DMA_REQ1, 121 .start = AU1200_DSCR_CMD0_DMA_REQ1,
122 .end = DSCR_CMD0_DMA_REQ1, 122 .end = AU1200_DSCR_CMD0_DMA_REQ1,
123 .flags = IORESOURCE_DMA, 123 .flags = IORESOURCE_DMA,
124 }, 124 },
125}; 125};