2002-11-07 20:03:37

by Denis Zaitsev

[permalink] [raw]
Subject: [PATCH] [TRIVIAL] ide.c - just a typo?

And this looks like just a typo...


--- drivers/ide/ide.c.orig Fri Nov 8 01:01:58 2002
+++ drivers/ide/ide.c Fri Nov 8 01:03:03 2002
@@ -3213,8 +3213,9 @@ int ide_register_subdriver (ide_drive_t
spin_unlock(&drives_lock);
if (drive->autotune != 2) {
/* DMA timings and setup moved to ide-probe.c */
- if (!driver->supports_dma && HWIF(drive)->ide_dma_off_quietly)
+// if (!driver->supports_dma && HWIF(drive)->ide_dma_off_quietly)
// HWIF(drive)->ide_dma_off_quietly(drive);
+ if (!driver->supports_dma && HWIF(drive)->ide_dma_off)
HWIF(drive)->ide_dma_off(drive);
drive->dsc_overlap = (drive->next != drive && driver->supports_dsc_overlap);
drive->nice1 = 1;