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

Sam Leffler sam at errno.com
Mon Feb 15 23:17:45 UTC 2010


Rui Paulo wrote:
> Author: rpaulo
> Date: Mon Feb 15 18:47:42 2010
> New Revision: 203933
> URL: http://svn.freebsd.org/changeset/base/203933
> 
> Log:
>   Fix KITE version check.
>   
>   Obtained from:	//depot/user/rpaulo/80211n/...
> 
> Modified:
>   head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
> 
> Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
> ==============================================================================
> --- head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Mon Feb 15 18:46:02 2010	(r203932)
> +++ head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Mon Feb 15 18:47:42 2010	(r203933)
> @@ -613,12 +613,12 @@
>  	(AR_SREV_KITE(ah) && \
>  	 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_KITE_11)
>  #define	AR_SREV_KITE_11_OR_LATER(_ah) \
> -	(AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_KITE || \
> +	(AR_SREV_KITE_11(_ah) || \
>  	 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KITE_11)
>  #define	AR_SREV_KITE_12(_ah) \
>  	(AR_SREV_KITE(ah) && \
> -	 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_KITE_12)
> +	 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KITE_12)

Should this be named AR_SREV_KITE_12_OR_LATER?  or is the change wrong?

>  #define	AR_SREV_KITE_12_OR_LATER(_ah) \
> -	(AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_KITE || \
> +	(AR_SREV_KITE_12(_ah) || \
>  	 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KITE_12)
>  #endif /* _DEV_ATH_AR5416REG_H */
> 
> 



More information about the svn-src-head mailing list