2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-08-28 23:18:01 +00:00
|
|
|
#
|
2008-08-29 19:53:56 +00:00
|
|
|
# (C) Copyright 2008
|
2008-08-28 23:18:01 +00:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2013-10-17 08:34:54 +00:00
|
|
|
obj-$(CONFIG_BITBANGMII) += miiphybb.o
|
2017-12-09 22:59:54 +00:00
|
|
|
obj-$(CONFIG_B53_SWITCH) += b53.o
|
2013-10-17 08:34:54 +00:00
|
|
|
obj-$(CONFIG_MV88E61XX_SWITCH) += mv88e61xx.o
|
|
|
|
obj-$(CONFIG_MV88E6352_SWITCH) += mv88e6352.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_PHYLIB) += phy.o
|
|
|
|
obj-$(CONFIG_PHYLIB_10G) += generic_10g.o
|
2014-12-30 10:32:04 +00:00
|
|
|
obj-$(CONFIG_PHY_AQUANTIA) += aquantia.o
|
2013-10-17 08:34:54 +00:00
|
|
|
obj-$(CONFIG_PHY_ATHEROS) += atheros.o
|
|
|
|
obj-$(CONFIG_PHY_BROADCOM) += broadcom.o
|
2014-11-10 10:32:29 +00:00
|
|
|
obj-$(CONFIG_PHY_CORTINA) += cortina.o
|
2013-10-17 08:34:54 +00:00
|
|
|
obj-$(CONFIG_PHY_DAVICOM) += davicom.o
|
|
|
|
obj-$(CONFIG_PHY_ET1011C) += et1011c.o
|
|
|
|
obj-$(CONFIG_PHY_LXT) += lxt.o
|
|
|
|
obj-$(CONFIG_PHY_MARVELL) += marvell.o
|
net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers
The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they
share the same ID. Drivers for bothe PHYs cannot safely coexist, so
the solution was to use #ifdefs to select between the two drivers.
As a result KSZ9031, which has a unique ID, is now caught in the
crossfire. Unless CONFIG_PHY_MICREL_KSZ9031 is defined, the KSZ9031
will not function properly, as some essential configuration code is
ifdef'd-out.
To prevent such situations, move the KSZ9000 drivers to a separate
file, and place them under a separate Kconfig option. While it is
possible to enable both KSZ8000 and KSZ9000 drivers at the same time,
the assumption is that it is highly unlikely for a system to contain
both a KSZ8000 and a KSZ9000 PHY, and that only one of the drivers
will be enabled at any given time.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2017-07-07 18:36:57 +00:00
|
|
|
obj-$(CONFIG_PHY_MICREL_KSZ8XXX) += micrel_ksz8xxx.o
|
|
|
|
obj-$(CONFIG_PHY_MICREL_KSZ90X1) += micrel_ksz90x1.o
|
2017-10-18 08:02:10 +00:00
|
|
|
obj-$(CONFIG_PHY_MESON_GXL) += meson-gxl.o
|
2013-10-17 08:34:54 +00:00
|
|
|
obj-$(CONFIG_PHY_NATSEMI) += natsemi.o
|
|
|
|
obj-$(CONFIG_PHY_REALTEK) += realtek.o
|
|
|
|
obj-$(CONFIG_PHY_SMSC) += smsc.o
|
|
|
|
obj-$(CONFIG_PHY_TERANETICS) += teranetics.o
|
2019-11-18 21:04:40 +00:00
|
|
|
obj-$(CONFIG_PHY_TI) += dp83867.o
|
2016-02-05 07:52:10 +00:00
|
|
|
obj-$(CONFIG_PHY_XILINX) += xilinx_phy.o
|
2018-11-27 06:19:11 +00:00
|
|
|
obj-$(CONFIG_PHY_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o
|
2013-10-17 08:34:54 +00:00
|
|
|
obj-$(CONFIG_PHY_VITESSE) += vitesse.o
|
2016-12-09 22:15:17 +00:00
|
|
|
obj-$(CONFIG_PHY_MSCC) += mscc.o
|
2017-03-23 14:11:43 +00:00
|
|
|
obj-$(CONFIG_PHY_FIXED) += fixed.o
|
2019-06-18 01:37:17 +00:00
|
|
|
obj-$(CONFIG_PHY_NCSI) += ncsi.o
|