Re: [PATCH v4 3/3] net: fsl_enetc: Add 1G SGMII mode support for i.MX95
Marek Vasut <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <c5e3aa4e-4b84-4175-a46f-b023682df4da__49604.1314838052$1787053396$gmane$org@nabladev.com> |
On 8/18/26 5:18 AM, [email protected] wrote: [...] > @@ -565,6 +581,9 @@ static int enetc_config_phy(struct udevice *dev) > if (enetc_is_imx95(dev)) > supported |= PHY_10G_FEATURES; > > + if (priv->uclass_id == PHY_INTERFACE_MODE_SGMII && enetc_is_imx95(dev)) > + supported = PHY_1000BT_FEATURES | PHY_DEFAULT_FEATURES; Shouldn't this be clearing out the supported features ? supported &= ~(PHY_100BT_FEATURES | PHY_10BT_FEATURES); > priv->phy->supported &= supported; > priv->phy->advertising &= supported; [...]