diff options
author | Madalin-cristian Bucur <madalin.bucur@nxp.com> | 2019-05-15 17:07:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-16 21:14:07 +0200 |
commit | ee04a5fa9f3f5b956321177b0853716e1a2253b8 (patch) | |
tree | 9f89faa2f4f797ee33905b37cf0aaa92fb1c39be /drivers/net | |
parent | net: bpfilter: fallback to netfilter if failed to load bpfilter kernel module (diff) | |
download | linux-ee04a5fa9f3f5b956321177b0853716e1a2253b8.tar.xz linux-ee04a5fa9f3f5b956321177b0853716e1a2253b8.zip |
net: phy: aquantia: readd XGMII support for AQR107
XGMII interface mode no longer works on AQR107 after the recent changes,
adding back support.
Fixes: 570c8a7d5303 ("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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/aquantia_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/aquantia_main.c b/drivers/net/phy/aquantia_main.c index eed4fe3d871f..0fedd28fdb6e 100644 --- a/drivers/net/phy/aquantia_main.c +++ b/drivers/net/phy/aquantia_main.c @@ -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; |