@@ -55,17 +55,18 @@ choice
5555	help
5656	  Specifies type of PTP Clock implemented on the target device
5757
58- 	 config PTP_ORDINARY_CLOCK
59- 		 bool "Ordinary Clock"
58+ config PTP_ORDINARY_CLOCK
59+ 	bool "Ordinary Clock"
6060
61- 	 config PTP_BOUNDARY_CLOCK
62- 		 bool "Boundary Clock"
61+ config PTP_BOUNDARY_CLOCK
62+ 	bool "Boundary Clock"
6363
64- 	config PTP_TRANSPARENT_P2P_CLOCK
65- 		bool "Transparent Peer-to-Peer Clock"
64+ config PTP_TRANSPARENT_P2P_CLOCK
65+ 	bool "Transparent Peer-to-Peer Clock"
66+ 
67+ config PTP_TRANSPARENT_E2E_CLOCK
68+ 	bool "Transparent End-to-End Clock"
6669
67- 	config PTP_TRANSPARENT_E2E_CLOCK
68- 		bool "Transparent End-to-End Clock"
6970endchoice
7071
7172config PTP_CLOCK_TYPE
@@ -89,15 +90,16 @@ choice
8990	prompt "PTP Networking Protocol used by PTP Stack"
9091	default PTP_UDP_IPv4_PROTOCOL
9192
92- 	config PTP_UDP_IPv4_PROTOCOL
93- 		bool "UDP with IPv4"
94- 		depends on NET_IPV4
95- 		select NET_IPV4_IGMP
93+ config PTP_UDP_IPv4_PROTOCOL
94+ 	bool "UDP with IPv4"
95+ 	depends on NET_IPV4
96+ 	select NET_IPV4_IGMP
97+ 
98+ config PTP_UDP_IPv6_PROTOCOL
99+ 	bool "UDP with IPv6"
100+ 	depends on NET_IPV6
101+ 	select NET_IPV6_MLD
96102
97- 	config PTP_UDP_IPv6_PROTOCOL
98- 		bool "UDP with IPv6"
99- 		depends on NET_IPV6
100- 		select NET_IPV6_MLD
101103endchoice
102104
103105choice
@@ -108,44 +110,63 @@ choice
108110	  the actual capabilities of the hardware.
109111	  See 7.6.2.5 of IEEE 1588-2019 for more info.
110112
111- 	config PTP_CLOCK_ACCURACY_UNKNOWN
112- 		bool "Unknown"
113- 	config PTP_CLOCK_ACCURACY_25NS
114- 		bool "25ns"
115- 	config PTP_CLOCK_ACCURACY_100NS
116- 		bool "100ns"
117- 	config PTP_CLOCK_ACCURACY_250NS
118- 		bool "250ns"
119- 	config PTP_CLOCK_ACCURACY_1US
120- 		bool "1us"
121- 	config PTP_CLOCK_ACCURACY_2_5US
122- 		bool "2.5us"
123- 	config PTP_CLOCK_ACCURACY_10US
124- 		bool "10us"
125- 	config PTP_CLOCK_ACCURACY_25US
126- 		bool "25us"
127- 	config PTP_CLOCK_ACCURACY_100US
128- 		bool "100us"
129- 	config PTP_CLOCK_ACCURACY_250US
130- 		bool "250us"
131- 	config PTP_CLOCK_ACCURACY_1MS
132- 		bool "1ms"
133- 	config PTP_CLOCK_ACCURACY_2_5MS
134- 		bool "1.5ms"
135- 	config PTP_CLOCK_ACCURACY_10MS
136- 		bool "10ms"
137- 	config PTP_CLOCK_ACCURACY_25MS
138- 		bool "25ms"
139- 	config PTP_CLOCK_ACCURACY_100MS
140- 		bool "100ms"
141- 	config PTP_CLOCK_ACCURACY_250MS
142- 		bool "250ms"
143- 	config PTP_CLOCK_ACCURACY_1S
144- 		bool "1s"
145- 	config PTP_CLOCK_ACCURACY_10S
146- 		bool "10s"
147- 	config PTP_CLOCK_ACCURACY_GT_10S
148- 		bool "> 10s"
113+ config PTP_CLOCK_ACCURACY_UNKNOWN
114+ 	bool "Unknown"
115+ 
116+ config PTP_CLOCK_ACCURACY_25NS
117+ 	bool "25ns"
118+ 
119+ config PTP_CLOCK_ACCURACY_100NS
120+ 	bool "100ns"
121+ 
122+ config PTP_CLOCK_ACCURACY_250NS
123+ 	bool "250ns"
124+ 
125+ config PTP_CLOCK_ACCURACY_1US
126+ 	bool "1us"
127+ 
128+ config PTP_CLOCK_ACCURACY_2_5US
129+ 	bool "2.5us"
130+ 
131+ config PTP_CLOCK_ACCURACY_10US
132+ 	bool "10us"
133+ 
134+ config PTP_CLOCK_ACCURACY_25US
135+ 	bool "25us"
136+ 
137+ config PTP_CLOCK_ACCURACY_100US
138+ 	bool "100us"
139+ 
140+ config PTP_CLOCK_ACCURACY_250US
141+ 	bool "250us"
142+ 
143+ config PTP_CLOCK_ACCURACY_1MS
144+ 	bool "1ms"
145+ 
146+ config PTP_CLOCK_ACCURACY_2_5MS
147+ 	bool "1.5ms"
148+ 
149+ config PTP_CLOCK_ACCURACY_10MS
150+ 	bool "10ms"
151+ 
152+ config PTP_CLOCK_ACCURACY_25MS
153+ 	bool "25ms"
154+ 
155+ config PTP_CLOCK_ACCURACY_100MS
156+ 	bool "100ms"
157+ 
158+ config PTP_CLOCK_ACCURACY_250MS
159+ 	bool "250ms"
160+ 
161+ config PTP_CLOCK_ACCURACY_1S
162+ 	bool "1s"
163+ 
164+ config PTP_CLOCK_ACCURACY_10S
165+ 	bool "10s"
166+ 
167+ config PTP_CLOCK_ACCURACY_GT_10S
168+ 	bool "> 10s"
169+ 
149170endchoice
150171
151172config PTP_CLOCK_ACCURACY
@@ -248,7 +269,6 @@ config PTP_PRE_TIME_TRANSMITTER_PRESENT
248269
249270config PTP_UNCALIBRATED_PRESENT
250271	bool
251- 	default n
252272
253273config PTP_FOREIGN_TIME_TRANSMITTER_FEATURE
254274	bool
@@ -268,14 +288,15 @@ choice PTP_DSCP_PRIORITY
268288	prompt "Priority of PTP packets classification"
269289	default PTP_DSCP_NONE_PRIORITY
270290
271- 	config PTP_DSCP_HIGH_PRIORITY
272- 		bool "High priority of PTP packet classification"
291+ config PTP_DSCP_HIGH_PRIORITY
292+ 	bool "High priority of PTP packet classification"
293+ 
294+ config PTP_DSCP_MEDIUM_PRIORITY
295+ 	bool "Medium priority of PTP packet classification"
273296
274- 	 config PTP_DSCP_MEDIUM_PRIORITY 
275- 		 bool "Medium  priority of PTP packet classification"
297+ config PTP_DSCP_NONE_PRIORITY 
298+ 	bool "Default  priority of PTP packet classification"
276299
277- 	config PTP_DSCP_NONE_PRIORITY
278- 		bool "Default priority of PTP packet classification"
279300endchoice
280301
281302config PTP_DSCP_VALUE
0 commit comments