printing and remembering platform name

Frank Wille <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Organization Privates Internet Ostwestfalen/Lippe e.V.
Message-ID <[email protected]>
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 ([email protected])
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.