patch-2.3.99-pre9 linux/include/asm-mips/bugs.h

Next file: linux/include/asm-mips/byteorder.h
Previous file: linux/include/asm-mips/branch.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-mips/bugs.h linux/include/asm-mips/bugs.h
@@ -17,6 +17,11 @@
 {
 	printk("Checking for 'wait' instruction... ");
 	switch(mips_cputype) {
+	case CPU_R3081:
+	case CPU_R3081E:
+		cpu_wait = r3081_wait;
+		printk(" available.\n");
+		break;
 	case CPU_R4200: 
 	case CPU_R4300: 
 	case CPU_R4600: 
@@ -25,7 +30,7 @@
 	case CPU_R4700: 
 	case CPU_R5000: 
 	case CPU_NEVADA:
-		wait_available = 1;
+		cpu_wait = r4k_wait;
 		printk(" available.\n");
 		break;
 	default:

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