aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_new.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:06 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-18 18:30:06 -0400
commit47b687882c02f802dd5bbe1227effe006820246e (patch)
tree7b9048ebfa0a53203e4e3c55649f28e352a143cc /drivers/ide/pci/pdc202xx_new.c
parent7cab14a79973893392111b8f887856a54621f759 (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_new.c')
-rw-r--r--drivers/ide/pci/pdc202xx_new.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c
index 6bfc38f58cbf..24efda25c034 100644
--- a/drivers/ide/pci/pdc202xx_new.c
+++ b/drivers/ide/pci/pdc202xx_new.c
@@ -551,7 +551,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
551 .init_setup = init_setup_pdcnew, 551 .init_setup = init_setup_pdcnew,
552 .init_chipset = init_chipset_pdcnew, 552 .init_chipset = init_chipset_pdcnew,
553 .init_hwif = init_hwif_pdc202new, 553 .init_hwif = init_hwif_pdc202new,
554 .autodma = AUTODMA,
555 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 554 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
556 .pio_mask = ATA_PIO4, 555 .pio_mask = ATA_PIO4,
557 .udma_mask = 0x3f, /* udma0-5 */ 556 .udma_mask = 0x3f, /* udma0-5 */
@@ -560,7 +559,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
560 .init_setup = init_setup_pdcnew, 559 .init_setup = init_setup_pdcnew,
561 .init_chipset = init_chipset_pdcnew, 560 .init_chipset = init_chipset_pdcnew,
562 .init_hwif = init_hwif_pdc202new, 561 .init_hwif = init_hwif_pdc202new,
563 .autodma = AUTODMA,
564 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 562 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
565 .pio_mask = ATA_PIO4, 563 .pio_mask = ATA_PIO4,
566 .udma_mask = 0x7f, /* udma0-6*/ 564 .udma_mask = 0x7f, /* udma0-6*/
@@ -569,7 +567,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
569 .init_setup = init_setup_pdc20270, 567 .init_setup = init_setup_pdc20270,
570 .init_chipset = init_chipset_pdcnew, 568 .init_chipset = init_chipset_pdcnew,
571 .init_hwif = init_hwif_pdc202new, 569 .init_hwif = init_hwif_pdc202new,
572 .autodma = AUTODMA,
573 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 570 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
574 .pio_mask = ATA_PIO4, 571 .pio_mask = ATA_PIO4,
575 .udma_mask = 0x3f, /* udma0-5 */ 572 .udma_mask = 0x3f, /* udma0-5 */
@@ -578,7 +575,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
578 .init_setup = init_setup_pdcnew, 575 .init_setup = init_setup_pdcnew,
579 .init_chipset = init_chipset_pdcnew, 576 .init_chipset = init_chipset_pdcnew,
580 .init_hwif = init_hwif_pdc202new, 577 .init_hwif = init_hwif_pdc202new,
581 .autodma = AUTODMA,
582 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 578 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
583 .pio_mask = ATA_PIO4, 579 .pio_mask = ATA_PIO4,
584 .udma_mask = 0x7f, /* udma0-6*/ 580 .udma_mask = 0x7f, /* udma0-6*/
@@ -587,7 +583,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
587 .init_setup = init_setup_pdcnew, 583 .init_setup = init_setup_pdcnew,
588 .init_chipset = init_chipset_pdcnew, 584 .init_chipset = init_chipset_pdcnew,
589 .init_hwif = init_hwif_pdc202new, 585 .init_hwif = init_hwif_pdc202new,
590 .autodma = AUTODMA,
591 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 586 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
592 .pio_mask = ATA_PIO4, 587 .pio_mask = ATA_PIO4,
593 .udma_mask = 0x7f, /* udma0-6*/ 588 .udma_mask = 0x7f, /* udma0-6*/
@@ -596,7 +591,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
596 .init_setup = init_setup_pdc20276, 591 .init_setup = init_setup_pdc20276,
597 .init_chipset = init_chipset_pdcnew, 592 .init_chipset = init_chipset_pdcnew,
598 .init_hwif = init_hwif_pdc202new, 593 .init_hwif = init_hwif_pdc202new,
599 .autodma = AUTODMA,
600 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 594 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
601 .pio_mask = ATA_PIO4, 595 .pio_mask = ATA_PIO4,
602 .udma_mask = 0x7f, /* udma0-6*/ 596 .udma_mask = 0x7f, /* udma0-6*/
@@ -605,7 +599,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = {
605 .init_setup = init_setup_pdcnew, 599 .init_setup = init_setup_pdcnew,
606 .init_chipset = init_chipset_pdcnew, 600 .init_chipset = init_chipset_pdcnew,
607 .init_hwif = init_hwif_pdc202new, 601 .init_hwif = init_hwif_pdc202new,
608 .autodma = AUTODMA,
609 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD, 602 .host_flags = IDE_HFLAG_POST_SET_MODE | IDE_HFLAG_OFF_BOARD,
610 .pio_mask = ATA_PIO4, 603 .pio_mask = ATA_PIO4,
611 .udma_mask = 0x7f, /* udma0-6*/ 604 .udma_mask = 0x7f, /* udma0-6*/