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:
@ -414,7 +414,6 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
|
||||
.init_setup = init_setup_svwks,
|
||||
.init_chipset = init_chipset_svwks,
|
||||
.init_hwif = init_hwif_svwks,
|
||||
.autodma = AUTODMA,
|
||||
.host_flags = IDE_HFLAG_BOOTABLE,
|
||||
.pio_mask = ATA_PIO4,
|
||||
},{ /* 1 */
|
||||
@ -422,7 +421,6 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
|
||||
.init_setup = init_setup_svwks,
|
||||
.init_chipset = init_chipset_svwks,
|
||||
.init_hwif = init_hwif_svwks,
|
||||
.autodma = AUTODMA,
|
||||
.host_flags = IDE_HFLAG_BOOTABLE,
|
||||
.pio_mask = ATA_PIO4,
|
||||
},{ /* 2 */
|
||||
@ -430,7 +428,6 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
|
||||
.init_setup = init_setup_csb6,
|
||||
.init_chipset = init_chipset_svwks,
|
||||
.init_hwif = init_hwif_svwks,
|
||||
.autodma = AUTODMA,
|
||||
.host_flags = IDE_HFLAG_BOOTABLE,
|
||||
.pio_mask = ATA_PIO4,
|
||||
},{ /* 3 */
|
||||
@ -438,7 +435,6 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
|
||||
.init_setup = init_setup_csb6,
|
||||
.init_chipset = init_chipset_svwks,
|
||||
.init_hwif = init_hwif_svwks,
|
||||
.autodma = AUTODMA,
|
||||
.host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE,
|
||||
.pio_mask = ATA_PIO4,
|
||||
},{ /* 4 */
|
||||
@ -446,7 +442,6 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
|
||||
.init_setup = init_setup_svwks,
|
||||
.init_chipset = init_chipset_svwks,
|
||||
.init_hwif = init_hwif_svwks,
|
||||
.autodma = AUTODMA,
|
||||
.host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE,
|
||||
.pio_mask = ATA_PIO4,
|
||||
}
|
||||
|
Reference in New Issue
Block a user