icside: use ec->dma directly
* hwif->hwif_data contains pointer to struct expansion_card so use ec->dma directly instead of caching it in hwif->hw.dma. * Remove no longer needed hw_regs_t.dma and NO_DMA define. Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Este commit está contenido en:
@@ -51,7 +51,6 @@ static ide_hwif_t *__devinit plat_ide_locate_hwif(void __iomem *base,
|
||||
memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->hw.io_ports));
|
||||
hwif->hw.irq = hwif->irq = irq;
|
||||
|
||||
hwif->hw.dma = NO_DMA;
|
||||
hwif->chipset = hwif->hw.chipset = ide_generic;
|
||||
|
||||
if (mmio) {
|
||||
|
@@ -89,9 +89,8 @@ void q40_ide_setup_ports ( hw_regs_t *hw,
|
||||
else
|
||||
hw->io_ports[i] = Q40_ISA_IO_B(base + offsets[i]);
|
||||
}
|
||||
|
||||
|
||||
hw->irq = irq;
|
||||
hw->dma = NO_DMA;
|
||||
hw->ack_intr = ack_intr;
|
||||
/*
|
||||
* hw->iops = iops;
|
||||
|
Referencia en una nueva incidencia
Block a user