aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_ptp.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-20 16:31:14 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-20 16:45:35 +0100
commitbc5869180f69e2ad6c6b823e129e08a8e523d800 (patch)
tree3ed8b30b8fbba5535e993eb7b72978853a84243d /sys/linux/dev_ptp.txt
parentf83f92fd5e8f53114eb4e4149c19f2c4d7fddc78 (diff)
sys/linux: fix 240 warnings in descriptions
Sweeping fix of everything up to socket_netlink_route.txt. Update #590
Diffstat (limited to 'sys/linux/dev_ptp.txt')
-rw-r--r--sys/linux/dev_ptp.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/linux/dev_ptp.txt b/sys/linux/dev_ptp.txt
index 1e8a77fe6..60913de3f 100644
--- a/sys/linux/dev_ptp.txt
+++ b/sys/linux/dev_ptp.txt
@@ -45,14 +45,14 @@ ptp_perout_request {
ptp_sys_offset {
n_samples int32[0:PTP_MAX_SAMPLES]
rsv array[const[0, int32], 3]
-# Nothing interesting/input beyond this point.
-} [size[PTP_SYS_OFFSET_SIZE]]
+ ts array[const[0, int64], 102]
+}
ptp_sys_offset_extended {
n_samples int32[0:PTP_MAX_SAMPLES]
rsv array[const[0, int32], 3]
-# Nothing interesting/input beyond this point.
-} [size[PTP_SYS_OFFSET_EXTENDED_SIZE]]
+ ts array[const[0, int64], 150]
+}
ptp_pin_desc {
name array[const[0, int8], 64]
@@ -72,6 +72,4 @@ ptp_extts_request_flags = PTP_ENABLE_FEATURE, PTP_RISING_EDGE, PTP_FALLING_EDGE,
ptp_pin_pf = PTP_PF_NONE, PTP_PF_EXTTS, PTP_PF_PEROUT, PTP_PF_PHYSYNC
define PTP_CLOCK_CAPS_SIZE sizeof(struct ptp_clock_caps)
-define PTP_SYS_OFFSET_SIZE sizeof(struct ptp_sys_offset)
define PTP_SYS_OFFSET_PRECISE_SIZE sizeof(struct ptp_sys_offset_precise)
-define PTP_SYS_OFFSET_EXTENDED_SIZE sizeof(struct ptp_sys_offset_extended)