Re: Verbose babble in if_fddisubr.c

[ Available lists | Index of freebsd-hackers | Month of Oct 1996 | Week of 30 Oct 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Stefan Esser <se@zpr.uni-koeln.de>
Date
30 Oct 1996 08:50:28
Subject
Re: Verbose babble in if_fddisubr.c
Message-ID
199610301649.RAA06483@x14.mi.uni-koeln.de

References to

[ Hide this part ]
J Wunsch writes:
> Hi all,
>
> i've just got a call by a customer who's using a DEC DEFPA FDDI card
> now. She told me that everything works fine (once i've pointed her to
> the `pseudo-device fddi') but has been a little scared by some verbose
> babble caused by the driver.
...
> I think both printf's are merely nice debugging aids to see all the
> garbage that flies along your wire :), but nothing to be dropped onto
> a regular user. I therefore suggest hiding them inside either some
> #ifdef, or at least behind `bootverbose'.

How about adding a "sysctl" variable for that purpose ?

I'd be opposed to make "bootverbose" take over the meaning
"produce more run-time debug messages", since this might
affect its current use. But it might be a good idea to make
bootverbose set the default for the "verbose run-time msgs"
sysctl variable (and it can be forced to on or off from some
rc script, if preferred) ...

Regards, STefan


Elapsed time: 0.126 seconds