]> git.baikalelectronics.ru Git - kernel.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)
commit2f763a604eb6fa3687601b59647fbbcfe0994a40
treedd0a5ce7a189848d14e58973e08124512276560a
parentb17d2981ff749a491e3cfd3616dd73eb15b74bbc
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