* fixup G4 iBook's /proc/cpuinfo
@ 2003-12-11 16:20 Guido Guenther
2003-12-11 16:24 ` Colin Leroy
0 siblings, 1 reply; 3+ messages in thread
From: Guido Guenther @ 2003-12-11 16:20 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 689 bytes --]
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
[-- Attachment #2: g4-ibook-detect-model-2.6.diff --]
[-- Type: text/plain, Size: 512 bytes --]
--- 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,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fixup G4 iBook's /proc/cpuinfo
2003-12-11 16:20 fixup G4 iBook's /proc/cpuinfo Guido Guenther
@ 2003-12-11 16:24 ` Colin Leroy
2003-12-11 16:52 ` Guido Guenther
0 siblings, 1 reply; 3+ messages in thread
From: Colin Leroy @ 2003-12-11 16:24 UTC (permalink / raw)
To: Guido Guenther, linuxppc-dev
Hi,
> + { "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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fixup G4 iBook's /proc/cpuinfo
2003-12-11 16:24 ` Colin Leroy
@ 2003-12-11 16:52 ` Guido Guenther
0 siblings, 0 replies; 3+ messages in thread
From: Guido Guenther @ 2003-12-11 16:52 UTC (permalink / raw)
To: Colin Leroy; +Cc: linuxppc-dev
On Thu, Dec 11, 2003 at 05:24:29PM +0100, Colin Leroy wrote:
> 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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-11 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-11 16:20 fixup G4 iBook's /proc/cpuinfo Guido Guenther
2003-12-11 16:24 ` Colin Leroy
2003-12-11 16:52 ` Guido Guenther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).