mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720.
This commit is contained in:
parent
2246e8c6e8
commit
f846d3a23e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue