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

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

diff -u --recursive --new-file v2.4.4/linux/drivers/ide/sis5513.c linux/drivers/ide/sis5513.c
@@ -629,7 +629,8 @@
 			case PCI_DEVICE_ID_SI_5600:
 			case PCI_DEVICE_ID_SI_5597:
 			case PCI_DEVICE_ID_SI_5591:
-				hwif->autodma = 1;
+				if (!noautodma)
+					hwif->autodma = 1;
 				hwif->dmaproc = &sis5513_dmaproc;
 				break;
 #endif /* CONFIG_BLK_DEV_IDEDMA */

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