Subject: printing and remembering platform name
To: None <port-ofppc@NetBSD.org>
From: Frank Wille <frank@phoenix.owl.de>
List: port-ofppc
Date: 11/16/2007 22:29:00
Seems that we often need to check, which OFW-platform we are running on. How
about determining the name in mainbus_attach(), printing it behind "mainbus0
(root)", and saving the string somewhere. We could also assign IDs to known
platform names, which can be easily checked later.
For Pegasos it would look like that:
mainbus0 (root): bplan,Pegasos2
I have already seen this in other ports, and I like it.
Your opinion?
--
_ Frank Wille (frank@phoenix.owl.de)
_ // http://sun.hasenbraten.de/~frank/
\X/ Phx @ #AmigaGer