diff options
Diffstat (limited to 'drivers/ide/arm')
-rw-r--r-- | drivers/ide/arm/icside.c | 2 | ||||
-rw-r--r-- | drivers/ide/arm/rapide.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c index 8a1c27f28692..61ce40d52f5f 100644 --- a/drivers/ide/arm/icside.c +++ b/drivers/ide/arm/icside.c | |||
@@ -556,7 +556,7 @@ icside_setup(void __iomem *base, struct cardinfo *info, struct expansion_card *e | |||
556 | * Ensure we're using MMIO | 556 | * Ensure we're using MMIO |
557 | */ | 557 | */ |
558 | default_hwif_mmiops(hwif); | 558 | default_hwif_mmiops(hwif); |
559 | hwif->mmio = 2; | 559 | hwif->mmio = 1; |
560 | 560 | ||
561 | for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) { | 561 | for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) { |
562 | hwif->hw.io_ports[i] = port; | 562 | hwif->hw.io_ports[i] = port; |
diff --git a/drivers/ide/arm/rapide.c b/drivers/ide/arm/rapide.c index 3058217767d6..9c6c49fdd2b1 100644 --- a/drivers/ide/arm/rapide.c +++ b/drivers/ide/arm/rapide.c | |||
@@ -46,7 +46,7 @@ rapide_locate_hwif(void __iomem *base, void __iomem *ctrl, unsigned int sz, int | |||
46 | hwif->hw.io_ports[IDE_CONTROL_OFFSET] = (unsigned long)ctrl; | 46 | hwif->hw.io_ports[IDE_CONTROL_OFFSET] = (unsigned long)ctrl; |
47 | hwif->io_ports[IDE_CONTROL_OFFSET] = (unsigned long)ctrl; | 47 | hwif->io_ports[IDE_CONTROL_OFFSET] = (unsigned long)ctrl; |
48 | hwif->hw.irq = hwif->irq = irq; | 48 | hwif->hw.irq = hwif->irq = irq; |
49 | hwif->mmio = 2; | 49 | hwif->mmio = 1; |
50 | default_hwif_mmiops(hwif); | 50 | default_hwif_mmiops(hwif); |
51 | 51 | ||
52 | return hwif; | 52 | return hwif; |