From owner-p4-projects@FreeBSD.ORG Tue Jan 6 14:51:44 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 68E4416A4D1; Tue, 6 Jan 2004 14:51:44 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EAB916A4CE for ; Tue, 6 Jan 2004 14:51:44 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D60C43D39 for ; Tue, 6 Jan 2004 14:51:43 -0800 (PST) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i06Mpg0B029067 for ; Tue, 6 Jan 2004 14:51:42 -0800 (PST) (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i06Mpg4K029058 for perforce@freebsd.org; Tue, 6 Jan 2004 14:51:42 -0800 (PST) (envelope-from sam@freebsd.org) Date: Tue, 6 Jan 2004 14:51:42 -0800 (PST) Message-Id: <200401062251.i06Mpg4K029058@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 44885 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 22:51:44 -0000 http://perforce.freebsd.org/chv.cgi?CH=44885 Change 44885 by sam@sam_ebb on 2004/01/06 14:50:46 make various mib vars also tunables Affected files ... .. //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#7 edit Differences ... ==== //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#7 (text+ko) ==== @@ -152,12 +152,15 @@ static int ath_outdoor = AH_TRUE; /* outdoor operation */ SYSCTL_INT(_hw_ath, OID_AUTO, outdoor, CTLFLAG_RD, &ath_outdoor, 0, "enable/disable outdoor operation"); +TUNABLE_INT("hw.ath.outdoor", &ath_outdoor); static int ath_xchanmode = AH_TRUE; /* extended channels */ SYSCTL_INT(_hw_ath, OID_AUTO, xchans, CTLFLAG_RD, &ath_xchanmode, 0, "enable/disable extended channels"); +TUNABLE_INT("hw.ath.xchans", &ath_xchanmode); static int ath_countrycode = CTRY_DEFAULT; /* country code */ SYSCTL_INT(_hw_ath, OID_AUTO, countrycode, CTLFLAG_RD, &ath_countrycode, 0, "country code"); +TUNABLE_INT("hw.ath.countrycode", &ath_countrycode); static int ath_regdomain = 0; /* regulatory domain */ SYSCTL_INT(_hw_ath, OID_AUTO, regdomain, CTLFLAG_RD, &ath_regdomain, 0, "regulatory domain"); @@ -166,6 +169,7 @@ int ath_debug = 0; SYSCTL_INT(_hw_ath, OID_AUTO, debug, CTLFLAG_RW, &ath_debug, 0, "control debugging printfs"); +TUNABLE_INT("hw.ath.debug", &ath_debug); #define IFF_DUMPPKTS(_ifp, _m) \ ((ath_debug & _m) || \ ((_ifp)->if_flags & (IFF_DEBUG|IFF_LINK2)) == (IFF_DEBUG|IFF_LINK2))