From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="==_Boundary-1_==" Date: Wed, 23 Dec 1998 05:03:55 +0100 To: linuxppc dev list , Cort Dougan From: Benjamin Herrenschmidt Subject: [PATCH] l2cr fix for BootX Message-Id: <19981223050355.013934@mail.mipsys.com> Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: --==_Boundary-1_== Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Enclosed is a patch to pmac_setup.c and setup.c that - removes the relics of the old l2cr=xxxx kernel arg. in setup.c - adds code for getting the "l2cr-value" property, currently at the root of "cpus" node (that's where bootx puts it but this could eventually be changed since no one uses it yet). I did put the code in pmad_setup.c to avoid breaking anything on other arch, you may want to move it to ppc common code since you know it better than me and you may want to remove the global (i was not sure, I did put them to allow other processors to read the value too but I don't think there is any MP G3 available anyway). With this fix and the latest bootx, G3 upgrade card vendors will be able to set a preference in BootX prefs file with the L2CR value from their proprietary MacOS software (PowerLogix is expected to do it soon). There'll be soon a generic tool for "capturing" the l2cr value under MacOS and set the appropriate resource in BootX too. -- E-Mail: BenH. Web : --==_Boundary-1_== Mime-Version: 1.0 Content-Type: application/octet-stream; name="l2cr.patch.tgz"; x-mac-creator="554e4958"; x-mac-type="42494e41" Message-Id: <19981223050408.004153> Date: Wed, 23 Dec 1998 05:04:08 +0100 Content-Transfer-Encoding: base64 H4sICDuEgDYAA2wyY3IucGF0Y2gudGFyAO1WaW/bRhD1V/JXTBm44Gnx0GUJTow6 TRDElQujF9AUC5pcSYTJJcFDkBH4v3d2STuSbMVpAbsosA8SKS1nZ+dYvrcVrZvi qAjraHnwXPBcd9jvwwGANxp4/I5wuzsOBkEfYDjsu57rBX0fR/jtANxni2gDTVWH JcDBFWVfrUCZ5/VLxPPCcBwH0oQ166O8TBa9sIyWvaKIete0ZDTtVWJ7RMovywbe 0gg8F1xv4vcn/hi84+OxallWNz+mq73Tf6exmO4H4PoTz50Eo3b66Sk4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R+eEm7SOQ1xP1NxChPHkt2j0Mf3b3+Q BxAJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQmJl8bfRctRUQAoAAA= --==_Boundary-1_==-- [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]