hw.c (d2182b69dcb6a68b1ef6070b2efd094e13dea3f1) | hw.c (8a30930563521c9dba73c93b5631be1d0993f78f) |
---|---|
1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 1877 unchanged lines hidden (view full) --- 1886#ifdef __BIG_ENDIAN 1887 else if (AR_SREV_9330(ah) || AR_SREV_9340(ah)) 1888 REG_RMW(ah, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB, 0); 1889 else 1890 REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 1891#endif 1892 } 1893 | 1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 1877 unchanged lines hidden (view full) --- 1886#ifdef __BIG_ENDIAN 1887 else if (AR_SREV_9330(ah) || AR_SREV_9340(ah)) 1888 REG_RMW(ah, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB, 0); 1889 else 1890 REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); 1891#endif 1892 } 1893 |
1894 if (ah->btcoex_hw.enabled) | 1894 if (ah->btcoex_hw.enabled && 1895 ath9k_hw_get_btcoex_scheme(ah) != ATH_BTCOEX_CFG_NONE) |
1895 ath9k_hw_btcoex_enable(ah); 1896 1897 if (mci && mci_hw->ready) { 1898 /* 1899 * check BT state again to make 1900 * sure it's not changed. 1901 */ 1902 --- 1272 unchanged lines hidden --- | 1896 ath9k_hw_btcoex_enable(ah); 1897 1898 if (mci && mci_hw->ready) { 1899 /* 1900 * check BT state again to make 1901 * sure it's not changed. 1902 */ 1903 --- 1272 unchanged lines hidden --- |