mirror_ubuntu-kernels/drivers/net/ethernet/freescale/enetc
YueHaibing 2802d2cf24 enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set
Like FSL_ENETC, when CONFIG_FSL_ENETC_VF is set,
we should select PHYLIB, otherwise building still fails:

drivers/net/ethernet/freescale/enetc/enetc.o: In function `enetc_open':
enetc.c:(.text+0x2744): undefined reference to `phy_start'
enetc.c:(.text+0x282c): undefined reference to `phy_disconnect'
drivers/net/ethernet/freescale/enetc/enetc.o: In function `enetc_close':
enetc.c:(.text+0x28f8): undefined reference to `phy_stop'
enetc.c:(.text+0x2904): undefined reference to `phy_disconnect'
drivers/net/ethernet/freescale/enetc/enetc_ethtool.o:(.rodata+0x3f8): undefined reference to `phy_ethtool_get_link_ksettings'
drivers/net/ethernet/freescale/enetc/enetc_ethtool.o:(.rodata+0x400): undefined reference to `phy_ethtool_set_link_ksettings'

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: d4fd0404c1 ("enetc: Introduce basic PF and VF ENETC ethernet drivers")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-02 18:15:02 -07:00
..
enetc_cbdr.c enetc: Add RFS and RSS support 2019-01-24 21:55:53 -08:00
enetc_ethtool.c enetc: add get_ts_info interface for ethtool 2019-05-24 13:16:32 -07:00
enetc_hw.h enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
enetc_mdio.c enetc: Add ENETC PF level external MDIO support 2019-03-01 11:21:32 -08:00
enetc_msg.c enetc: Add vf to pf messaging support 2019-01-24 21:55:53 -08:00
enetc_pf.c enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
enetc_pf.h enetc: Add ENETC PF level external MDIO support 2019-03-01 11:21:32 -08:00
enetc_ptp.c enetc: add get_ts_info interface for ethtool 2019-05-24 13:16:32 -07:00
enetc_vf.c enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
enetc.c enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
enetc.h enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
Kconfig enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set 2019-08-02 18:15:02 -07:00
Makefile enetc: Add ENETC PF level external MDIO support 2019-03-01 11:21:32 -08:00