per-device sysctls

M. Warner Losh imp at bsdimp.com
Thu Feb 26 10:23:12 PST 2004


In message: <xzpk729lnq7.fsf at dwp.des.no>
            des at des.no (Dag-Erling Smørgrav) writes:
: @@ -381,6 +388,8 @@
:  	struct dev_event_info *n1 = NULL;
:  	struct proc *p;
:  
: +	if (*data != '?')
: +		printf("devctl: %s", data);

This is bogus.

Also, there's no provision for devices that are in the tree, but have
no drivers attached.  These devices also can consume resources and are
interested from that point of view.

Warner


More information about the freebsd-arch mailing list