cva6-sdk icon indicating copy to clipboard operation
cva6-sdk copied to clipboard

API Change for phy_dev

Open mickflemm opened this issue 6 years ago • 0 comments

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);

mickflemm avatar Feb 22 '19 06:02 mickflemm