svn commit: r234269 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Sat Apr 14 04:40:12 UTC 2012


Author: adrian
Date: Sat Apr 14 04:40:11 2012
New Revision: 234269
URL: http://svn.freebsd.org/changeset/base/234269

Log:
  Both linux ath9k and the reference driver initialises the PLL here
  during chip wakeup.
  
  Obtained from:	Linux ath9k, Atheros

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

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_power.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_power.c	Sat Apr 14 02:49:01 2012	(r234268)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_power.c	Sat Apr 14 04:40:11 2012	(r234269)
@@ -50,6 +50,7 @@ ar5416SetPowerModeAwake(struct ath_hal *
 			& AR_RTC_PM_STATUS_M) == AR_RTC_STATUS_SHUTDOWN) {
 			if (!ar5416SetResetReg(ah, HAL_RESET_POWER_ON))
 				goto bad;			
+			AH5416(ah)->ah_initPLL(ah, AH_NULL);
 		}
 
 		if (AR_SREV_HOWL(ah))


More information about the svn-src-head mailing list