PERFORCE change 44885 for review
Sam Leffler
sam at FreeBSD.org
Tue Jan 6 14:51:44 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=44885
Change 44885 by sam at 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))
More information about the p4-projects
mailing list