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

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)