svn commit: r243842 - head/sys/dev/ath/ath_hal/ar9002

Adrian Chadd adrian at FreeBSD.org
Tue Dec 4 00:01:42 UTC 2012


Author: adrian
Date: Tue Dec  4 00:01:42 2012
New Revision: 243842
URL: http://svnweb.freebsd.org/changeset/base/243842

Log:
  Override the BT coex parameter function for the AR9285.

Modified:
  head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c

Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Tue Dec  4 00:01:24 2012	(r243841)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c	Tue Dec  4 00:01:42 2012	(r243842)
@@ -148,15 +148,16 @@ ar9285Attach(uint16_t devid, HAL_SOFTC s
 		ah->ah_eepromdata = eepromdata;
 	}
 
-	/* XXX override with 9285 specific state */
-	/* override 5416 methods for our needs */
+	/* override with 9285 specific state */
 	AH5416(ah)->ah_initPLL = ar9280InitPLL;
+	AH5416(ah)->ah_btCoexSetDiversity = ar5416BTCoexAntennaDiversity;
 
 	ah->ah_setAntennaSwitch		= ar9285SetAntennaSwitch;
 	ah->ah_configPCIE		= ar9285ConfigPCIE;
 	ah->ah_disablePCIE		= ar9285DisablePCIE;
 	ah->ah_setTxPower		= ar9285SetTransmitPower;
 	ah->ah_setBoardValues		= ar9285SetBoardValues;
+	ah->ah_btcoexSetParameter	= ar9285BTCoexSetParameter;
 
 	AH5416(ah)->ah_cal.iqCalData.calData = &ar9280_iq_cal;
 	AH5416(ah)->ah_cal.adcGainCalData.calData = &ar9280_adc_gain_cal;


More information about the svn-src-all mailing list