Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 12:59:04 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        phk@phk.freebsd.dk
Subject:   Re: per-device sysctls
Message-ID:  <20040226.125904.08946359.imp@bsdimp.com>
In-Reply-To: <xzp8yipk4gh.fsf@dwp.des.no>
References:  <2324.1077824628@critter.freebsd.dk> <xzp8yipk4gh.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <xzp8yipk4gh.fsf@dwp.des.no>
            des@des.no (Dag-Erling Sm=F8rgrav) writes:
: "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
: > Dag-Erling =3D?iso-8859-1?q?Sm=3DF8rgrav?=3D writes:
: > > "M. Warner Losh" <imp@bsdimp.com> writes:
: > > > That is a good reason to transitioning to this, so long as we c=
an 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226.125904.08946359.imp>