move attach debug msg to the rf backend
This commit is contained in:
parent
dce1c351b5
commit
fb76cfd34b
@ -415,6 +415,8 @@ ar2133RfAttach(struct ath_hal *ah, HAL_STATUS *status)
|
||||
struct ar2133State *priv;
|
||||
uint32_t *bankData;
|
||||
|
||||
HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: attach AR2133 radio\n", __func__);
|
||||
|
||||
HALASSERT(ahp->ah_rfHal == AH_NULL);
|
||||
priv = ath_hal_malloc(sizeof(struct ar2133State)
|
||||
+ AH5416(ah)->ah_ini_bank0.rows * sizeof(uint32_t)
|
||||
|
@ -336,8 +336,6 @@ ar5416Attach(uint16_t devid, HAL_SOFTC sc,
|
||||
if (ahp->ah_miscMode != 0)
|
||||
OS_REG_WRITE(ah, AR_MISC_MODE, ahp->ah_miscMode);
|
||||
|
||||
HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: Attaching AR2133 radio\n",
|
||||
__func__);
|
||||
rfStatus = ar2133RfAttach(ah, &ecode);
|
||||
if (!rfStatus) {
|
||||
HALDEBUG(ah, HAL_DEBUG_ANY, "%s: RF setup failed, status %u\n",
|
||||
|
@ -215,8 +215,6 @@ ar9160Attach(uint16_t devid, HAL_SOFTC sc,
|
||||
goto bad;
|
||||
#endif
|
||||
}
|
||||
HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: Attaching AR2133 radio\n",
|
||||
__func__);
|
||||
rfStatus = ar2133RfAttach(ah, &ecode);
|
||||
if (!rfStatus) {
|
||||
HALDEBUG(ah, HAL_DEBUG_ANY, "%s: RF setup failed, status %u\n",
|
||||
|
Loading…
Reference in New Issue
Block a user