Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb24fd6a authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by David S. Miller
Browse files

ucc_geth: Add SUPPORTED_MII and SUPPORTED_Autoneg



The driver supports Autoneg and at least MII. Tell the PHY
that to avoid any confusion in the PHY code.

Signed-off-by: default avatarJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ae297b0
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1761,7 +1761,9 @@ static int init_phy(struct net_device *dev)
	if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII)
		uec_configure_serdes(dev);

	phydev->supported &= (ADVERTISED_10baseT_Half |
	phydev->supported &= (SUPPORTED_MII |
			      SUPPORTED_Autoneg |
			      ADVERTISED_10baseT_Half |
			      ADVERTISED_10baseT_Full |
			      ADVERTISED_100baseT_Half |
			      ADVERTISED_100baseT_Full);