Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2010 20:59:11 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209541 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201006262059.o5QKxBNa062748@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sat Jun 26 20:59:10 2010
New Revision: 209541
URL: http://svn.freebsd.org/changeset/base/209541

Log:
  Fix the AR_SREV_MERLIN_20_OR_LATER() check.
  
  Submitted by:	Alex Kozlov <spam at rm-rf.kiev.ua>
  MFC after:	2 weeks

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	Sat Jun 26 19:26:20 2010	(r209540)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Sat Jun 26 20:59:10 2010	(r209541)
@@ -612,7 +612,7 @@
 	 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)
+	 AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_MERLIN_20)
 
 #define	AR_SREV_KITE(_ah) \
 	(AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_KITE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006262059.o5QKxBNa062748>