]> err.no Git - linux-2.6/blobdiff - drivers/ide/ide-io.c
ide: use pci_dev->revision
[linux-2.6] / drivers / ide / ide-io.c
index 04273d3c147c09ecead03f5e9315740a530d1d03..ec835e37e729f59ba33aab5b4054e47951b07356 100644 (file)
@@ -219,11 +219,11 @@ static ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request *
 
        case ide_pm_restore_dma:        /* Resume step 3 (restore DMA) */
                /*
-                * Right now, all we do is call hwif->ide_dma_check(drive),
+                * Right now, all we do is call ide_set_dma(drive),
                 * we could be smarter and check for current xfer_speed
                 * in struct drive etc...
                 */
-               if (drive->hwif->ide_dma_check == NULL)
+               if (drive->hwif->ide_dma_on == NULL)
                        break;
                drive->hwif->dma_off_quietly(drive);
                /*