diff options
author | Kurt Kanzenbach <kurt@linutronix.de> | 2020-08-18 13:32:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-20 02:07:49 +0300 |
commit | bdfbb63c314a6fb7d27dddd62f5a3e4f062b92bb (patch) | |
tree | 40323ad304ef541518009a986fda4b571c0b0785 /include/linux/irqflags.h | |
parent | f3ae59c0c01530ab48faf72cc678f92ad8aa7b4f (diff) | |
download | linux-bdfbb63c314a6fb7d27dddd62f5a3e4f062b92bb.tar.xz |
ptp: Add generic ptp v2 header parsing function
Reason: A lot of the ptp drivers - which implement hardware time stamping - need
specific fields such as the sequence id from the ptp v2 header. Currently all
drivers implement that themselves.
Introduce a generic function to retrieve a pointer to the start of the ptp v2
header.
Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/irqflags.h')
0 files changed, 0 insertions, 0 deletions