svn commit: r227405 - head/sys/dev/ath/ath_hal/ar5416
Adrian Chadd
adrian at FreeBSD.org
Wed Nov 9 19:09:04 UTC 2011
Author: adrian
Date: Wed Nov 9 19:09:03 2011
New Revision: 227405
URL: http://svn.freebsd.org/changeset/base/227405
Log:
Even though the HAL doesn't currently support Kiwi 1.0/1.1,
be "more correct" about the Kiwi setup.
Obtained from: Atheros
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 Wed Nov 9 19:03:26 2011 (r227404)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Wed Nov 9 19:09:03 2011 (r227405)
@@ -2629,7 +2629,7 @@ ar5416OverrideIni(struct ath_hal *ah, co
if (!AR_SREV_9271(ah))
val &= ~AR_PCU_MISC_MODE2_HWWAR1;
- if (AR_SREV_KIWI_11_OR_LATER(ah))
+ if (AR_SREV_KIWI_10_OR_LATER(ah))
val = val & (~AR_PCU_MISC_MODE2_HWWAR2);
OS_REG_WRITE(ah, AR_PCU_MISC_MODE2, val);
More information about the svn-src-all
mailing list