fixup G4 iBook's /proc/cpuinfo

Guido Guenther agx at sigxcpu.org
Fri Dec 12 03:20:11 EST 2003


Hi,
this little patch lets the G4 iBook 12" actually look like one in
/proc/cpuinfo. It's against the current 2.4 benh rsync tree. A 2.6
version is also attached.

--- ../benh-rsync-clean/arch/ppc/platforms/pmac_feature.c	2003-10-08 15:16:42.000000000 +0200
+++ arch/ppc/platforms/pmac_feature.c	2003-12-11 16:21:39.000000000 +0100
@@ -2007,6 +2022,10 @@
 		PMAC_TYPE_UNKNOWN_INTREPID,	intrepid_features,
 		PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
 	},
+	{	"PowerBook6,3",			"iBook G4 12\"",
+		PMAC_TYPE_UNKNOWN_INTREPID,	intrepid_features,
+		PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
+	},
 	{	"PowerMac7,2",			"PowerMac G5",
 		PMAC_TYPE_POWERMAC_G5,		g5_features,
 		0,

Cheers,
 -- Guido
-------------- next part --------------
--- arch/ppc/platforms/pmac_feature.c.orig	2003-12-11 17:17:09.000000000 +0100
+++ arch/ppc/platforms/pmac_feature.c	2003-12-11 17:18:15.000000000 +0100
@@ -2119,6 +2119,10 @@
 		PMAC_TYPE_UNKNOWN_INTREPID,	intrepid_features,
 		PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
 	},
+	{	"PowerBook6,3",			"iBook G4 12\"",
+		PMAC_TYPE_UNKNOWN_INTREPID,	intrepid_features,
+		PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
+	},
 #else /* CONFIG_POWER4 */
 	{	"PowerMac7,2",			"PowerMac G5",
 		PMAC_TYPE_POWERMAC_G5,		g5_features,


More information about the Linuxppc-dev mailing list