diff options
author | yongari <yongari@FreeBSD.org> | 2012-10-10 02:21:36 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-10-10 02:21:36 +0000 |
commit | 9ab5cfcb7e53eb8deecd01652fe26c8799272641 (patch) | |
tree | 4382ed7d665edea35dafb7727d73db1810728ac4 /sys/dev/bge/if_bge.c | |
parent | 30069ebf2e7510170f69169cd31453b63d76636a (diff) | |
download | FreeBSD-src-9ab5cfcb7e53eb8deecd01652fe26c8799272641.zip FreeBSD-src-9ab5cfcb7e53eb8deecd01652fe26c8799272641.tar.gz |
Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720.
Diffstat (limited to 'sys/dev/bge/if_bge.c')
-rw-r--r-- | sys/dev/bge/if_bge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index c0d51ce..8989059 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -3381,7 +3381,7 @@ bge_attach(device_t dev) /* The SysKonnect SK-9D41 is a 1000baseSX card. */ if ((pci_read_config(dev, BGE_PCI_SUBSYS, 4) >> 16) == SK_SUBSYSID_9D41 || (hwcfg & BGE_HWCFG_MEDIA) == BGE_MEDIA_FIBER) { - if (BGE_IS_5714_FAMILY(sc)) + if (BGE_IS_5705_PLUS(sc)) sc->bge_flags |= BGE_FLAG_MII_SERDES; else sc->bge_flags |= BGE_FLAG_TBI; |