Author: yongari
Date: Thu Jul 11 08:41:45 2013
New Revision: 253197
URL: http://svnweb.freebsd.org/changeset/base/253197

Log:
  MFC r245867:
    For 57765 class controllers, set low watermark max receive frames to 1.

Modified:
  stable/9/sys/dev/bge/if_bge.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/bge/if_bge.c
==============================================================================
--- stable/9/sys/dev/bge/if_bge.c       Thu Jul 11 08:18:46 2013        
(r253196)
+++ stable/9/sys/dev/bge/if_bge.c       Thu Jul 11 08:41:45 2013        
(r253197)
@@ -5453,7 +5453,7 @@ bge_init_locked(struct bge_softc *sc)
         * this number of frames, it will drop subsequent incoming
         * frames until the MBUF High Watermark is reached.
         */
-       if (sc->bge_asicrev == BGE_ASICREV_BCM57765)
+       if (BGE_IS_57765_PLUS(sc))
                CSR_WRITE_4(sc, BGE_MAX_RX_FRAME_LOWAT, 1);
        else
                CSR_WRITE_4(sc, BGE_MAX_RX_FRAME_LOWAT, 2);
_______________________________________________
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