Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / net / phy / Makefile
bloba13e402074cf8fafe75764ad8abab576effc56d1
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for Linux PHY drivers
4 libphy-y := phy.o phy-c45.o phy-core.o phy_device.o \
5 linkmode.o
6 mdio-bus-y += mdio_bus.o mdio_device.o
8 ifdef CONFIG_MDIO_DEVICE
9 obj-y += mdio-boardinfo.o
10 endif
12 # PHYLIB implies MDIO_DEVICE, in that case, we have a bunch of circular
13 # dependencies that does not make it possible to split mdio-bus objects into a
14 # dedicated loadable module, so we bundle them all together into libphy.ko
15 ifdef CONFIG_PHYLIB
16 libphy-y += $(mdio-bus-y)
17 else
18 obj-$(CONFIG_MDIO_DEVICE) += mdio-bus.o
19 endif
20 obj-$(CONFIG_MDIO_DEVRES) += mdio_devres.o
21 libphy-$(CONFIG_SWPHY) += swphy.o
22 libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o
24 obj-$(CONFIG_PHYLINK) += phylink.o
25 obj-$(CONFIG_PHYLIB) += libphy.o
27 obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += mii_timestamper.o
29 obj-$(CONFIG_SFP) += sfp.o
30 sfp-obj-$(CONFIG_SFP) += sfp-bus.o
31 obj-y += $(sfp-obj-y) $(sfp-obj-m)
33 obj-$(CONFIG_ADIN_PHY) += adin.o
34 obj-$(CONFIG_AMD_PHY) += amd.o
35 aquantia-objs += aquantia_main.o
36 ifdef CONFIG_HWMON
37 aquantia-objs += aquantia_hwmon.o
38 endif
39 obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
40 obj-$(CONFIG_AT803X_PHY) += at803x.o
41 obj-$(CONFIG_AX88796B_PHY) += ax88796b.o
42 obj-$(CONFIG_BCM54140_PHY) += bcm54140.o
43 obj-$(CONFIG_BCM63XX_PHY) += bcm63xx.o
44 obj-$(CONFIG_BCM7XXX_PHY) += bcm7xxx.o
45 obj-$(CONFIG_BCM84881_PHY) += bcm84881.o
46 obj-$(CONFIG_BCM87XX_PHY) += bcm87xx.o
47 obj-$(CONFIG_BCM_CYGNUS_PHY) += bcm-cygnus.o
48 obj-$(CONFIG_BCM_NET_PHYLIB) += bcm-phy-lib.o
49 obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
50 obj-$(CONFIG_CICADA_PHY) += cicada.o
51 obj-$(CONFIG_CORTINA_PHY) += cortina.o
52 obj-$(CONFIG_DAVICOM_PHY) += davicom.o
53 obj-$(CONFIG_DP83640_PHY) += dp83640.o
54 obj-$(CONFIG_DP83822_PHY) += dp83822.o
55 obj-$(CONFIG_DP83848_PHY) += dp83848.o
56 obj-$(CONFIG_DP83867_PHY) += dp83867.o
57 obj-$(CONFIG_DP83869_PHY) += dp83869.o
58 obj-$(CONFIG_DP83TC811_PHY) += dp83tc811.o
59 obj-$(CONFIG_FIXED_PHY) += fixed_phy.o
60 obj-$(CONFIG_ICPLUS_PHY) += icplus.o
61 obj-$(CONFIG_INTEL_XWAY_PHY) += intel-xway.o
62 obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
63 obj-$(CONFIG_LXT_PHY) += lxt.o
64 obj-$(CONFIG_MARVELL_10G_PHY) += marvell10g.o
65 obj-$(CONFIG_MARVELL_PHY) += marvell.o
66 obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o
67 obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o
68 obj-$(CONFIG_MICREL_PHY) += micrel.o
69 obj-$(CONFIG_MICROCHIP_PHY) += microchip.o
70 obj-$(CONFIG_MICROCHIP_T1_PHY) += microchip_t1.o
71 obj-$(CONFIG_MICROSEMI_PHY) += mscc/
72 obj-$(CONFIG_NATIONAL_PHY) += national.o
73 obj-$(CONFIG_NXP_TJA11XX_PHY) += nxp-tja11xx.o
74 obj-$(CONFIG_QSEMI_PHY) += qsemi.o
75 obj-$(CONFIG_REALTEK_PHY) += realtek.o
76 obj-$(CONFIG_RENESAS_PHY) += uPD60620.o
77 obj-$(CONFIG_ROCKCHIP_PHY) += rockchip.o
78 obj-$(CONFIG_SMSC_PHY) += smsc.o
79 obj-$(CONFIG_STE10XP) += ste10Xp.o
80 obj-$(CONFIG_TERANETICS_PHY) += teranetics.o
81 obj-$(CONFIG_VITESSE_PHY) += vitesse.o
82 obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o