patch-2.4.22 linux-2.4.22/drivers/ide/pci/via82cxxx.c
Next file: linux-2.4.22/drivers/ide/raid/hptraid.c
Previous file: linux-2.4.22/drivers/ide/pci/sis5513.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2003-08-25 04:44:41.000000000 -0700
-  Orig file: 
linux-2.4.21/drivers/ide/pci/via82cxxx.c
-  Orig date: 
2003-06-13 07:51:33.000000000 -0700
diff -urN linux-2.4.21/drivers/ide/pci/via82cxxx.c linux-2.4.22/drivers/ide/pci/via82cxxx.c
@@ -484,7 +484,7 @@
 			for (i = 24; i >= 0; i -= 8)
 				if (((u >> i) & 0x10) ||
 				    (((u >> i) & 0x20) &&
-				     (((u >> i) & 7) < 8))) {
+				     (((u >> i) & 7) < 6))) {
 					/* BIOS 80-wire bit or
 					 * UDMA w/ < 60ns/cycle
 					 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)