diff options
Diffstat (limited to 'drivers/ata/pata_ali.c')
-rw-r--r-- | drivers/ata/pata_ali.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index 1432dc9d0ab8..9434114b2ca8 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c | |||
@@ -453,7 +453,9 @@ static void ali_init_chipset(struct pci_dev *pdev) | |||
453 | /* Clear CD-ROM DMA write bit */ | 453 | /* Clear CD-ROM DMA write bit */ |
454 | tmp &= 0x7F; | 454 | tmp &= 0x7F; |
455 | /* Cable and UDMA */ | 455 | /* Cable and UDMA */ |
456 | pci_write_config_byte(pdev, 0x4B, tmp | 0x09); | 456 | if (pdev->revision >= 0xc2) |
457 | tmp |= 0x01; | ||
458 | pci_write_config_byte(pdev, 0x4B, tmp | 0x08); | ||
457 | /* | 459 | /* |
458 | * CD_ROM DMA on (0x53 bit 0). Enable this even if we want | 460 | * CD_ROM DMA on (0x53 bit 0). Enable this even if we want |
459 | * to use PIO. 0x53 bit 1 (rev 20 only) - enable FIFO control | 461 | * to use PIO. 0x53 bit 1 (rev 20 only) - enable FIFO control |