+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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html