Date: Thu, 26 Feb 2004 11:20:45 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: des@des.no Cc: arch@freebsd.org Subject: Re: per-device sysctls Message-ID: <20040226.112045.82374099.imp@bsdimp.com> In-Reply-To: <xzpk729lnq7.fsf@dwp.des.no> References: <xzpk729lnq7.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <xzpk729lnq7.fsf@dwp.des.no> des@des.no (Dag-Erling Sm=F8rgrav) 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 an= d : is not yet implemented. How is this different than the sysctl stuff that already exsists for this and is accessed by devinfo? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226.112045.82374099.imp>