patch-2.4.5 linux/drivers/ide/amd7409.c

Next file: linux/drivers/ide/cy82c693.c
Previous file: linux/drivers/ide/alim15x3.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/drivers/ide/amd7409.c linux/drivers/ide/amd7409.c
@@ -455,7 +455,8 @@
 
 	if (hwif->dma_base) {
 		hwif->dmaproc = &amd7409_dmaproc;
-		hwif->autodma = 1;
+		if (!noautodma)
+			hwif->autodma = 1;
 	} else {
 		hwif->autodma = 0;
 		hwif->drives[0].autotune = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)