Subject: Re: device driver sysctls
To: None <tech-kern@NetBSD.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 03/01/2004 23:01:48
On Mon, Mar 01, 2004 at 12:46:07PM -0600, David Young wrote:
>On Mon, Mar 01, 2004 at 10:11:53PM +1100, Daniel Carosone wrote:
>> On Sun, Feb 29, 2004 at 08:08:04PM -0600, David Young wrote:
>> > I've added sysctls for ath(4) in ath.* (that's right, top-level). I
>> > don't intend for this to be permanent. Where do the sysctls belong?
>> > I believe it was Dan Carosone who suggested,
>> > 
>> > 	driver.ath.<global variable>
>> > 	driver.ath.0.<instance variable>
>> 
>> driver.ath.0 or dev.ath0 seems fine
>> 
>> btw, these sysctl's appear, with values in them, in a running GENERIC
>> even though i have no ath(4) attached.  An oversight?
>
>I feel that ath.debug and ath.hal.debug (shows w/ options AH_DEBUG)
>belong. I think that ath.outdoor influences device attachment, so it
>should stay, also.

well...perhaps, but should they show up even if the device is not
attached?

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."