summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-11-13 19:45:13 +0000
committeradrian <adrian@FreeBSD.org>2012-11-13 19:45:13 +0000
commit62f37f0bff4173301534ff0079eb4af360fb589c (patch)
tree171a1a6c13659fe165de1227c477e402ff4e931a
parent8040a16b245a18778ecb8727a29abccbbaf69a6d (diff)
downloadFreeBSD-src-62f37f0bff4173301534ff0079eb4af360fb589c.zip
FreeBSD-src-62f37f0bff4173301534ff0079eb4af360fb589c.tar.gz
Place 'dev.ath.X.debug' back under ATH_DEBUG, rather than ATH_DEBUG_ALQ.
-rw-r--r--sys/dev/ath/if_ath_sysctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c
index 1ab627f..5de29af 100644
--- a/sys/dev/ath/if_ath_sysctl.c
+++ b/sys/dev/ath/if_ath_sysctl.c
@@ -569,10 +569,12 @@ ath_sysctlattach(struct ath_softc *sc)
SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
"regdomain", CTLFLAG_RD, &sc->sc_eerd, 0,
"EEPROM regdomain code");
-#ifdef ATH_DEBUG_ALQ
+#ifdef ATH_DEBUG
SYSCTL_ADD_QUAD(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
"debug", CTLFLAG_RW, &sc->sc_debug,
"control debugging printfs");
+#endif
+#ifdef ATH_DEBUG_ALQ
SYSCTL_ADD_QUAD(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
"ktrdebug", CTLFLAG_RW, &sc->sc_ktrdebug,
"control debugging KTR");
OpenPOWER on IntegriCloud