mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
The SJA1110 contains two types of integrated PHYs: one 100base-TX PHY and multiple 100base-T1 PHYs. The access procedure for the 100base-T1 PHYs is also different than it is for the 100base-TX one. So we register 2 MDIO buses, one for the base-TX and the other for the base-T1. Each bus has an OF node which is a child of the "mdio" subnode of the switch, and they are recognized by compatible string. Cc: Russell King <[email protected]> Cc: Heiner Kallweit <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
26 lines
529 B
Makefile
26 lines
529 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o
|
|
|
|
sja1105-objs := \
|
|
sja1105_spi.o \
|
|
sja1105_main.o \
|
|
sja1105_mdio.o \
|
|
sja1105_flower.o \
|
|
sja1105_ethtool.o \
|
|
sja1105_devlink.o \
|
|
sja1105_clocking.o \
|
|
sja1105_static_config.o \
|
|
sja1105_dynamic_config.o \
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_PTP
|
|
sja1105-objs += sja1105_ptp.o
|
|
endif
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_TAS
|
|
sja1105-objs += sja1105_tas.o
|
|
endif
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_VL
|
|
sja1105-objs += sja1105_vl.o
|
|
endif
|