From owner-svn-src-all@FreeBSD.ORG Thu Apr 11 22:02:35 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C4296E61; Thu, 11 Apr 2013 22:02:35 +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 B6E101E0B; Thu, 11 Apr 2013 22:02:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3BM2ZLO032512; Thu, 11 Apr 2013 22:02:35 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3BM2ZX7032511; Thu, 11 Apr 2013 22:02:35 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201304112202.r3BM2ZX7032511@svn.freebsd.org> From: Adrian Chadd Date: Thu, 11 Apr 2013 22:02:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249386 - 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: Thu, 11 Apr 2013 22:02:35 -0000 Author: adrian Date: Thu Apr 11 22:02:35 2013 New Revision: 249386 URL: http://svnweb.freebsd.org/changeset/base/249386 Log: Always enable TXOK interrupts when setting up TX queues for EDMA NICs. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Thu Apr 11 21:36:01 2013 (r249385) +++ head/sys/dev/ath/if_ath.c Thu Apr 11 22:02:35 2013 (r249386) @@ -3468,7 +3468,13 @@ ath_txq_setup(struct ath_softc *sc, int * up in which case the top half of the kernel may backup * due to a lack of tx descriptors. */ - qi.tqi_qflags = HAL_TXQ_TXEOLINT_ENABLE | HAL_TXQ_TXDESCINT_ENABLE; + if (sc->sc_isedma) + qi.tqi_qflags = HAL_TXQ_TXEOLINT_ENABLE | + HAL_TXQ_TXOKINT_ENABLE; + else + qi.tqi_qflags = HAL_TXQ_TXEOLINT_ENABLE | + HAL_TXQ_TXDESCINT_ENABLE; + qnum = ath_hal_setuptxqueue(ah, qtype, &qi); if (qnum == -1) { /*