fixup G4 iBook's /proc/cpuinfo
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,
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/
Quoted 1 line · Colin Leroy
You can remove the " 12\"" bit, as the 14" are PowerBook6,3 too :)
Thanks, updated at:
http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/g4-ibook-detect-model-2.6.diff
http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/g4-ibook-detect-model-2.4.diff
Cheers,
-- Guido
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/