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>
This commit is contained in:
Artem Panfilov 2019-01-20 19:05:15 +03:00 • committed by David S. Miller
commit d6228b7cdd
2 changed files with 33 additions and 5 deletions