summaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/devboards/db1200
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-08-18 11:11:58 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-10-25 00:34:24 +0200
commitd4f07ae748539d792162a9aa56f192c3992cb3fb (patch)
tree6f87cb57e87ebc4a76fa377633da00d404ac652e /arch/mips/alchemy/devboards/db1200
parentMIPS: Alchemy: Redo PCI as platform driver (diff)
downloadlinux-d4f07ae748539d792162a9aa56f192c3992cb3fb.tar.xz
linux-d4f07ae748539d792162a9aa56f192c3992cb3fb.zip
MIPS, IDE: Alchem, au1xxx-ide: Remove pb1200/db1200 header dep
au1xxx-ide uses defines from the pb1200/db1200 headers: get DBDMA ID through platform resource information, hardcode register spacing. The only 2 users of this driver (and the only boards it can really work on realiably) use the same register layout. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> Cc: linux-ide@vger.kernel.org To: Linux-MIPS <linux-mips@linux-mips.org> Cc: linux-ide@vger.kernel.org Acked-by: David S. Miller <davem@davemloft.net> Patchwork: https://patchwork.linux-mips.org/patch/2716/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/devboards/db1200')
-rw-r--r--arch/mips/alchemy/devboards/db1200/platform.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/alchemy/devboards/db1200/platform.c b/arch/mips/alchemy/devboards/db1200/platform.c
index 95c7327affce..6fd070d9084a 100644
--- a/arch/mips/alchemy/devboards/db1200/platform.c
+++ b/arch/mips/alchemy/devboards/db1200/platform.c
@@ -213,7 +213,12 @@ static struct resource db1200_ide_res[] = {
.start = DB1200_IDE_INT,
.end = DB1200_IDE_INT,
.flags = IORESOURCE_IRQ,
- }
+ },
+ [2] = {
+ .start = DSCR_CMD0_DMA_REQ1,
+ .end = DSCR_CMD0_DMA_REQ1,
+ .flags = IORESOURCE_DMA,
+ },
};
static u64 ide_dmamask = DMA_BIT_MASK(32);