aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_old.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:59 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:59 -0400
commit4099d14322149c7a467e4997b87be4ba8eb78697 (patch)
tree133a913d7f9c2dacaaaef5cfdf2ae6911dc21f4c /drivers/ide/pci/pdc202xx_old.c
parent6a824c92db4d606c324272c4eed366fb71672440 (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_old.c')
-rw-r--r--drivers/ide/pci/pdc202xx_old.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index 3a6882d4aa64..fbcb0bb9c956 100644
--- a/drivers/ide/pci/pdc202xx_old.c
+++ b/drivers/ide/pci/pdc202xx_old.c
@@ -444,6 +444,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
444 .autodma = AUTODMA, 444 .autodma = AUTODMA,
445 .bootable = OFF_BOARD, 445 .bootable = OFF_BOARD,
446 .extra = 16, 446 .extra = 16,
447 .pio_mask = ATA_PIO4,
447 .udma_mask = 0x07, /* udma0-2 */ 448 .udma_mask = 0x07, /* udma0-2 */
448 },{ /* 1 */ 449 },{ /* 1 */
449 .name = "PDC20262", 450 .name = "PDC20262",
@@ -454,6 +455,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
454 .autodma = AUTODMA, 455 .autodma = AUTODMA,
455 .bootable = OFF_BOARD, 456 .bootable = OFF_BOARD,
456 .extra = 48, 457 .extra = 48,
458 .pio_mask = ATA_PIO4,
457 .udma_mask = 0x1f, /* udma0-4 */ 459 .udma_mask = 0x1f, /* udma0-4 */
458 },{ /* 2 */ 460 },{ /* 2 */
459 .name = "PDC20263", 461 .name = "PDC20263",
@@ -464,6 +466,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
464 .autodma = AUTODMA, 466 .autodma = AUTODMA,
465 .bootable = OFF_BOARD, 467 .bootable = OFF_BOARD,
466 .extra = 48, 468 .extra = 48,
469 .pio_mask = ATA_PIO4,
467 .udma_mask = 0x1f, /* udma0-4 */ 470 .udma_mask = 0x1f, /* udma0-4 */
468 },{ /* 3 */ 471 },{ /* 3 */
469 .name = "PDC20265", 472 .name = "PDC20265",
@@ -474,6 +477,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
474 .autodma = AUTODMA, 477 .autodma = AUTODMA,
475 .bootable = OFF_BOARD, 478 .bootable = OFF_BOARD,
476 .extra = 48, 479 .extra = 48,
480 .pio_mask = ATA_PIO4,
477 .udma_mask = 0x3f, /* udma0-5 */ 481 .udma_mask = 0x3f, /* udma0-5 */
478 },{ /* 4 */ 482 },{ /* 4 */
479 .name = "PDC20267", 483 .name = "PDC20267",
@@ -484,6 +488,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
484 .autodma = AUTODMA, 488 .autodma = AUTODMA,
485 .bootable = OFF_BOARD, 489 .bootable = OFF_BOARD,
486 .extra = 48, 490 .extra = 48,
491 .pio_mask = ATA_PIO4,
487 .udma_mask = 0x3f, /* udma0-5 */ 492 .udma_mask = 0x3f, /* udma0-5 */
488 } 493 }
489}; 494};