diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:59 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-19 19:11:59 -0400 |
commit | 4099d14322149c7a467e4997b87be4ba8eb78697 (patch) | |
tree | 133a913d7f9c2dacaaaef5cfdf2ae6911dc21f4c /drivers/ide/pci/pdc202xx_new.c | |
parent | 6a824c92db4d606c324272c4eed366fb71672440 (diff) |
ide: add PIO masks
* Add ATA_PIO[0-6] defines to <linux/ata.h>.
* Add ->pio_mask field to ide_pci_device_t and ide_hwif_t.
* Add PIO masks to host drivers.
<linux/ata.h> change ACK-ed by Jeff Garzik <jeff@garzik.org>.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
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.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index a8a01b4ab607..8a66a2871b3a 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c | |||
@@ -568,6 +568,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
568 | .init_hwif = init_hwif_pdc202new, | 568 | .init_hwif = init_hwif_pdc202new, |
569 | .autodma = AUTODMA, | 569 | .autodma = AUTODMA, |
570 | .bootable = OFF_BOARD, | 570 | .bootable = OFF_BOARD, |
571 | .pio_mask = ATA_PIO4, | ||
571 | .udma_mask = 0x3f, /* udma0-5 */ | 572 | .udma_mask = 0x3f, /* udma0-5 */ |
572 | },{ /* 1 */ | 573 | },{ /* 1 */ |
573 | .name = "PDC20269", | 574 | .name = "PDC20269", |
@@ -576,6 +577,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
576 | .init_hwif = init_hwif_pdc202new, | 577 | .init_hwif = init_hwif_pdc202new, |
577 | .autodma = AUTODMA, | 578 | .autodma = AUTODMA, |
578 | .bootable = OFF_BOARD, | 579 | .bootable = OFF_BOARD, |
580 | .pio_mask = ATA_PIO4, | ||
579 | .udma_mask = 0x7f, /* udma0-6*/ | 581 | .udma_mask = 0x7f, /* udma0-6*/ |
580 | },{ /* 2 */ | 582 | },{ /* 2 */ |
581 | .name = "PDC20270", | 583 | .name = "PDC20270", |
@@ -584,6 +586,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
584 | .init_hwif = init_hwif_pdc202new, | 586 | .init_hwif = init_hwif_pdc202new, |
585 | .autodma = AUTODMA, | 587 | .autodma = AUTODMA, |
586 | .bootable = OFF_BOARD, | 588 | .bootable = OFF_BOARD, |
589 | .pio_mask = ATA_PIO4, | ||
587 | .udma_mask = 0x3f, /* udma0-5 */ | 590 | .udma_mask = 0x3f, /* udma0-5 */ |
588 | },{ /* 3 */ | 591 | },{ /* 3 */ |
589 | .name = "PDC20271", | 592 | .name = "PDC20271", |
@@ -592,6 +595,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
592 | .init_hwif = init_hwif_pdc202new, | 595 | .init_hwif = init_hwif_pdc202new, |
593 | .autodma = AUTODMA, | 596 | .autodma = AUTODMA, |
594 | .bootable = OFF_BOARD, | 597 | .bootable = OFF_BOARD, |
598 | .pio_mask = ATA_PIO4, | ||
595 | .udma_mask = 0x7f, /* udma0-6*/ | 599 | .udma_mask = 0x7f, /* udma0-6*/ |
596 | },{ /* 4 */ | 600 | },{ /* 4 */ |
597 | .name = "PDC20275", | 601 | .name = "PDC20275", |
@@ -600,6 +604,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
600 | .init_hwif = init_hwif_pdc202new, | 604 | .init_hwif = init_hwif_pdc202new, |
601 | .autodma = AUTODMA, | 605 | .autodma = AUTODMA, |
602 | .bootable = OFF_BOARD, | 606 | .bootable = OFF_BOARD, |
607 | .pio_mask = ATA_PIO4, | ||
603 | .udma_mask = 0x7f, /* udma0-6*/ | 608 | .udma_mask = 0x7f, /* udma0-6*/ |
604 | },{ /* 5 */ | 609 | },{ /* 5 */ |
605 | .name = "PDC20276", | 610 | .name = "PDC20276", |
@@ -608,6 +613,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
608 | .init_hwif = init_hwif_pdc202new, | 613 | .init_hwif = init_hwif_pdc202new, |
609 | .autodma = AUTODMA, | 614 | .autodma = AUTODMA, |
610 | .bootable = OFF_BOARD, | 615 | .bootable = OFF_BOARD, |
616 | .pio_mask = ATA_PIO4, | ||
611 | .udma_mask = 0x7f, /* udma0-6*/ | 617 | .udma_mask = 0x7f, /* udma0-6*/ |
612 | },{ /* 6 */ | 618 | },{ /* 6 */ |
613 | .name = "PDC20277", | 619 | .name = "PDC20277", |
@@ -616,6 +622,7 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { | |||
616 | .init_hwif = init_hwif_pdc202new, | 622 | .init_hwif = init_hwif_pdc202new, |
617 | .autodma = AUTODMA, | 623 | .autodma = AUTODMA, |
618 | .bootable = OFF_BOARD, | 624 | .bootable = OFF_BOARD, |
625 | .pio_mask = ATA_PIO4, | ||
619 | .udma_mask = 0x7f, /* udma0-6*/ | 626 | .udma_mask = 0x7f, /* udma0-6*/ |
620 | } | 627 | } |
621 | }; | 628 | }; |