Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 19:02:36 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228717 - head/sys/dev/msk
Message-ID:  <201112191902.pBJJ2a8R071069@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Dec 19 19:02:36 2011
New Revision: 228717
URL: http://svn.freebsd.org/changeset/base/228717

Log:
  Increase wait time for OP_TCPSTART command processing.  It seems
  100us is not enough to ensure prefetch unit work.

Modified:
  head/sys/dev/msk/if_msk.c

Modified: head/sys/dev/msk/if_msk.c
==============================================================================
--- head/sys/dev/msk/if_msk.c	Mon Dec 19 19:00:34 2011	(r228716)
+++ head/sys/dev/msk/if_msk.c	Mon Dec 19 19:02:36 2011	(r228717)
@@ -648,8 +648,8 @@ msk_rx_fill(struct msk_if_softc *sc_if, 
 	if ((sc_if->msk_flags & MSK_FLAG_DESCV2) == 0 &&
 	    (sc_if->msk_ifp->if_capenable & IFCAP_RXCSUM) != 0) {
 		/* Wait until controller executes OP_TCPSTART command. */
-		for (i = 10; i > 0; i--) {
-			DELAY(10);
+		for (i = 100; i > 0; i--) {
+			DELAY(100);
 			idx = CSR_READ_2(sc_if->msk_softc,
 			    Y2_PREF_Q_ADDR(sc_if->msk_rxq,
 			    PREF_UNIT_GET_IDX_REG));



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