Date: Mon, 15 Feb 2010 15:17:43 -0800 From: Sam Leffler <sam@errno.com> To: Rui Paulo <rpaulo@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r203933 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <4B79D617.2010009@errno.com> In-Reply-To: <201002151847.o1FIlg38083805@svn.freebsd.org> References: <201002151847.o1FIlg38083805@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 */ > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B79D617.2010009>