mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
17194be4c8
As we have the ability to track the PHYs connected to a net_device through the link_topology, we can expose this list to userspace. This allows userspace to use these identifiers for phy-specific commands and take the decision of which PHY to target by knowing the link topology. Add PHY_GET and PHY_DUMP, which can be a filtered DUMP operation to list devices on only one interface. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: David S. Miller <davem@davemloft.net>
13 lines
456 B
Makefile
13 lines
456 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
obj-y += ioctl.o common.o
|
|
|
|
obj-$(CONFIG_ETHTOOL_NETLINK) += ethtool_nl.o
|
|
|
|
ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o rss.o \
|
|
linkstate.o debug.o wol.o features.o privflags.o rings.o \
|
|
channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
|
|
tunnels.o fec.o eeprom.o stats.o phc_vclocks.o mm.o \
|
|
module.o cmis_fw_update.o cmis_cdb.o pse-pd.o plca.o mm.o \
|
|
phy.o
|