aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cmd64x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_cmd64x.c')
-rw-r--r--drivers/ata/pata_cmd64x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c
index f0e566623614..ddd09b7d98c9 100644
--- a/drivers/ata/pata_cmd64x.c
+++ b/drivers/ata/pata_cmd64x.c
@@ -349,7 +349,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
349 class_rev &= 0xFF; 349 class_rev &= 0xFF;
350 350
351 if (id->driver_data == 0) /* 643 */ 351 if (id->driver_data == 0) /* 643 */
352 ata_pci_clear_simplex(pdev); 352 ata_pci_bmdma_clear_simplex(pdev);
353 353
354 if (pdev->device == PCI_DEVICE_ID_CMD_646) { 354 if (pdev->device == PCI_DEVICE_ID_CMD_646) {
355 /* Does UDMA work ? */ 355 /* Does UDMA work ? */
@@ -373,7 +373,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
373 pci_write_config_byte(pdev, UDIDETCR0, 0xF0); 373 pci_write_config_byte(pdev, UDIDETCR0, 0xF0);
374#endif 374#endif
375 375
376 return ata_pci_init_one(pdev, ppi, &cmd64x_sht, NULL); 376 return ata_pci_sff_init_one(pdev, ppi, &cmd64x_sht, NULL);
377} 377}
378 378
379#ifdef CONFIG_PM 379#ifdef CONFIG_PM