Skip to contentSkip to conversation

fixup G4 iBook's /proc/cpuinfo

PATCH Guido Guenther 2 participants 3 messages Dec 11, 2003 PowerPC

lore
Share & tools
lore
#0 lore raw

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.

ppc/platforms/pmac_feature.c renamed from benh-rsync-clean/arch/ppc/platforms/pmac_feature.c +4 -0
@@ -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

ppc/platforms/pmac_feature.c renamed from ppc/platforms/pmac_feature.c.orig +4 -0
@@ -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,
#1 lore raw

Hi,

Quoted 7 lines

+ { "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,

You can remove the " 12\"" bit, as the 14" are PowerBook6,3 too :)

--
Colin
Ne disez pas disez, mais disez dites

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/