Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2011 03:09:21 +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: r219770 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201103190309.p2J39Lh4088317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Mar 19 03:09:21 2011
New Revision: 219770
URL: http://svn.freebsd.org/changeset/base/219770

Log:
  Use the HAL method rather than directly calling ar5212ResetTxQueue().
  
  Since ath9k does some slightly different bit fiddling when setting up
  the TX queues, it may that the TX queue setup/reset functions will need
  overriding later on.

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c	Sat Mar 19 01:41:58 2011	(r219769)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c	Sat Mar 19 03:09:21 2011	(r219770)
@@ -285,7 +285,7 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMO
 
 	ahp->ah_intrTxqs = 0;
 	for (i = 0; i < AH_PRIVATE(ah)->ah_caps.halTotalQueues; i++)
-		ar5212ResetTxQueue(ah, i);
+		ah->ah_resetTxQueue(ah, i);
 
 	ar5416InitIMR(ah, opmode);
 	ar5212SetCoverageClass(ah, AH_PRIVATE(ah)->ah_coverageClass, 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103190309.p2J39Lh4088317>