Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

printing and remembering platform name



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@localhost)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer




Home | Main Index | Thread Index | Old Index