diff options
author | jhb <jhb@FreeBSD.org> | 2008-03-11 15:05:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-03-11 15:05:54 +0000 |
commit | e08f380381023b1a22b3d0d44884b22e52079ee8 (patch) | |
tree | 658663b386248b6f5d9a22c15be529bca74ee632 /sys/dev/bge | |
parent | 8e67f0704c875f093b80558e0207bd836820f2f8 (diff) | |
download | FreeBSD-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.c | 7 |
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; } |