* PATCH: clean up DMA reference, new style ONLYDISK
@ 2003-02-18 18:29 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2003-02-18 18:29 UTC (permalink / raw)
To: torvalds, linux-kernel
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/ide-cd.c linux-2.5.61-ac2/drivers/ide/ide-cd.c
--- linux-2.5.61/drivers/ide/ide-cd.c 2003-02-10 18:38:30.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/ide-cd.c 2003-02-18 18:06:17.000000000 +0000
@@ -1276,9 +1274,7 @@
* this condition is far too common, to bother
* users about it
*/
-#if 0
- printk("%s: disabled DSC seek overlap\n", drive->name);
-#endif
+ /* printk("%s: disabled DSC seek overlap\n", drive->name);*/
drive->dsc_overlap = 0;
}
}
@@ -2965,8 +2961,10 @@
printk(", %dkB Cache", be16_to_cpu(cap.buffer_size));
+#ifdef CONFIG_BLK_DEV_IDEDMA
if (drive->using_dma)
(void) HWIF(drive)->ide_dma_verbose(drive);
+#endif /* CONFIG_BLK_DEV_IDEDMA */
printk("\n");
return nslots;
@@ -3261,11 +3259,7 @@
.version = IDECD_VERSION,
.media = ide_cdrom,
.busy = 0,
-#ifdef CONFIG_IDEDMA_ONLYDISK
- .supports_dma = 0,
-#else
.supports_dma = 1,
-#endif
.supports_dsc_overlap = 1,
.cleanup = ide_cdrom_cleanup,
.do_request = ide_do_rw_cdrom,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-18 18:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-18 18:29 PATCH: clean up DMA reference, new style ONLYDISK Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).