diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:23 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:23 +0100 |
commit | 09a3e79187c56842d509430267ece5b82216baee (patch) | |
tree | 624ab9e802539f86d352e5f0b617ba5b2db34ffe /drivers/ide/buddha.c | |
parent | e354c1d8033d97a97a38a1b2cffa1bc285b92ad4 (diff) | |
download | linux-3.10-09a3e79187c56842d509430267ece5b82216baee.tar.gz linux-3.10-09a3e79187c56842d509430267ece5b82216baee.tar.bz2 linux-3.10-09a3e79187c56842d509430267ece5b82216baee.zip |
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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/buddha.c b/drivers/ide/buddha.c index c0fa76148d4..606c3320fa5 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, } static const struct ide_port_info buddha_port_info = { - .host_flags = IDE_HFLAG_NO_DMA, + .host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA, }; /* @@ -176,10 +176,6 @@ static int __init buddha_init(void) board = z->resource.start; -/* - * FIXME: we now have selectable mmio v/s iomio transports. - */ - if(type != BOARD_XSURF) { if (!request_mem_region(board+BUDDHA_BASE1, 0x800, "IDE")) continue; |