diff options
author | Andy Duan <fugang.duan@nxp.com> | 2017-03-14 15:04:12 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 443183e1582f1789ae3d6ac93665a2894e2b0894 (patch) | |
tree | e00826b74bb5927bd28e7b6e84d4d0ac9b2203d5 /drivers/net/ethernet/freescale/fec_main.c | |
parent | a92ffad95cea5873ee4f527237f507d60f7736a6 (diff) |
MLK-14438-05 net: fec: register Athreos phy AR8031 fixup
Register Athreos PHY AR8031 fixup.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked and merged from commit:676bf1d92b3e6babdab623694fd83d54f881fc2f)
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_main.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index f70fdd56808a..fd6841d6a8b3 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -3659,6 +3659,9 @@ fec_probe(struct platform_device *pdev) if (ret) goto failed_register; + fep->fixups = of_fec_enet_parse_fixup(np); + fec_enet_register_fixup(ndev); + device_init_wakeup(&ndev->dev, fep->wol_flag & FEC_WOL_HAS_MAGIC_PACKET); |