svn commit: r229876 - stable/7/sys/dev/msk
Pyun YongHyeon
yongari at FreeBSD.org
Mon Jan 9 19:59:53 UTC 2012
Author: yongari
Date: Mon Jan 9 19:59:53 2012
New Revision: 229876
URL: http://svn.freebsd.org/changeset/base/229876
Log:
MFC r228717:
Increase wait time for OP_TCPSTART command processing. It seems
100us is not enough to ensure prefetch unit work.
Modified:
stable/7/sys/dev/msk/if_msk.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/dev/msk/if_msk.c
==============================================================================
--- stable/7/sys/dev/msk/if_msk.c Mon Jan 9 19:58:41 2012 (r229875)
+++ stable/7/sys/dev/msk/if_msk.c Mon Jan 9 19:59:53 2012 (r229876)
@@ -656,8 +656,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));
More information about the svn-src-stable-7
mailing list