summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-02-24 01:16:40 +0000
committersam <sam@FreeBSD.org>2009-02-24 01:16:40 +0000
commitfb76cfd34b3ad91438117b0d283ba16c28f08efb (patch)
tree6d5fc327e27928c5ee41516f2782e3552a190a28 /sys/dev/ath
parentdce1c351b5070218f56c4b7db2fd60bb52577164 (diff)
downloadFreeBSD-src-fb76cfd34b3ad91438117b0d283ba16c28f08efb.zip
FreeBSD-src-fb76cfd34b3ad91438117b0d283ba16c28f08efb.tar.gz
move attach debug msg to the rf backend
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar2133.c2
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_attach.c2
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar9160_attach.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar2133.c b/sys/dev/ath/ath_hal/ar5416/ar2133.c
index eb175a1..4453178 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar2133.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar2133.c
@@ -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)
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c b/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
index 0eb9e22..8328a4e 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
@@ -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",
diff --git a/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c b/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
index 4e4d679..e476189 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
@@ -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",
OpenPOWER on IntegriCloud