ide: remove ->extra field from struct ide_port_info

Always setup hwif->extra_base in ide_iomio_dma() and remove
no longer needed ->extra field from struct ide_port_info.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
このコミットが含まれているのは:
Bartlomiej Zolnierkiewicz
2008-04-26 22:25:20 +02:00
コミット 21a3387ddd
5個のファイルの変更1行の追加13行の削除

ファイルの表示

@@ -850,8 +850,7 @@ static int ide_iomio_dma(ide_hwif_t *hwif, unsigned long base)
printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx",
hwif->name, base, base + 7);
if (hwif->cds->extra)
hwif->extra_base = base + (hwif->channel ? 8 : 16);
hwif->extra_base = base + (hwif->channel ? 8 : 16);
return 0;
}