From: Guido Guenther <agx@sigxcpu.org>
To: linuxppc-dev@lists.linuxppc.org
Subject: fixup G4 iBook's /proc/cpuinfo
Date: Thu, 11 Dec 2003 17:20:11 +0100 [thread overview]
Message-ID: <20031211162011.GD913@bogon.ms20.nix> (raw)
[-- 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,
next reply other threads:[~2003-12-11 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-11 16:20 Guido Guenther [this message]
2003-12-11 16:24 ` fixup G4 iBook's /proc/cpuinfo Colin Leroy
2003-12-11 16:52 ` Guido Guenther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031211162011.GD913@bogon.ms20.nix \
--to=agx@sigxcpu.org \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).