@@ -1378,6 +1378,13 @@ int phylink_set_max_fixed_link(struct phylink *pl)
if (pl->cfg_link_an_mode != MLO_AN_PHY || pl->phydev || pl->sfp_bus)
return -EBUSY;
+ phylink_info(pl, "sif=%*pbl if=%d(%s) cap=%lx\n",
+ (int)PHY_INTERFACE_MODE_MAX,
+ pl->config->supported_interfaces,
+ pl->link_interface,
+ phy_modes(pl->link_interface),
+ pl->config->mac_capabilities);
+
interface = pl->link_interface;
if (interface != PHY_INTERFACE_MODE_NA) {
/* Get the speed/duplex capabilities and reduce according to the