Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 20:09:15 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Robert Watson <rwatson@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: per-device sysctls
Message-ID:  <xzphdxdk690.fsf@dwp.des.no>
In-Reply-To: <Pine.NEB.3.96L.1040226135237.79901X-100000@fledge.watson.org> (Robert Watson's message of "Thu, 26 Feb 2004 13:57:38 -0500 (EST)")
References:  <Pine.NEB.3.96L.1040226135237.79901X-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson <rwatson@freebsd.org> writes:
> Having a unified and managed namespace for device sysctls sounds like a
> generally good idea to me, as more and more devices require some of
> another tweaking.  Have you had any thoughts on how to name sysctls and
> kernel environment variables on a per-driver basis, rather than a
> per-device basis?  I.e., fxp and some other device drivers have
> configuration settings that affect all instances of devices, rather than
> specific instances.

It should be easy to add a per-devclass_t or per-driver_t sysctl
context and tree.  These things are disgustingly easy to create; the
only hard part is figuring out when and where to create them.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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