2016-08-19 04:56:05 +07:00
|
|
|
# Makefile for Linux PHY drivers and MDIO bus drivers
|
2005-07-31 06:31:23 +07:00
|
|
|
|
2017-06-05 18:22:50 +07:00
|
|
|
libphy-y := phy.o phy-c45.o phy-core.o phy_device.o
|
2017-03-29 02:57:09 +07:00
|
|
|
mdio-bus-y += mdio_bus.o mdio_device.o
|
|
|
|
|
|
|
|
ifdef CONFIG_MDIO_DEVICE
|
|
|
|
obj-y += mdio-boardinfo.o
|
|
|
|
endif
|
2017-03-24 00:01:19 +07:00
|
|
|
|
|
|
|
# PHYLIB implies MDIO_DEVICE, in that case, we have a bunch of circular
|
|
|
|
# dependencies that does not make it possible to split mdio-bus objects into a
|
|
|
|
# dedicated loadable module, so we bundle them all together into libphy.ko
|
|
|
|
ifdef CONFIG_PHYLIB
|
|
|
|
libphy-y += $(mdio-bus-y)
|
|
|
|
else
|
|
|
|
obj-$(CONFIG_MDIO_DEVICE) += mdio-bus.o
|
|
|
|
endif
|
2016-06-23 20:50:05 +07:00
|
|
|
libphy-$(CONFIG_SWPHY) += swphy.o
|
2016-10-17 22:49:55 +07:00
|
|
|
libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o
|
2005-07-31 06:31:23 +07:00
|
|
|
|
2005-08-25 06:46:21 +07:00
|
|
|
obj-$(CONFIG_PHYLIB) += libphy.o
|
2016-08-19 04:56:05 +07:00
|
|
|
|
|
|
|
obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o
|
|
|
|
obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o
|
|
|
|
obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
|
|
|
|
obj-$(CONFIG_MDIO_BUS_MUX) += mdio-mux.o
|
|
|
|
obj-$(CONFIG_MDIO_BUS_MUX_BCM_IPROC) += mdio-mux-bcm-iproc.o
|
|
|
|
obj-$(CONFIG_MDIO_BUS_MUX_GPIO) += mdio-mux-gpio.o
|
|
|
|
obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += mdio-mux-mmioreg.o
|
|
|
|
obj-$(CONFIG_MDIO_CAVIUM) += mdio-cavium.o
|
|
|
|
obj-$(CONFIG_MDIO_GPIO) += mdio-gpio.o
|
|
|
|
obj-$(CONFIG_MDIO_HISI_FEMAC) += mdio-hisi-femac.o
|
|
|
|
obj-$(CONFIG_MDIO_MOXART) += mdio-moxart.o
|
|
|
|
obj-$(CONFIG_MDIO_OCTEON) += mdio-octeon.o
|
|
|
|
obj-$(CONFIG_MDIO_SUN4I) += mdio-sun4i.o
|
|
|
|
obj-$(CONFIG_MDIO_THUNDER) += mdio-thunder.o
|
|
|
|
obj-$(CONFIG_MDIO_XGENE) += mdio-xgene.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_AMD_PHY) += amd.o
|
2015-07-31 15:58:42 +07:00
|
|
|
obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
|
2016-08-19 04:56:05 +07:00
|
|
|
obj-$(CONFIG_AT803X_PHY) += at803x.o
|
2009-07-01 08:29:36 +07:00
|
|
|
obj-$(CONFIG_BCM63XX_PHY) += bcm63xx.o
|
2014-02-14 07:08:45 +07:00
|
|
|
obj-$(CONFIG_BCM7XXX_PHY) += bcm7xxx.o
|
2012-06-27 14:33:38 +07:00
|
|
|
obj-$(CONFIG_BCM87XX_PHY) += bcm87xx.o
|
2015-10-07 02:25:49 +07:00
|
|
|
obj-$(CONFIG_BCM_CYGNUS_PHY) += bcm-cygnus.o
|
2016-08-19 04:56:05 +07:00
|
|
|
obj-$(CONFIG_BCM_NET_PHYLIB) += bcm-phy-lib.o
|
|
|
|
obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
|
|
|
|
obj-$(CONFIG_CICADA_PHY) += cicada.o
|
2017-05-29 16:11:30 +07:00
|
|
|
obj-$(CONFIG_CORTINA_PHY) += cortina.o
|
2016-08-19 04:56:05 +07:00
|
|
|
obj-$(CONFIG_DAVICOM_PHY) += davicom.o
|
2011-04-22 17:04:55 +07:00
|
|
|
obj-$(CONFIG_DP83640_PHY) += dp83640.o
|
2015-10-21 04:28:57 +07:00
|
|
|
obj-$(CONFIG_DP83848_PHY) += dp83848.o
|
2015-06-02 21:34:37 +07:00
|
|
|
obj-$(CONFIG_DP83867_PHY) += dp83867.o
|
2016-08-19 04:56:05 +07:00
|
|
|
obj-$(CONFIG_FIXED_PHY) += fixed_phy.o
|
|
|
|
obj-$(CONFIG_ICPLUS_PHY) += icplus.o
|
|
|
|
obj-$(CONFIG_INTEL_XWAY_PHY) += intel-xway.o
|
|
|
|
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
|
|
|
|
obj-$(CONFIG_LXT_PHY) += lxt.o
|
|
|
|
obj-$(CONFIG_MARVELL_PHY) += marvell.o
|
2017-06-05 18:23:16 +07:00
|
|
|
obj-$(CONFIG_MARVELL_10G_PHY) += marvell10g.o
|
2016-11-04 22:51:23 +07:00
|
|
|
obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o
|
2011-12-18 14:33:41 +07:00
|
|
|
obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o
|
2016-08-19 04:56:05 +07:00
|
|
|
obj-$(CONFIG_MICREL_PHY) += micrel.o
|
2015-09-10 03:49:53 +07:00
|
|
|
obj-$(CONFIG_MICROCHIP_PHY) += microchip.o
|
2016-08-19 04:56:05 +07:00
|
|
|
obj-$(CONFIG_MICROSEMI_PHY) += mscc.o
|
|
|
|
obj-$(CONFIG_NATIONAL_PHY) += national.o
|
|
|
|
obj-$(CONFIG_QSEMI_PHY) += qsemi.o
|
|
|
|
obj-$(CONFIG_REALTEK_PHY) += realtek.o
|
|
|
|
obj-$(CONFIG_SMSC_PHY) += smsc.o
|
|
|
|
obj-$(CONFIG_STE10XP) += ste10Xp.o
|
|
|
|
obj-$(CONFIG_TERANETICS_PHY) += teranetics.o
|
|
|
|
obj-$(CONFIG_VITESSE_PHY) += vitesse.o
|
2016-08-10 12:50:08 +07:00
|
|
|
obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o
|