diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 55c880f64986..c60473a8e673 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -116,9 +116,6 @@ __FBSDID("$FreeBSD$"); #include #endif -#define ATH_KTR_INTR KTR_SPARE4 -#define ATH_KTR_ERR KTR_SPARE3 - /* * ATH_BCBUF determines the number of vap's that can transmit * beacons and also (currently) the number of vap's that can diff --git a/sys/dev/ath/if_ath_debug.h b/sys/dev/ath/if_ath_debug.h index 2a123e7585bf..9ab32f6e09b3 100644 --- a/sys/dev/ath/if_ath_debug.h +++ b/sys/dev/ath/if_ath_debug.h @@ -69,6 +69,9 @@ enum { ATH_DEBUG_ANY = 0xffffffffffffffffULL }; +#define ATH_KTR_INTR KTR_SPARE4 +#define ATH_KTR_ERR KTR_SPARE3 + extern uint64_t ath_debug; #define IFF_DUMPPKTS(sc, m) \ diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c index eb626a886e4a..eba6ba539608 100644 --- a/sys/dev/ath/if_ath_rx.c +++ b/sys/dev/ath/if_ath_rx.c @@ -115,9 +115,6 @@ __FBSDID("$FreeBSD$"); #include #endif -#define ATH_KTR_INTR KTR_SPARE4 -#define ATH_KTR_ERR KTR_SPARE3 - /* * Calculate the receive filter according to the * operating mode and state: