From owner-svn-src-all@FreeBSD.ORG Wed Nov 7 16:34:09 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 8507245F; Wed, 7 Nov 2012 16:34:09 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD7B8FC0C; Wed, 7 Nov 2012 16:34:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qA7GY94H064742; Wed, 7 Nov 2012 16:34:09 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qA7GY9cJ064740; Wed, 7 Nov 2012 16:34:09 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201211071634.qA7GY9cJ064740@svn.freebsd.org> From: Adrian Chadd Date: Wed, 7 Nov 2012 16:34:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242698 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 07 Nov 2012 16:34:09 -0000 Author: adrian Date: Wed Nov 7 16:34:09 2012 New Revision: 242698 URL: http://svnweb.freebsd.org/changeset/base/242698 Log: Don't compile in my (not yet committed) ath_alq code unless ATH_DEBUG_ALQ is defined. This will unbreak ATH_DEBUG builds. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Wed Nov 7 15:59:24 2012 (r242697) +++ head/sys/dev/ath/if_ath.c Wed Nov 7 16:34:09 2012 (r242698) @@ -117,7 +117,7 @@ __FBSDID("$FreeBSD$"); #include #endif -#ifdef ATH_DEBUG +#ifdef ATH_DEBUG_ALQ #include #endif @@ -888,7 +888,7 @@ ath_attach(u_int16_t devid, struct ath_s /* * Setup the ALQ logging if required */ -#ifdef ATH_DEBUG +#ifdef ATH_DEBUG_ALQ if_ath_alq_init(&sc->sc_alq, device_get_nameunit(sc->sc_dev)); #endif @@ -952,7 +952,7 @@ ath_detach(struct ath_softc *sc) #endif ath_rate_detach(sc->sc_rc); -#ifdef ATH_DEBUG +#ifdef ATH_DEBUG_ALQ if_ath_alq_tidyup(&sc->sc_alq); #endif