Subject: Re: testing presence of a device (was sun-lamp CVS commits)
To: None <current-users@NetBSD.ORG>
From: None <is@Beverly.Rhein.DE>
Date: 10/06/1995 23:17:09
Chris G Demetriou (Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU) wrote:
: note that you also need some common name like "index", to tell
: you what's available at that level. e.g. (on an AlphaStation 200):
: variable return
: -------- ------
: dev.index "mainbus0"
: dev.mainbus0.index "cpu0 apecs0"
: "ppb0 de0 ncr0 sio0 tga0"
: "media macaddr"
: [ ... ]
: and probably could even have machine-independent code to do all of the
: hierarchy handling (based on config parent/child relationships).
: alternately, one could have devices/busses that support the interface
: attach themselves, and present a flat namespace -- that could be
: easier, in some ways.
Hm... why not write a filesystem to do the interface to outside the kernel?