Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



On 18-Dec-99 Perry E. Metzger wrote:
> Couldn't this have been done with actual sysctl and a machine
> dependent MIB?
> 
> Just asking...

Yeah it could have..  the reasons I didn't:

Would have to burn about 20 mibs

I would have to keep the state of all these little flags in the driver.. which
to be quite honest about, the driver couldn't care what these things are.

Each mib would have to have an associated function tied to it in the kernel to
do the exact same thing the user code does.  I'd rather bloat userland.

---
Tim Rightnour <root%garbled.net@localhost>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
NetBSD Mailing lists on the web: http://mail-index.netbsd.org/



Home | Main Index | Thread Index | Old Index