Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2012 04:40:12 +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: r234269 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201204140440.q3E4eC7R013484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))



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