summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-01-07 19:05:35 +0000
committersam <sam@FreeBSD.org>2004-01-07 19:05:35 +0000
commit3c957beae789a6f31b7e7968012d392ad6bbe342 (patch)
treea829d2d5b346cf8098195d2c61fd04d7949a25e3 /sys/dev/ath
parente8f2adc9cfe2a3624bd8404dbfb1282b4ced623a (diff)
downloadFreeBSD-src-3c957beae789a6f31b7e7968012d392ad6bbe342.zip
FreeBSD-src-3c957beae789a6f31b7e7968012d392ad6bbe342.tar.gz
make hw.ath.debug a tunable
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 034e302..3e4a399 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -162,6 +162,7 @@ SYSCTL_INT(_hw_ath, OID_AUTO, regdomain, CTLFLAG_RD, &ath_regdomain,
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))
OpenPOWER on IntegriCloud