aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/pdc202xx_old.c')
-rw-r--r--drivers/ide/pci/pdc202xx_old.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index d8622be22875..570259093ce4 100644
--- a/drivers/ide/pci/pdc202xx_old.c
+++ b/drivers/ide/pci/pdc202xx_old.c
@@ -324,9 +324,6 @@ static void __devinit init_hwif_pdc202xx(ide_hwif_t *hwif)
324 if (hwif->dma_base == 0) 324 if (hwif->dma_base == 0)
325 return; 325 return;
326 326
327 hwif->ultra_mask = hwif->cds->udma_mask;
328 hwif->mwdma_mask = 0x07;
329
330 hwif->dma_lost_irq = &pdc202xx_dma_lost_irq; 327 hwif->dma_lost_irq = &pdc202xx_dma_lost_irq;
331 hwif->dma_timeout = &pdc202xx_dma_timeout; 328 hwif->dma_timeout = &pdc202xx_dma_timeout;
332 329
@@ -420,7 +417,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
420 .extra = 16, 417 .extra = 16,
421 .host_flags = IDE_HFLAG_OFF_BOARD, 418 .host_flags = IDE_HFLAG_OFF_BOARD,
422 .pio_mask = ATA_PIO4, 419 .pio_mask = ATA_PIO4,
423 .udma_mask = 0x07, /* udma0-2 */ 420 .mwdma_mask = ATA_MWDMA2,
421 .udma_mask = ATA_UDMA2,
424 },{ /* 1 */ 422 },{ /* 1 */
425 .name = "PDC20262", 423 .name = "PDC20262",
426 .init_setup = init_setup_pdc202ata4, 424 .init_setup = init_setup_pdc202ata4,
@@ -430,7 +428,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
430 .extra = 48, 428 .extra = 48,
431 .host_flags = IDE_HFLAG_OFF_BOARD, 429 .host_flags = IDE_HFLAG_OFF_BOARD,
432 .pio_mask = ATA_PIO4, 430 .pio_mask = ATA_PIO4,
433 .udma_mask = 0x1f, /* udma0-4 */ 431 .mwdma_mask = ATA_MWDMA2,
432 .udma_mask = ATA_UDMA4,
434 },{ /* 2 */ 433 },{ /* 2 */
435 .name = "PDC20263", 434 .name = "PDC20263",
436 .init_setup = init_setup_pdc202ata4, 435 .init_setup = init_setup_pdc202ata4,
@@ -440,7 +439,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
440 .extra = 48, 439 .extra = 48,
441 .host_flags = IDE_HFLAG_OFF_BOARD, 440 .host_flags = IDE_HFLAG_OFF_BOARD,
442 .pio_mask = ATA_PIO4, 441 .pio_mask = ATA_PIO4,
443 .udma_mask = 0x1f, /* udma0-4 */ 442 .mwdma_mask = ATA_MWDMA2,
443 .udma_mask = ATA_UDMA4,
444 },{ /* 3 */ 444 },{ /* 3 */
445 .name = "PDC20265", 445 .name = "PDC20265",
446 .init_setup = init_setup_pdc20265, 446 .init_setup = init_setup_pdc20265,
@@ -450,7 +450,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
450 .extra = 48, 450 .extra = 48,
451 .host_flags = IDE_HFLAG_OFF_BOARD, 451 .host_flags = IDE_HFLAG_OFF_BOARD,
452 .pio_mask = ATA_PIO4, 452 .pio_mask = ATA_PIO4,
453 .udma_mask = 0x3f, /* udma0-5 */ 453 .mwdma_mask = ATA_MWDMA2,
454 .udma_mask = ATA_UDMA5,
454 },{ /* 4 */ 455 },{ /* 4 */
455 .name = "PDC20267", 456 .name = "PDC20267",
456 .init_setup = init_setup_pdc202xx, 457 .init_setup = init_setup_pdc202xx,
@@ -460,7 +461,8 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
460 .extra = 48, 461 .extra = 48,
461 .host_flags = IDE_HFLAG_OFF_BOARD, 462 .host_flags = IDE_HFLAG_OFF_BOARD,
462 .pio_mask = ATA_PIO4, 463 .pio_mask = ATA_PIO4,
463 .udma_mask = 0x3f, /* udma0-5 */ 464 .mwdma_mask = ATA_MWDMA2,
465 .udma_mask = ATA_UDMA5,
464 } 466 }
465}; 467};
466 468