diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2013-01-10 00:37:25 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2013-01-10 00:37:25 +0000 |
commit | c2463582c38a779788abc9fa83e7bcea11ee65e9 (patch) | |
tree | c235a1ff4d02853f7a42dce55b146ad5fd834e61 /sys/dev | |
parent | 87e9794b0367b1b48319eaf4aba56c21c02f9879 (diff) |
apparently broadcom finally made a series of phys that done need a bunch
of workarounds in the 5718 family and up.
we dont attach bge to those chips yet, so this cant break anything that
isnt already broken.
from freebsd.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/mii/brgphy.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 9eae3f96dfe..58eda7c6a6e 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.98 2013/01/10 00:24:11 dlg Exp $ */ +/* $OpenBSD: brgphy.c,v 1.99 2013/01/10 00:37:24 dlg Exp $ */ /* * Copyright (c) 2000 @@ -781,6 +781,14 @@ brgphy_reset(struct mii_softc *sc) break; } break; + case MII_OUI_xxBROADCOM3: + switch (sc->mii_model) { + case MII_MODEL_xxBROADCOM3_BCM5717C: + case MII_MODEL_xxBROADCOM3_BCM5719C: + case MII_MODEL_xxBROADCOM3_BCM5720C: + case MII_MODEL_xxBROADCOM3_BCM57765: + return; + } } /* Handle any bge (NetXtreme/NetLink) workarounds. */ |