svn commit: r238339 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Tue Jul 10 06:11:40 UTC 2012
Author: adrian
Date: Tue Jul 10 06:11:39 2012
New Revision: 238339
URL: http://svn.freebsd.org/changeset/base/238339
Log:
Migrate the ATH_KTR_* fields out to if_ath_debug.h .
Modified:
head/sys/dev/ath/if_ath.c
head/sys/dev/ath/if_ath_debug.h
head/sys/dev/ath/if_ath_rx.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Tue Jul 10 06:10:49 2012 (r238338)
+++ head/sys/dev/ath/if_ath.c Tue Jul 10 06:11:39 2012 (r238339)
@@ -116,9 +116,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ath/ath_tx99/ath_tx99.h>
#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
Modified: head/sys/dev/ath/if_ath_debug.h
==============================================================================
--- head/sys/dev/ath/if_ath_debug.h Tue Jul 10 06:10:49 2012 (r238338)
+++ head/sys/dev/ath/if_ath_debug.h Tue Jul 10 06:11:39 2012 (r238339)
@@ -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) \
Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c Tue Jul 10 06:10:49 2012 (r238338)
+++ head/sys/dev/ath/if_ath_rx.c Tue Jul 10 06:11:39 2012 (r238339)
@@ -115,9 +115,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ath/ath_tx99/ath_tx99.h>
#endif
-#define ATH_KTR_INTR KTR_SPARE4
-#define ATH_KTR_ERR KTR_SPARE3
-
/*
* Calculate the receive filter according to the
* operating mode and state:
More information about the svn-src-head
mailing list