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

Rui Paulo rpaulo at FreeBSD.org
Tue Feb 16 12:43:55 UTC 2010


Author: rpaulo
Date: Tue Feb 16 12:43:55 2010
New Revision: 203959
URL: http://svn.freebsd.org/changeset/base/203959

Log:
  Fix Kite and Merlin version check.

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	Tue Feb 16 12:29:02 2010	(r203958)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Tue Feb 16 12:43:55 2010	(r203959)
@@ -600,7 +600,7 @@
 	(AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_MERLIN)
 #define	AR_SREV_MERLIN_20(_ah) \
 	(AR_SREV_MERLIN(_ah) && \
-	 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20)
+	 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20)
 #define	AR_SREV_MERLIN_20_OR_LATER(_ah) \
 	(AR_SREV_MERLIN_20(_ah) || \
 	 AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_MERLIN)
@@ -617,7 +617,7 @@
 	 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)
 #define	AR_SREV_KITE_12_OR_LATER(_ah) \
 	(AR_SREV_KITE_12(_ah) || \
 	 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KITE_12)


More information about the svn-src-all mailing list