L2CR patch
Enclosed is a patch that replace the _set_L2CR function in the kernel by a new version that is safer (does the appropriate flushing etc... when enabling the cache).
See comments about usage. I also added an "l2cr=" kernel command-line option that will be used by future versions of BootX to give the kernel a correct l2cr setting for people with G3 upgrade cards. BootX application will be able to "capture" the l2cr value set by the upgrade card software and put it in a pref for use when booting.
The _set_L2CR was provided by Terry Greeniaus from PowerLogix, so thanks to PowerLogix for the support !
Signature · 2 lines
E-Mail: <mailto:[email protected]> BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
This looks good. Has there been success in trying it out (enabling/disabling the cache)?
}Enclosed is a patch that replace the _set_L2CR function in the kernel by }a new version that is safer (does the appropriate flushing etc... when }enabling the cache).
[[ 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 [email protected] ]]