Index: sys/dev/bnxt/if_bnxt.c =================================================================== --- sys/dev/bnxt/if_bnxt.c +++ sys/dev/bnxt/if_bnxt.c @@ -1381,6 +1381,18 @@ return; } + /* + * Workaround for ifconfig showing media as 'Other': + * Ifconfig uses ifmr->ifm_current to display 'media type'. + * + * Ifconfig output without this workaround: + * media: Ethernet Other (100GBase-CR4 ) + * Ifconfig output with this workaround: + * media: Ethernet 100GBase-CR4 (100GBase-CR4 ) + */ + + ifmr->ifm_current = (ifmr->ifm_active & ~IFM_GMASK); + if (link_info->flow_ctrl.rx) ifmr->ifm_active |= IFM_ETH_RXPAUSE; if (link_info->flow_ctrl.tx)