patch-2.3.40 linux/drivers/block/ide-dma.c
Next file: linux/drivers/block/ide-features.c
Previous file: linux/drivers/block/ide-disk.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Fri Jan 14 00:50:53 2000
-  Orig file: 
v2.3.39/linux/drivers/block/ide-dma.c
-  Orig date: 
Thu Nov 18 20:25:37 1999
diff -u --recursive --new-file v2.3.39/linux/drivers/block/ide-dma.c linux/drivers/block/ide-dma.c
@@ -358,7 +358,7 @@
 			return hwif->dmaproc(ide_dma_off, drive);
 
 		/* Enable DMA on any drive that has UltraDMA (mode 3/4) enabled */
-		if ((id->field_valid & 4) && (hwif->udma_four) && (id->word93 & 0x2000))
+		if ((id->field_valid & 4) && (hwif->udma_four) && (id->hw_config & 0x2000))
 			if ((id->dma_ultra & (id->dma_ultra >> 11) & 3))
 				return hwif->dmaproc(ide_dma_on, drive);
 		/* Enable DMA on any drive that has UltraDMA (mode 0/1/2) enabled */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)