public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6] clarify why DMA gets disabled on broken drives
@ 2003-08-05 21:37 Tomas Szepe
  0 siblings, 0 replies; only message in thread
From: Tomas Szepe @ 2003-08-05 21:37 UTC (permalink / raw)
  To: B.Zolnierkiewicz; +Cc: lkml

Bartolomiej,

I just ran into this and had to look at the sources to find out why
the IDE driver was turning off DMA for a particular drive.

-- 
Tomas Szepe <szepe@pinerecords.com>

Patch against 2.6.0-test2-bk5.

diff -urN a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
--- a/drivers/ide/ide-dma.c	2003-07-27 19:50:57.000000000 +0200
+++ b/drivers/ide/ide-dma.c	2003-08-05 23:33:13.000000000 +0200
@@ -767,7 +767,8 @@
 
 	int blacklist = in_drive_list(id, drive_blacklist);
 	if (blacklist) {
-		printk(KERN_WARNING "%s: Disabling (U)DMA for %s\n", drive->name, id->model);
+		printk(KERN_WARNING "%s: Disabling (U)DMA for %s (on blacklist)\n",
+			drive->name, id->model);
 		return(blacklist);
 	}
 	return 0;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-05 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-05 21:37 [PATCH 2.6] clarify why DMA gets disabled on broken drives Tomas Szepe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox