per-device sysctls
Dag-ErlingSmørgrav
des at des.no
Thu Feb 26 11:09:27 PST 2004
Robert Watson <rwatson at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-arch
mailing list