mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
5b071c59ed
Implement TSINFO_GET request to get timestamping information for a network device. This is traditionally available via ETHTOOL_GET_TS_INFO ioctl request. Move part of ethtool_get_ts_info() into common.c so that ioctl and netlink code use the same logic to get timestamping information from the device. v3: use "TSINFO" rather than "TIMESTAMP", suggested by Richard Cochran Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
10 lines
301 B
Makefile
10 lines
301 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 \
|
|
linkstate.o debug.o wol.o features.o privflags.o rings.o \
|
|
channels.o coalesce.o pause.o eee.o tsinfo.o
|