From owner-svn-src-head@FreeBSD.ORG Fri Mar 27 05:44:53 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9E7C106566C; Fri, 27 Mar 2009 05:44:53 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C75DD8FC19; Fri, 27 Mar 2009 05:44:53 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2R5irUJ049334; Fri, 27 Mar 2009 05:44:53 GMT (envelope-from jmallett@svn.freebsd.org) Received: (from jmallett@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2R5irsu049333; Fri, 27 Mar 2009 05:44:53 GMT (envelope-from jmallett@svn.freebsd.org) Message-Id: <200903270544.n2R5irsu049333@svn.freebsd.org> From: Juli Mallett Date: Fri, 27 Mar 2009 05:44:53 +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: r190462 - head/sys/dev/wpi X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 05:44:54 -0000 Author: jmallett Date: Fri Mar 27 05:44:53 2009 New Revision: 190462 URL: http://svn.freebsd.org/changeset/base/190462 Log: Put the "%d retries" debug message in the transmit path behind WPI_DEBUG_TX rather than behind a seemingly accidental constant likely left over from one of the related drivers which uses log levels rather than per-facility debugging flags. This should get rid of contextless messages on the console for people who have not set (or cleared the default) debugging flags. Modified: head/sys/dev/wpi/if_wpi.c Modified: head/sys/dev/wpi/if_wpi.c ============================================================================== --- head/sys/dev/wpi/if_wpi.c Fri Mar 27 05:35:12 2009 (r190461) +++ head/sys/dev/wpi/if_wpi.c Fri Mar 27 05:44:53 2009 (r190462) @@ -1587,7 +1587,7 @@ wpi_tx_intr(struct wpi_softc *sc, struct */ wn->amn.amn_txcnt++; if (stat->ntries > 0) { - DPRINTFN(3, ("%d retries\n", stat->ntries)); + DPRINTFN(WPI_DEBUG_TX, ("%d retries\n", stat->ntries)); wn->amn.amn_retrycnt++; }