Subject: Re: printing and remembering platform name
To: Tim Rightnour <root@garbled.net>
From: Frank Wille <frank@phoenix.owl.de>
List: port-ofppc
Date: 11/21/2007 00:39:10
Tim Rightnour wrote:

>> For Pegasos it would look like that:
>>   mainbus0 (root): bplan,Pegasos2
>> 
>> I have already seen this in other ports, and I like it.
> 
> Actually.. this has been on my todo list for awhile now.

:)


> The correct way to do it is to pass it to oea_startup() as the sole
> argument. Take a look at prep/prep/machdep.c.

Oh, great! I didn't know. Then you have to modify the last patch I sent you.


> However, all that does is print the model name at boot. We also should
> store it in a model name global variable somewhere, so we can later use it
> in place of the OFW searches we do everywhere.

Yes, this is exactly what I already did (check my patches).


-- 
    _  Frank Wille (frank@phoenix.owl.de)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer