linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] l2cr fix for BootX
@ 1998-12-23  4:03 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 1998-12-23  4:03 UTC (permalink / raw)
  To: linuxppc dev list, Cort Dougan

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

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: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>



[-- Attachment #2: l2cr.patch.tgz --]
[-- Type: application/octet-stream, Size: 1094 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-12-23  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-23  4:03 [PATCH] l2cr fix for BootX Benjamin Herrenschmidt

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).