per-device sysctls

M. Warner Losh imp at bsdimp.com
Thu Feb 26 10:21:28 PST 2004


In message: <xzpk729lnq7.fsf at dwp.des.no>
            des at des.no (Dag-Erling Smørgrav) writes:
: The first of the attached patches creates a sysctl context and node
: for every device in the system named for its nameunit.  Each device's
: sysctl node is a child of the parent device's sysctl node, so the
: resulting sysctl tree resembles the "show devices by attachment" mode
: of Windows's device manager.  Standard entries in each device's tree
: include %class, %desc and %driver (device class, device description
: and driver name).  I also plan to add entries for device IDs, irq /
: drq lines etc., but this will require additional bus-specific code and
: is not yet implemented.

How is this different than the sysctl stuff that already exsists for
this and is accessed by devinfo?

Warner


More information about the freebsd-arch mailing list