svn commit: r219770 - head/sys/dev/ath/ath_hal/ar5416
Adrian Chadd
adrian at FreeBSD.org
Sat Mar 19 03:09:22 UTC 2011
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);
More information about the svn-src-all
mailing list