Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 00:11:04 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r219851 - head/sys/dev/ath/ath_hal
Message-ID:  <201103220011.p2M0B4sW029529@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue Mar 22 00:11:04 2011
New Revision: 219851
URL: http://svn.freebsd.org/changeset/base/219851

Log:
  Remove the merlin delay workaround here, it isn't appropriate for
  the analog bank writes as Merlin never does them.

Modified:
  head/sys/dev/ath/ath_hal/ah.c

Modified: head/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.c	Mon Mar 21 23:59:20 2011	(r219850)
+++ head/sys/dev/ath/ath_hal/ah.c	Tue Mar 22 00:11:04 2011	(r219851)
@@ -976,12 +976,6 @@ ath_hal_ini_bank_write(struct ath_hal *a
 
 	for (r = 0; r < ia->rows; r++) {
 		OS_REG_WRITE(ah, HAL_INI_VAL(ia, r, 0), data[r]);
-
-		/* Analog shift register delay seems needed for Merlin - PR kern/154220 */
-		/* XXX verify whether any analog radio bank writes will hit up this */
-		/* XXX since this is a merlin work-around; and merlin doesn't use radio banks */
-		if (HAL_INI_VAL(ia, r, 0) >= 0x7800 && HAL_INI_VAL(ia, r, 0) < 0x78a0)
-			OS_DELAY(100);
 		DMA_YIELD(regWr);
 	}
 	return regWr;



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