diff --git a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst index ae9b6dcb8..65f3ef492 100644 --- a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst +++ b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_PRP_PTP.rst @@ -4,8 +4,8 @@ HSR and PRP PTP support ======================= -The `linuxptp-hsr `_ -implementation on the ``hsr_prp_v2_plus`` branch supports PTP (Precision Time Protocol) +The `linuxptp-hsr-prp `_ +implementation on the ``hsr_prp_ptp`` branch supports PTP (Precision Time Protocol) synchronization over High-availability Seamless Redundancy (HSR) and Parallel Redundancy Protocol (PRP) interfaces. @@ -19,21 +19,9 @@ Clone linuxptp-hsr: .. code-block:: console - git clone https://git.kernel.org/pub/scm/linux/kernel/git/bigeasy/linuxptp-hsr.git - cd linuxptp-hsr - git checkout hsr_prp_v2_plus - -Patch the config files with the actual interface names and the P2P destination MAC -address. The config files use INI-style sections where ``[eth1]`` and ``[eth2]`` -denote the two physical interfaces. The first command appends the ``p2p_dst_mac`` -key (destination MAC for P2P delay-request messages) into the ``[global]`` -section just after the ``delay_mechanism`` key. The second command replaces the -``[eth1]`` and ``[eth2]`` section headers with the actual interface names: - -.. code-block:: console - - sed -i '/^delay_mechanism/a p2p_dst_mac 01:1B:19:00:00:01' configs/-master.cfg configs/-slave.cfg - sed -i 's/^\[eth1\]/[]/; s/^\[eth2\]/[]/' configs/-master.cfg configs/-slave.cfg + git clone https://git.kernel.org/pub/scm/linux/kernel/git/mda/linuxptp-hsr-prp.git + cd linuxptp-hsr-prp + git checkout hsr_prp_ptp Build and install: