[PATCH] [TRIVIAL] ide.c - just a typo?

Denis Zaitsev (zzz@cd-club.ru)
Fri, 8 Nov 2002 01:06:48 +0500


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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/