Subject: Re: device driver sysctls
To: None <dyoung@pobox.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 03/13/2004 16:16:48
hi,

> > > BTW, hw.ath and hw.ath0 are the FreeBSD style.
> > > 
> > > Dave
> > 
> > why do you need to use sysctl?  isn't ioctl enough?
> > having two similar paths to a device driver seems redundant to me.
> 
> There is no existing ioctl that is suitable, so I will have to add a
> new one.  If I add a new ioctl, then I need to add/modify a utility to
> manipulate the ioctl. sysctl is comparatively simple.
> 
> Dave

if you're going to nuke all ioctls and use sysctls instead,
(ie. mapping all ioctls to a subtree of sysctl)
i agree it might be simple.
however, it isn't the case, right?

YAMAMOTO Takashi