1# Makefile for Linux PHY drivers and MDIO bus drivers 2 3libphy-y := phy.o phy-core.o phy_device.o 4mdio-bus-y += mdio_bus.o mdio_device.o 5 6ifdef CONFIG_MDIO_DEVICE 7obj-y += mdio-boardinfo.o 8endif 9 10# PHYLIB implies MDIO_DEVICE, in that case, we have a bunch of circular 11# dependencies that does not make it possible to split mdio-bus objects into a 12# dedicated loadable module, so we bundle them all together into libphy.ko 13ifdef CONFIG_PHYLIB 14libphy-y += $(mdio-bus-y) 15else 16obj-$(CONFIG_MDIO_DEVICE) += mdio-bus.o 17endif 18libphy-$(CONFIG_SWPHY) += swphy.o 19libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o 20 21obj-$(CONFIG_PHYLIB) += libphy.o 22 23obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o 24obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o 25obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o 26obj-$(CONFIG_MDIO_BUS_MUX) += mdio-mux.o 27obj-$(CONFIG_MDIO_BUS_MUX_BCM_IPROC) += mdio-mux-bcm-iproc.o 28obj-$(CONFIG_MDIO_BUS_MUX_GPIO) += mdio-mux-gpio.o 29obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += mdio-mux-mmioreg.o 30obj-$(CONFIG_MDIO_CAVIUM) += mdio-cavium.o 31obj-$(CONFIG_MDIO_GPIO) += mdio-gpio.o 32obj-$(CONFIG_MDIO_HISI_FEMAC) += mdio-hisi-femac.o 33obj-$(CONFIG_MDIO_MOXART) += mdio-moxart.o 34obj-$(CONFIG_MDIO_OCTEON) += mdio-octeon.o 35obj-$(CONFIG_MDIO_SUN4I) += mdio-sun4i.o 36obj-$(CONFIG_MDIO_THUNDER) += mdio-thunder.o 37obj-$(CONFIG_MDIO_XGENE) += mdio-xgene.o 38 39obj-$(CONFIG_AMD_PHY) += amd.o 40obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o 41obj-$(CONFIG_AT803X_PHY) += at803x.o 42obj-$(CONFIG_BCM63XX_PHY) += bcm63xx.o 43obj-$(CONFIG_BCM7XXX_PHY) += bcm7xxx.o 44obj-$(CONFIG_BCM87XX_PHY) += bcm87xx.o 45obj-$(CONFIG_BCM_CYGNUS_PHY) += bcm-cygnus.o 46obj-$(CONFIG_BCM_NET_PHYLIB) += bcm-phy-lib.o 47obj-$(CONFIG_BROADCOM_PHY) += broadcom.o 48obj-$(CONFIG_CICADA_PHY) += cicada.o 49obj-$(CONFIG_DAVICOM_PHY) += davicom.o 50obj-$(CONFIG_DP83640_PHY) += dp83640.o 51obj-$(CONFIG_DP83848_PHY) += dp83848.o 52obj-$(CONFIG_DP83867_PHY) += dp83867.o 53obj-$(CONFIG_FIXED_PHY) += fixed_phy.o 54obj-$(CONFIG_ICPLUS_PHY) += icplus.o 55obj-$(CONFIG_INTEL_XWAY_PHY) += intel-xway.o 56obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o 57obj-$(CONFIG_LXT_PHY) += lxt.o 58obj-$(CONFIG_MARVELL_PHY) += marvell.o 59obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o 60obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o 61obj-$(CONFIG_MICREL_PHY) += micrel.o 62obj-$(CONFIG_MICROCHIP_PHY) += microchip.o 63obj-$(CONFIG_MICROSEMI_PHY) += mscc.o 64obj-$(CONFIG_NATIONAL_PHY) += national.o 65obj-$(CONFIG_QSEMI_PHY) += qsemi.o 66obj-$(CONFIG_REALTEK_PHY) += realtek.o 67obj-$(CONFIG_SMSC_PHY) += smsc.o 68obj-$(CONFIG_STE10XP) += ste10Xp.o 69obj-$(CONFIG_TERANETICS_PHY) += teranetics.o 70obj-$(CONFIG_VITESSE_PHY) += vitesse.o 71obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o 72