Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 11:22:31 -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.112231.68042660.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:
: @@ -381,6 +388,8 @@
:  	struct dev_event_info *n1 =3D NULL;
:  	struct proc *p;
:  =

: +	if (*data !=3D '?')
: +		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



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