]> 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)
commit420a20e560acfcf430656055e25c384264f3e356
treedd0a5ce7a189848d14e58973e08124512276560a
parent1d17eaa5363e3fd85697d7568f3954e2dcb61162
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