aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/buddha.c
diff options
context:
space:
mode:
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;