diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:06 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:06 -0400 |
commit | 47b687882c02f802dd5bbe1227effe006820246e (patch) | |
tree | 7b9048ebfa0a53203e4e3c55649f28e352a143cc /drivers/ide/pci/pdc202xx_old.c | |
parent | 7cab14a79973893392111b8f887856a54621f759 (diff) |
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>
Diffstat (limited to 'drivers/ide/pci/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 217701f28511..ddf9a3d81b59 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -421,7 +421,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
421 | .init_chipset = init_chipset_pdc202xx, | 421 | .init_chipset = init_chipset_pdc202xx, |
422 | .init_hwif = init_hwif_pdc202xx, | 422 | .init_hwif = init_hwif_pdc202xx, |
423 | .init_dma = init_dma_pdc202xx, | 423 | .init_dma = init_dma_pdc202xx, |
424 | .autodma = AUTODMA, | ||
425 | .extra = 16, | 424 | .extra = 16, |
426 | .host_flags = IDE_HFLAG_OFF_BOARD, | 425 | .host_flags = IDE_HFLAG_OFF_BOARD, |
427 | .pio_mask = ATA_PIO4, | 426 | .pio_mask = ATA_PIO4, |
@@ -432,7 +431,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
432 | .init_chipset = init_chipset_pdc202xx, | 431 | .init_chipset = init_chipset_pdc202xx, |
433 | .init_hwif = init_hwif_pdc202xx, | 432 | .init_hwif = init_hwif_pdc202xx, |
434 | .init_dma = init_dma_pdc202xx, | 433 | .init_dma = init_dma_pdc202xx, |
435 | .autodma = AUTODMA, | ||
436 | .extra = 48, | 434 | .extra = 48, |
437 | .host_flags = IDE_HFLAG_OFF_BOARD, | 435 | .host_flags = IDE_HFLAG_OFF_BOARD, |
438 | .pio_mask = ATA_PIO4, | 436 | .pio_mask = ATA_PIO4, |
@@ -443,7 +441,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
443 | .init_chipset = init_chipset_pdc202xx, | 441 | .init_chipset = init_chipset_pdc202xx, |
444 | .init_hwif = init_hwif_pdc202xx, | 442 | .init_hwif = init_hwif_pdc202xx, |
445 | .init_dma = init_dma_pdc202xx, | 443 | .init_dma = init_dma_pdc202xx, |
446 | .autodma = AUTODMA, | ||
447 | .extra = 48, | 444 | .extra = 48, |
448 | .host_flags = IDE_HFLAG_OFF_BOARD, | 445 | .host_flags = IDE_HFLAG_OFF_BOARD, |
449 | .pio_mask = ATA_PIO4, | 446 | .pio_mask = ATA_PIO4, |
@@ -454,7 +451,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
454 | .init_chipset = init_chipset_pdc202xx, | 451 | .init_chipset = init_chipset_pdc202xx, |
455 | .init_hwif = init_hwif_pdc202xx, | 452 | .init_hwif = init_hwif_pdc202xx, |
456 | .init_dma = init_dma_pdc202xx, | 453 | .init_dma = init_dma_pdc202xx, |
457 | .autodma = AUTODMA, | ||
458 | .extra = 48, | 454 | .extra = 48, |
459 | .host_flags = IDE_HFLAG_OFF_BOARD, | 455 | .host_flags = IDE_HFLAG_OFF_BOARD, |
460 | .pio_mask = ATA_PIO4, | 456 | .pio_mask = ATA_PIO4, |
@@ -465,7 +461,6 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { | |||
465 | .init_chipset = init_chipset_pdc202xx, | 461 | .init_chipset = init_chipset_pdc202xx, |
466 | .init_hwif = init_hwif_pdc202xx, | 462 | .init_hwif = init_hwif_pdc202xx, |
467 | .init_dma = init_dma_pdc202xx, | 463 | .init_dma = init_dma_pdc202xx, |
468 | .autodma = AUTODMA, | ||
469 | .extra = 48, | 464 | .extra = 48, |
470 | .host_flags = IDE_HFLAG_OFF_BOARD, | 465 | .host_flags = IDE_HFLAG_OFF_BOARD, |
471 | .pio_mask = ATA_PIO4, | 466 | .pio_mask = ATA_PIO4, |