diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:23 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:23 -0400 |
commit | 09a3e79187c56842d509430267ece5b82216baee (patch) | |
tree | 624ab9e802539f86d352e5f0b617ba5b2db34ffe /drivers/ide/gayle.c | |
parent | e354c1d8033d97a97a38a1b2cffa1bc285b92ad4 (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/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 59bd0be9dcb3..dce01765adbc 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, | |||
118 | } | 118 | } |
119 | 119 | ||
120 | static const struct ide_port_info gayle_port_info = { | 120 | static const struct ide_port_info gayle_port_info = { |
121 | .host_flags = IDE_HFLAG_SERIALIZE | IDE_HFLAG_NO_DMA, | 121 | .host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_SERIALIZE | |
122 | IDE_HFLAG_NO_DMA, | ||
122 | }; | 123 | }; |
123 | 124 | ||
124 | /* | 125 | /* |
@@ -163,9 +164,6 @@ found: | |||
163 | irqport = (unsigned long)ZTWO_VADDR(GAYLE_IRQ_1200); | 164 | irqport = (unsigned long)ZTWO_VADDR(GAYLE_IRQ_1200); |
164 | ack_intr = gayle_ack_intr_a1200; | 165 | ack_intr = gayle_ack_intr_a1200; |
165 | } | 166 | } |
166 | /* | ||
167 | * FIXME: we now have selectable modes between mmio v/s iomio | ||
168 | */ | ||
169 | 167 | ||
170 | res_start = ((unsigned long)phys_base) & ~(GAYLE_NEXT_PORT-1); | 168 | res_start = ((unsigned long)phys_base) & ~(GAYLE_NEXT_PORT-1); |
171 | res_n = GAYLE_IDEREG_SIZE; | 169 | res_n = GAYLE_IDEREG_SIZE; |