Author: yongari
Date: Mon Jan  9 19:58:41 2012
New Revision: 229875
URL: http://svn.freebsd.org/changeset/base/229875

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

Modified:
  stable/8/sys/dev/msk/if_msk.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/msk/if_msk.c
==============================================================================
--- stable/8/sys/dev/msk/if_msk.c       Mon Jan  9 19:57:07 2012        
(r229874)
+++ stable/8/sys/dev/msk/if_msk.c       Mon Jan  9 19:58:41 2012        
(r229875)
@@ -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));
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to