aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-dma.c')
-rw-r--r--drivers/ide/ide-dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index 3cdb0749ada4..77506fec1fbd 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -850,8 +850,7 @@ static int ide_iomio_dma(ide_hwif_t *hwif, unsigned long base)
850 printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx", 850 printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx",
851 hwif->name, base, base + 7); 851 hwif->name, base, base + 7);
852 852
853 if (hwif->cds->extra) 853 hwif->extra_base = base + (hwif->channel ? 8 : 16);
854 hwif->extra_base = base + (hwif->channel ? 8 : 16);
855 854
856 return 0; 855 return 0;
857} 856}