svn commit: r217925 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at freebsd.org
Thu Jan 27 09:47:12 UTC 2011


Somehow subversion got confused; this is a very old commit message.

It should read "convert ANI debugging to use HAL_DEBUG_ANI rather than
HAL_DEBUG_ANY".

Thanks,


Adrian

On 27 January 2011 16:42, Adrian Chadd <adrian at freebsd.org> wrote:
> Author: adrian
> Date: Thu Jan 27 08:42:50 2011
> New Revision: 217925
> URL: http://svn.freebsd.org/changeset/base/217925
>
> Log:
>  Add missing getCapability call for AR5416.
>
> Modified:
>  head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c
>
> Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c
> ==============================================================================
> --- head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c        Thu Jan 27 08:02:26 2011        (r217924)
> +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c        Thu Jan 27 08:42:50 2011        (r217925)
> @@ -183,7 +183,7 @@ ar5416AniControl(struct ath_hal *ah, HAL
>
>                HALDEBUG(ah, HAL_DEBUG_ANI, "%s: HAL_ANI_NOISE_IMMUNITY_LEVEL: set level = %d\n", __func__, level);
>                if (level >= params->maxNoiseImmunityLevel) {
> -                       HALDEBUG(ah, HAL_DEBUG_ANY,
> +                       HALDEBUG(ah, HAL_DEBUG_ANI,
>                            "%s: immunity level out of range (%u > %u)\n",
>                            __func__, level, params->maxNoiseImmunityLevel);
>                        return AH_FALSE;
> @@ -270,7 +270,7 @@ ar5416AniControl(struct ath_hal *ah, HAL
>
>                HALDEBUG(ah, HAL_DEBUG_ANI, "%s: HAL_ANI_FIRSTEP_LEVEL: level = %d\n", __func__, level);
>                if (level >= params->maxFirstepLevel) {
> -                       HALDEBUG(ah, HAL_DEBUG_ANY,
> +                       HALDEBUG(ah, HAL_DEBUG_ANI,
>                            "%s: firstep level out of range (%u > %u)\n",
>                            __func__, level, params->maxFirstepLevel);
>                        return AH_FALSE;
> @@ -289,7 +289,7 @@ ar5416AniControl(struct ath_hal *ah, HAL
>
>                HALDEBUG(ah, HAL_DEBUG_ANI, "%s: HAL_ANI_SPUR_IMMUNITY_LEVEL: level = %d\n", __func__, level);
>                if (level >= params->maxSpurImmunityLevel) {
> -                       HALDEBUG(ah, HAL_DEBUG_ANY,
> +                       HALDEBUG(ah, HAL_DEBUG_ANI,
>                            "%s: spur immunity level out of range (%u > %u)\n",
>                            __func__, level, params->maxSpurImmunityLevel);
>                        return AH_FALSE;
> @@ -331,7 +331,7 @@ ar5416AniControl(struct ath_hal *ah, HAL
>                break;
>  #endif /* AH_PRIVATE_DIAG */
>        default:
> -               HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid cmd %u\n",
> +               HALDEBUG(ah, HAL_DEBUG_ANI, "%s: invalid cmd %u\n",
>                    __func__, cmd);
>                return AH_FALSE;
>        }
>


More information about the svn-src-all mailing list