XGBE_ADV
if (XGBE_ADV(&local_phy, Asym_Pause))
if (XGBE_ADV(&pdata->phy, 10000baseKR_Full))
else if (XGBE_ADV(&pdata->phy, 10000baseT_Full))
else if (XGBE_ADV(&pdata->phy, 2500baseX_Full))
else if (XGBE_ADV(&pdata->phy, 2500baseT_Full))
else if (XGBE_ADV(&pdata->phy, 1000baseKX_Full))
else if (XGBE_ADV(&pdata->phy, 1000baseT_Full))
else if (XGBE_ADV(&pdata->phy, 100baseT_Full))
if (XGBE_ADV(&pdata->phy, Autoneg)) {
if (XGBE_ADV(&pdata->phy, Asym_Pause))
if (!(XGBE_ADV(&pdata->phy, 1000baseKX_Full)) &&
!(XGBE_ADV(&pdata->phy, 2500baseX_Full)))
if (!(XGBE_ADV(&pdata->phy, 10000baseKR_Full)))
if (XGBE_ADV(&local_phy, Pause))
if (XGBE_ADV(&local_phy, Asym_Pause))
if (XGBE_ADV(&local_phy, 10000baseR_FEC))
if (XGBE_ADV(&local_phy, 10000baseKR_Full))
if (XGBE_ADV(&local_phy, 1000baseKX_Full) ||
XGBE_ADV(&local_phy, 2500baseX_Full))
if (XGBE_ADV(&local_phy, Pause))
XGBE_ADV(&pdata->phy, 1000baseKX_Full)));
XGBE_ADV(&pdata->phy, 2500baseX_Full)));
XGBE_ADV(&pdata->phy, 10000baseKR_Full)));
return (xgbe_phy_check_mode(pdata, mode, XGBE_ADV(&pdata->phy,
return (xgbe_phy_check_mode(pdata, mode, XGBE_ADV(&pdata->phy,
return (xgbe_phy_check_mode(pdata, mode, XGBE_ADV(&pdata->phy,
return (xgbe_phy_check_mode(pdata, mode, XGBE_ADV(&pdata->phy,
return (xgbe_phy_check_mode(pdata, mode, XGBE_ADV(&pdata->phy,
return (xgbe_phy_check_mode(pdata, mode, XGBE_ADV(&pdata->phy,
XGBE_ADV(&pdata->phy, 1000baseX_Full)));
XGBE_ADV(&pdata->phy, 100baseT_Full)));
XGBE_ADV(&pdata->phy, 1000baseT_Full)));
XGBE_ADV(&pdata->phy, 10000baseSR_Full) ||
XGBE_ADV(&pdata->phy, 10000baseLR_Full) ||
XGBE_ADV(&pdata->phy, 10000baseLRM_Full) ||
XGBE_ADV(&pdata->phy, 10000baseER_Full) ||
XGBE_ADV(&pdata->phy, 10000baseCR_Full)));
XGBE_ADV(&pdata->phy, 2500baseX_Full)));
XGBE_ADV(&pdata->phy, 1000baseKX_Full)));
XGBE_ADV(&pdata->phy, 10000baseKR_Full)));
if (XGBE_ADV(&pdata->phy, Asym_Pause))