Skip to content

Commit

Permalink
net: phy: aquantia: readd XGMII support for AQR107
Browse files Browse the repository at this point in the history
XGMII interface mode no longer works on AQR107 after the recent changes,
adding back support.

Fixes: 570c8a7 ("net: phy: aquantia: check for supported interface modes in config_init")
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Madalin-cristian Bucur authored and David S. Miller committed May 16, 2019
1 parent 752beb5 commit ee04a5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/phy/aquantia_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ static int aqr107_config_init(struct phy_device *phydev)
/* Check that the PHY interface type is compatible */
if (phydev->interface != PHY_INTERFACE_MODE_SGMII &&
phydev->interface != PHY_INTERFACE_MODE_2500BASEX &&
phydev->interface != PHY_INTERFACE_MODE_XGMII &&
phydev->interface != PHY_INTERFACE_MODE_10GKR)
return -ENODEV;

Expand Down

0 comments on commit ee04a5f

Please sign in to comment.