]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: stmmac: implement the SIOCGHWTSTAMP ioctl
authorArtem Panfilov <panfilov.artyom@gmail.com>
Sun, 20 Jan 2019 16:05:15 +0000 (19:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 01:37:04 +0000 (17:37 -0800)
commitd6228b7cdd6e790e6c21a844b9b3ab35d01a1974
treedd0a5ce7a189848d14e58973e08124512276560a
parentbbc318f6248e6da85cc9e2b15ded854654b56bf7
net: stmmac: implement the SIOCGHWTSTAMP ioctl

This patch adds support for the SIOCGHWTSTAMP ioctl which enables user
processes to read the current hwtstamp_config settings
non-destructively.

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c