ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags
Add IDE_HFLAG_NO_{DMA,AUTODMA} host flags. Convert all host drivers using ide_pci_device_t to use these flags instead of d->autodma and then remove no longer needed d->autodma. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -127,7 +127,6 @@ static void __devinit init_hwif_jmicron(ide_hwif_t *hwif)
|
||||
static ide_pci_device_t jmicron_chipset __devinitdata = {
|
||||
.name = "JMB",
|
||||
.init_hwif = init_hwif_jmicron,
|
||||
.autodma = AUTODMA,
|
||||
.host_flags = IDE_HFLAG_BOOTABLE,
|
||||
.enablebits = { { 0x40, 0x01, 0x01 }, { 0x40, 0x10, 0x10 } },
|
||||
.pio_mask = ATA_PIO5,
|
||||
|
Reference in New Issue
Block a user