cva6-sdk
cva6-sdk copied to clipboard
API Change for phy_dev
On recent kernel versions: phydev->advertising = phydev->supported will not work since they are not u32 anymore but bitfields, you should instead use linkmode_* functions to manipulate them, e.g.:
linkmode_and(phydev->advertising, phydev->advertising, phydev->supported); linkmode_copy(priv->phy_dev->advertising, priv->phy_dev->supported);