Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2017 09:21:38 +0000 (UTC)
From:      Wojciech Macek <wma@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r319116 - head/sys/dev/ath/ath_hal
Message-ID:  <201705290921.v4T9LcVj005828@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wma
Date: Mon May 29 09:21:38 2017
New Revision: 319116
URL: https://svnweb.freebsd.org/changeset/base/319116

Log:
  Increase timeout in Atheros HAL
  
  It turned out, that some models of the Atheros PCIe
  adapters (e.g. AR983x family) may fail to attach
  due to insufficient timeout value.
  
  Submitted by:   Bartosz Szczepanek <bsz@semihalf.com>
  Obtained from:  Semihalf
  Sponsored by:   Stormshield
  Reviewed by:    adrian
  Differential revision: https://reviews.freebsd.org/D10903

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 May 29 09:20:20 2017	(r319115)
+++ head/sys/dev/ath/ath_hal/ah.c	Mon May 29 09:21:38 2017	(r319116)
@@ -302,7 +302,7 @@ ath_hal_rf_name(struct ath_hal *ah)
 HAL_BOOL
 ath_hal_wait(struct ath_hal *ah, u_int reg, uint32_t mask, uint32_t val)
 {
-#define	AH_TIMEOUT	1000
+#define	AH_TIMEOUT	5000
 	return ath_hal_waitfor(ah, reg, mask, val, AH_TIMEOUT);
 #undef AH_TIMEOUT
 }



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