> +static int ksz8041_config_init(struct phy_device *phydev)
> +{
> + /* Limit supported and advertised modes in fiber mode */
> + if (of_property_read_bool(phydev->mdio.dev.of_node, "fxen")) {
> + phydev->dev_flags |= MICREL_PHY_FXEN;
> + phydev->supported &= SUPPORTED_FIBRE |
> + SUPPORTED_100baseT_Full |
> + SUPPORTED_100baseT_Half;
> + phydev->advertising &= ADVERTISED_FIBRE |
> + ADVERTISED_100baseT_Full |
> + ADVERTISED_100baseT_Half;
Hi Philipp
Does the PHY actually advertise anything? Should phydev->advertising
be set to 0?
Andrew