patch-2.1.97 linux/arch/sparc/kernel/auxio.c

Next file: linux/arch/sparc/kernel/cpu.c
Previous file: linux/arch/sparc/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/arch/sparc/kernel/auxio.c linux/arch/sparc/kernel/auxio.c
@@ -17,9 +17,13 @@
 	int node, auxio_nd;
 	struct linux_prom_registers auxregs[1];
 
-	if (sparc_cpu_model == sun4d) {
+	switch (sparc_cpu_model) {
+	case sun4d:
+	case sun4:
 		auxio_register = 0;
 		return;
+	default:
+		break;
 	}
 	node = prom_getchild(prom_root_node);
 	auxio_nd = prom_searchsiblings(node, "auxiliary-io");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov