PTP: specify ethernet interfaces in the ptp4l.conf file.

The ptp4l process will fail in case there are no NICs specified.
We need to list all the NICs in the configuration file since
NIC specification has been removed from command line earlier.

Change-Id: Ib68406a2ed514830674627180c451d274b581f74
Story: 2002935
Task: 22923
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
This commit is contained in:
Alex Kozyrev 2018-09-11 14:16:10 -04:00
parent 1b95285b16
commit 4afb5074c5
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="src"
TIS_PATCH_VER=63
TIS_PATCH_VER=64

View File

@ -96,12 +96,14 @@ manufacturerIdentity 00:00:00
userDescription ;
timeSource 0xA0
<%- if scope['platform::ptp::transport'] == 'udp' -%>
[<%= @slave_interface %>]
<%- if scope['platform::ptp::transport'] == 'udp' -%>
network_transport UDPv<%= @slave_subnet %>
<%- end -%>
<%- if @slave_only == false -%>
[<%= @master_interface %>]
<%- if scope['platform::ptp::transport'] == 'udp' -%>
network_transport UDPv<%= @master_subnet %>
<%- end -%>
<%- end -%>