aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/buddha.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:23 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:23 -0400
commit09a3e79187c56842d509430267ece5b82216baee (patch)
tree624ab9e802539f86d352e5f0b617ba5b2db34ffe /drivers/ide/buddha.c
parente354c1d8033d97a97a38a1b2cffa1bc285b92ad4 (diff)
ide: make m68k host drivers use IDE_HFLAG_MMIO
Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Michael Schmitz <schmitz@debian.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/buddha.c')
-rw-r--r--drivers/ide/buddha.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/buddha.c b/drivers/ide/buddha.c
index c0fa76148d46..606c3320fa58 100644
--- a/drivers/ide/buddha.c
+++ b/drivers/ide/buddha.c
@@ -144,7 +144,7 @@ static void __init buddha_setup_ports(hw_regs_t *hw, unsigned long base,
144} 144}
145 145
146static const struct ide_port_info buddha_port_info = { 146static const struct ide_port_info buddha_port_info = {
147 .host_flags = IDE_HFLAG_NO_DMA, 147 .host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
148}; 148};
149 149
150 /* 150 /*
@@ -176,10 +176,6 @@ static int __init buddha_init(void)
176 176
177 board = z->resource.start; 177 board = z->resource.start;
178 178
179/*
180 * FIXME: we now have selectable mmio v/s iomio transports.
181 */
182
183 if(type != BOARD_XSURF) { 179 if(type != BOARD_XSURF) {
184 if (!request_mem_region(board+BUDDHA_BASE1, 0x800, "IDE")) 180 if (!request_mem_region(board+BUDDHA_BASE1, 0x800, "IDE"))
185 continue; 181 continue;