svn commit: r228717 - head/sys/dev/msk
Pyun YongHyeon
yongari at FreeBSD.org
Mon Dec 19 19:02:37 UTC 2011
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));
More information about the svn-src-head
mailing list