From owner-svn-src-all@FreeBSD.ORG Fri Mar 16 23:12:40 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F00541065670; Fri, 16 Mar 2012 23:12:40 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DF85B8FC1C; Fri, 16 Mar 2012 23:12:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2GNCeTt039203; Fri, 16 Mar 2012 23:12:40 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2GNCea7039201; Fri, 16 Mar 2012 23:12:40 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201203162312.q2GNCea7039201@svn.freebsd.org> From: Adrian Chadd Date: Fri, 16 Mar 2012 23:12:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233051 - head/sys/dev/ath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 23:12:41 -0000 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