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/gayle.c | |
parent | e354c1d8033d97a97a38a1b2cffa1bc285b92ad4 (diff) | |
download | kernel-crypto-09a3e79187c56842d509430267ece5b82216baee.tar.gz kernel-crypto-09a3e79187c56842d509430267ece5b82216baee.tar.xz kernel-crypto-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/gayle.c')
-rw-r--r-- | drivers/ide/gayle.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ide/gayle.c b/drivers/ide/gayle.c index 59bd0be9dcb..dce01765adb 100644 --- a/drivers/ide/gayle.c +++ b/drivers/ide/gayle.c @@ -118,7 +118,8 @@ static void __init gayle_setup_ports(hw_regs_t *hw, unsigned long base, } static const struct ide_port_info gayle_port_info = { - .host_flags = IDE_HFLAG_SERIALIZE | IDE_HFLAG_NO_DMA, + .host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_SERIALIZE | + IDE_HFLAG_NO_DMA, }; /* @@ -163,9 +164,6 @@ found: irqport = (unsigned long)ZTWO_VADDR(GAYLE_IRQ_1200); ack_intr = gayle_ack_intr_a1200; } -/* - * FIXME: we now have selectable modes between mmio v/s iomio - */ res_start = ((unsigned long)phys_base) & ~(GAYLE_NEXT_PORT-1); res_n = GAYLE_IDEREG_SIZE; |