patch-2.4.22 linux-2.4.22/arch/mips/vr41xx/common/pciu.c
Next file: linux-2.4.22/arch/mips/vr41xx/common/reset.c
Previous file: linux-2.4.22/arch/mips/vr41xx/common/ide.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/mips/vr41xx/common/pciu.c
-  Orig date: 
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/vr41xx/common/pciu.c linux-2.4.22/arch/mips/vr41xx/common/pciu.c
@@ -262,7 +262,7 @@
 	/* Clear bus error */
 	n = readl(BUSERRADREG);
 
-	if (mips_cpu.cputype == CPU_VR4122) {
+	if (current_cpu_data.cputype == CPU_VR4122) {
 		writel(0UL, PCITRDYVREG);
 		pciu_write_config_dword(PCI_CACHE_LINE_SIZE, 0x0000f804);
 	} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)