Date: Fri, 16 Mar 2012 23:12:40 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r233051 - head/sys/dev/ath Message-ID: <201203162312.q2GNCea7039201@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203162312.q2GNCea7039201>