patch-2.3.50 linux/arch/ppc/kernel/feature.c
Next file: linux/arch/ppc/kernel/head.S
Previous file: linux/arch/ppc/kernel/Makefile
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Thu Mar  2 22:46:07 2000
-  Orig file: 
v2.3.49/linux/arch/ppc/kernel/feature.c
-  Orig date: 
Thu Feb 10 17:11:04 2000
diff -u --recursive --new-file v2.3.49/linux/arch/ppc/kernel/feature.c linux/arch/ppc/kernel/feature.c
@@ -154,6 +154,9 @@
 {
 	struct device_node *np;
 
+	if (_machine != _MACH_Pmac)
+		return;
+
 	np = find_devices("mac-io");
 	while (np != NULL) {
 		/* KeyLargo contains several (5 ?) FCR registers in mac-io,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)