summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-07-04 03:15:42 +0000
committeradrian <adrian@FreeBSD.org>2015-07-04 03:15:42 +0000
commit1dd9989dfb6049d2b6c410289dc24730aadd2a83 (patch)
treea3af17d9d3795b7ee3414eb8ac38d948b8034ed1 /sys/contrib/dev
parent1977c162e96bc6a3b6737293ebd7c4af56e6ea0b (diff)
downloadFreeBSD-src-1dd9989dfb6049d2b6c410289dc24730aadd2a83.zip
FreeBSD-src-1dd9989dfb6049d2b6c410289dc24730aadd2a83.tar.gz
Quieten the scorpion SoC/WMAC reset path. Stuff the non-error stuff
under HALDEBUG().
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r--sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c
index 01845b9..fcfa58e 100644
--- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c
+++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c
@@ -1774,12 +1774,12 @@ ar9300_set_reset(struct ath_hal *ah, int type)
}
data = DDR_REG_READ(ah,DDR_CTL_CONFIG_OFFSET);
- ath_hal_printf(ah, "check DDR Activity - HIGH\n");
+ HALDEBUG(ah, HAL_DEBUG_RESET, "check DDR Activity - HIGH\n");
count = 0;
while (DDR_CTL_CONFIG_CLIENT_ACTIVITY_GET(data)) {
// AVE_DEBUG(0,"DDR Activity - HIGH\n");
- ath_hal_printf(ah, "DDR Activity - HIGH\n");
+ HALDEBUG(ah, HAL_DEBUG_RESET, "DDR Activity - HIGH\n");
count++;
OS_DELAY(10);
data = DDR_REG_READ(ah,DDR_CTL_CONFIG_OFFSET);
@@ -1801,7 +1801,7 @@ ar9300_set_reset(struct ath_hal *ah, int type)
OS_DELAY(10);
OS_REG_WRITE(ah, AR_RTC_RESET, 1);
OS_DELAY(10);
- ath_hal_printf(ah,"%s: Scorpion SoC RTC reset done.\n", __func__);
+ HALDEBUG(ah, HAL_DEBUG_RESET, "%s: Scorpion SoC RTC reset done.\n", __func__);
}
#undef REG_READ
#undef REG_WRITE
OpenPOWER on IntegriCloud