summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2012-10-08 07:13:45 +0000
committeryongari <yongari@FreeBSD.org>2012-10-08 07:13:45 +0000
commit6bef1434c3158a056f9b2dabf4803f9ef1055563 (patch)
tree140f7289cd5b8a83e6c3ace26cb14d542dd5337d /sys/dev
parente78a22c3a4023f6b3172ee42ad16306c83169da5 (diff)
downloadFreeBSD-src-6bef1434c3158a056f9b2dabf4803f9ef1055563.zip
FreeBSD-src-6bef1434c3158a056f9b2dabf4803f9ef1055563.tar.gz
Limit applying TX data corruption and FIFO workaround to BCM5719
A0. It's believed BCM5720 does not have the issue.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bge/if_bge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 95a54d5..d35438f 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -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);
OpenPOWER on IntegriCloud