Author: yongari
Date: Mon Oct  8 07:13:45 2012
New Revision: 241341
URL: http://svn.freebsd.org/changeset/base/241341

Log:
  Limit applying TX data corruption and FIFO workaround to BCM5719
  A0. It's believed BCM5720 does not have the issue.

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c   Mon Oct  8 07:01:07 2012        (r241340)
+++ head/sys/dev/bge/if_bge.c   Mon Oct  8 07:13:45 2012        (r241341)
@@ -2121,8 +2121,8 @@ bge_blockinit(struct bge_softc *sc)
                 * Adjust tx margin to prevent TX data corruption and
                 * fix internal FIFO overflow.
                 */
-               if (sc->bge_asicrev == BGE_ASICREV_BCM5719 ||
-                   sc->bge_asicrev == BGE_ASICREV_BCM5720) {
+               if (sc->bge_asicrev == BGE_ASICREV_BCM5719 &&
+                   sc->bge_chipid == BGE_CHIPID_BCM5719_A0) {
                        dmactl &= ~(BGE_RDMA_RSRVCTRL_FIFO_LWM_MASK |
                            BGE_RDMA_RSRVCTRL_FIFO_HWM_MASK |
                            BGE_RDMA_RSRVCTRL_TXMRGN_MASK);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to