per-device sysctls
M. Warner Losh
imp at bsdimp.com
Thu Feb 26 10:35:26 PST 2004
In message: <xzp7jy9lmnf.fsf at dwp.des.no>
des at des.no (Dag-Erling Smørgrav) writes:
: "M. Warner Losh" <imp at bsdimp.com> writes:
: > How is this different than the sysctl stuff that already exsists for
: > this and is accessed by devinfo?
:
: 1) it is immensely easier to access
From whose point of view. devinfo is easier to type than sysctl dev
by one character :-). However,
: 2) it gives drivers a well-defined place to put their per-device
: sysctl variables - devinfo doesn't address that issue at all
That is a good reason to transitioning to this, so long as we can come
up with a good way to represent detached nodes. This also gives us a
good place to hang other actions we may want to send to device drivers
like power down, etc.
Warner
More information about the freebsd-arch
mailing list