svn commit: r233051 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Fri Mar 16 23:12:41 UTC 2012
Author: adrian
Date: Fri Mar 16 23:12:40 2012
New Revision: 233051
URL: http://svn.freebsd.org/changeset/base/233051
Log:
Add a dependency on ALQ if IEEE80211_ALQ and/or AH_DEBUG_ALQ is included.
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Fri Mar 16 23:08:13 2012 (r233050)
+++ head/sys/dev/ath/if_ath.c Fri Mar 16 23:12:40 2012 (r233051)
@@ -42,6 +42,9 @@ __FBSDID("$FreeBSD$");
/*
* This is needed for register operations which are performed
* by the driver - eg, calls to ath_hal_gettsf32().
+ *
+ * It's also required for any AH_DEBUG checks in here, eg the
+ * module dependencies.
*/
#include "opt_ah.h"
#include "opt_wlan.h"
@@ -6817,3 +6820,6 @@ ath_dfs_tasklet(void *p, int npending)
MODULE_VERSION(if_ath, 1);
MODULE_DEPEND(if_ath, wlan, 1, 1, 1); /* 802.11 media layer */
+#if defined(IEEE80211_ALQ) || defined(AH_DEBUG_ALQ)
+MODULE_DEPEND(if_ath, alq, 1, 1, 1);
+#endif
More information about the svn-src-all
mailing list