patch-2.2.0-pre6 linux/drivers/block/ide-dma.c

Next file: linux/drivers/block/ide-tape.c
Previous file: linux/drivers/acorn/block/fd1772.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/drivers/block/ide-dma.c linux/drivers/block/ide-dma.c
@@ -100,11 +100,18 @@
  * bad_dma_drives() lists the model names (from "hdparm -i")
  * of drives which supposedly support (U)DMA but which are
  * known to corrupt data with this interface under Linux.
+ *
+ * This is an empirical list. Its generated from bug reports. That means
+ * while it reflects actual problem distributions it doesn't answer whether
+ * the drive or the controller, or cabling, or software, or some combination
+ * thereof is the fault. If you don't happen to agree with the kernel's 
+ * opinion of your drive - use hdparm to turn DMA on.
  */
 const char *bad_dma_drives[] = {"WDC AC11000H",
 				"WDC AC22100H",
 				"WDC AC32500H",
 				"WDC AC33100H",
+				"WDC AC31600H",
  				NULL};
 
 /*
@@ -246,7 +253,7 @@
 		list = bad_dma_drives;
 		while (*list) {
 			if (!strcmp(*list++,id->model)) {
-				printk("%s: (U)DMA capability is broken for %s\n",
+				printk("%s: Disabling (U)DMA for %s\n",
 					drive->name, id->model);
 				return 1;
 			}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov