1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-23 16:01:42 +00:00

Now that the register definitions are in -HEAD, enable this.

This commit is contained in:
Adrian Chadd 2013-04-15 17:59:06 +00:00
parent a04110a3b6
commit 978c5ce568
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249517

View File

@ -269,14 +269,14 @@ ar5416BTCoexEnable(struct ath_hal *ah)
}
OS_REG_WRITE(ah, AR_BT_COEX_MODE2, ahp->ah_btCoexMode2);
#if 0
/* Added Select GPIO5~8 instaed SPI */
if (AR_SREV_9271(ah)) {
val = OS_REG_READ(ah, AR9271_CLOCK_CONTROL);
val &= 0xFFFFFEFF;
OS_REG_WRITE(ah, AR9271_CLOCK_CONTROL, val);
}
#endif
/* Added Select GPIO5~8 instaed SPI */
if (AR_SREV_9271(ah)) {
uint32_t val;
val = OS_REG_READ(ah, AR9271_CLOCK_CONTROL);
val &= 0xFFFFFEFF;
OS_REG_WRITE(ah, AR9271_CLOCK_CONTROL, val);
}
if (ahp->ah_btCoexFlag & HAL_BT_COEX_FLAG_LOW_ACK_PWR)
OS_REG_WRITE(ah, AR_TPC, HAL_BT_COEX_LOW_ACK_POWER);