xref: /openbmc/linux/drivers/net/phy/Makefile (revision c0c74acb)
1# Makefile for Linux PHY drivers and MDIO bus drivers
2
3libphy-y			:= phy.o phy_device.o mdio_bus.o mdio_device.o \
4				   mdio-boardinfo.o
5libphy-$(CONFIG_SWPHY)		+= swphy.o
6libphy-$(CONFIG_LED_TRIGGER_PHY)	+= phy_led_triggers.o
7
8obj-$(CONFIG_PHYLIB)		+= libphy.o
9
10obj-$(CONFIG_MDIO_BCM_IPROC)	+= mdio-bcm-iproc.o
11obj-$(CONFIG_MDIO_BCM_UNIMAC)	+= mdio-bcm-unimac.o
12obj-$(CONFIG_MDIO_BITBANG)	+= mdio-bitbang.o
13obj-$(CONFIG_MDIO_BUS_MUX)	+= mdio-mux.o
14obj-$(CONFIG_MDIO_BUS_MUX_BCM_IPROC)	+= mdio-mux-bcm-iproc.o
15obj-$(CONFIG_MDIO_BUS_MUX_GPIO)	+= mdio-mux-gpio.o
16obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += mdio-mux-mmioreg.o
17obj-$(CONFIG_MDIO_CAVIUM)	+= mdio-cavium.o
18obj-$(CONFIG_MDIO_GPIO)		+= mdio-gpio.o
19obj-$(CONFIG_MDIO_HISI_FEMAC)	+= mdio-hisi-femac.o
20obj-$(CONFIG_MDIO_MOXART)	+= mdio-moxart.o
21obj-$(CONFIG_MDIO_OCTEON)	+= mdio-octeon.o
22obj-$(CONFIG_MDIO_SUN4I)	+= mdio-sun4i.o
23obj-$(CONFIG_MDIO_THUNDER)	+= mdio-thunder.o
24obj-$(CONFIG_MDIO_XGENE)	+= mdio-xgene.o
25
26obj-$(CONFIG_AMD_PHY)		+= amd.o
27obj-$(CONFIG_AQUANTIA_PHY)	+= aquantia.o
28obj-$(CONFIG_AT803X_PHY)	+= at803x.o
29obj-$(CONFIG_BCM63XX_PHY)	+= bcm63xx.o
30obj-$(CONFIG_BCM7XXX_PHY)	+= bcm7xxx.o
31obj-$(CONFIG_BCM87XX_PHY)	+= bcm87xx.o
32obj-$(CONFIG_BCM_CYGNUS_PHY)	+= bcm-cygnus.o
33obj-$(CONFIG_BCM_NET_PHYLIB)	+= bcm-phy-lib.o
34obj-$(CONFIG_BROADCOM_PHY)	+= broadcom.o
35obj-$(CONFIG_CICADA_PHY)	+= cicada.o
36obj-$(CONFIG_DAVICOM_PHY)	+= davicom.o
37obj-$(CONFIG_DP83640_PHY)	+= dp83640.o
38obj-$(CONFIG_DP83848_PHY)	+= dp83848.o
39obj-$(CONFIG_DP83867_PHY)	+= dp83867.o
40obj-$(CONFIG_FIXED_PHY)		+= fixed_phy.o
41obj-$(CONFIG_ICPLUS_PHY)	+= icplus.o
42obj-$(CONFIG_INTEL_XWAY_PHY)	+= intel-xway.o
43obj-$(CONFIG_LSI_ET1011C_PHY)	+= et1011c.o
44obj-$(CONFIG_LXT_PHY)		+= lxt.o
45obj-$(CONFIG_MARVELL_PHY)	+= marvell.o
46obj-$(CONFIG_MESON_GXL_PHY)	+= meson-gxl.o
47obj-$(CONFIG_MICREL_KS8995MA)	+= spi_ks8995.o
48obj-$(CONFIG_MICREL_PHY)	+= micrel.o
49obj-$(CONFIG_MICROCHIP_PHY)	+= microchip.o
50obj-$(CONFIG_MICROSEMI_PHY)	+= mscc.o
51obj-$(CONFIG_NATIONAL_PHY)	+= national.o
52obj-$(CONFIG_QSEMI_PHY)		+= qsemi.o
53obj-$(CONFIG_REALTEK_PHY)	+= realtek.o
54obj-$(CONFIG_SMSC_PHY)		+= smsc.o
55obj-$(CONFIG_STE10XP)		+= ste10Xp.o
56obj-$(CONFIG_TERANETICS_PHY)	+= teranetics.o
57obj-$(CONFIG_VITESSE_PHY)	+= vitesse.o
58obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o
59