per-device sysctls

M. Warner Losh imp at bsdimp.com
Thu Feb 26 11:59:24 PST 2004


In message: <xzp8yipk4gh.fsf at dwp.des.no>
            des at des.no (Dag-Erling Smørgrav) writes:
: "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
: > Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= writes:
: > > "M. Warner Losh" <imp at bsdimp.com> writes:
: > > > That is a good reason to transitioning to this, so long as we can come
: > > > up with a good way to represent detached nodes.
: > > As long as they have a device_t, it should be a piece of cake.
: > Having a device_t is a property of having hardware, not of being a
: > device driver.
: 
: I believe that by "detached nodes", Warner means hardware that does
: not have a driver.

They have a device_t, however.  All nodes in the tree have a device_t
(kind of by definition). Not all nodes in the tree have a devclass
associated with their device_t (eg, not all devices are attached).
this is why you'll see lots of 'unknown' nodes in the devinfo output.

Warner


More information about the freebsd-arch mailing list