summaryrefslogtreecommitdiffstats
path: root/sys/dev/bge
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-03-11 15:05:54 +0000
committerjhb <jhb@FreeBSD.org>2008-03-11 15:05:54 +0000
commite08f380381023b1a22b3d0d44884b22e52079ee8 (patch)
tree658663b386248b6f5d9a22c15be529bca74ee632 /sys/dev/bge
parent8e67f0704c875f093b80558e0207bd836820f2f8 (diff)
downloadFreeBSD-src-e08f380381023b1a22b3d0d44884b22e52079ee8.zip
FreeBSD-src-e08f380381023b1a22b3d0d44884b22e52079ee8.tar.gz
Don't enable the workaround for the jitter bug on the 5722.
Obtained from: Linux tg3 driver
Diffstat (limited to 'sys/dev/bge')
-rw-r--r--sys/dev/bge/if_bge.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 5503974..4cd1799 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -2313,9 +2313,10 @@ bge_attach(device_t dev)
if (BGE_IS_5705_PLUS(sc) &&
!(sc->bge_flags & BGE_FLAG_ADJUST_TRIM)) {
if (sc->bge_asicrev == BGE_ASICREV_BCM5755 ||
- sc->bge_asicrev == BGE_ASICREV_BCM5787)
- sc->bge_flags |= BGE_FLAG_JITTER_BUG;
- else
+ sc->bge_asicrev == BGE_ASICREV_BCM5787) {
+ if (sc->bge_chipid != BGE_CHIPID_BCM5722_A0)
+ sc->bge_flags |= BGE_FLAG_JITTER_BUG;
+ } else
sc->bge_flags |= BGE_FLAG_BER_BUG;
}
OpenPOWER on IntegriCloud