From owner-freebsd-hackers Wed Oct 30 08:50:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA02121 for hackers-outgoing; Wed, 30 Oct 1996 08:50:28 -0800 (PST) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA02091 for ; Wed, 30 Oct 1996 08:50:20 -0800 (PST) Received: from x14.mi.uni-koeln.de (annexr3-5.slip.Uni-Koeln.DE) by Octopussy.MI.Uni-Koeln.DE with SMTP id AA13410 (5.67b/IDA-1.5 for ); Wed, 30 Oct 1996 17:50:16 +0100 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.2/8.6.9) id RAA06483; Wed, 30 Oct 1996 17:49:30 +0100 (MET) Message-Id: <199610301649.RAA06483@x14.mi.uni-koeln.de> Date: Wed, 30 Oct 1996 17:48:08 +0100 From: se@zpr.uni-koeln.de (Stefan Esser) To: joerg_wunsch@interface-business.de (Joerg Wunsch) Cc: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Subject: Re: Verbose babble in if_fddisubr.c In-Reply-To: <199610301638.RAA06231@ida.interface-business.de>; from J Wunsch on Oct 30, 1996 17:38:32 +0100 References: <199610301638.RAA06231@ida.interface-business.de> X-Mailer: Mutt 0.45 Mime-Version: 1.0 Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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