Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 00:01:42 +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: r243842 - head/sys/dev/ath/ath_hal/ar9002
Message-ID:  <201212040001.qB401gor090605@svn.freebsd.org>

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



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