From: Miroslav Lichvar Date: Tue, 14 Oct 2025 09:03:01 +0000 (+0200) Subject: udev: create symlinks for s390 PTP devices X-Git-Tag: v259-rc1~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db925d7da880001b31415354307604dcbe3a4e6;p=thirdparty%2Fsystemd.git udev: create symlinks for s390 PTP devices Similarly to the udev rules handling KVM and Hyper-V PTP devices, create symlinks for the s390-specific STCKE and Physical clocks (supported since Linux 6.13) to have some stable names that can be specified in default configurations of PTP/NTP applications. --- diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index 078a78ad1ae..9264b8e021a 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -34,6 +34,8 @@ SUBSYSTEM=="net", IMPORT{builtin}="net_driver" SUBSYSTEM=="ptp", GROUP="clock", MODE="0660" SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK+="ptp_kvm" SUBSYSTEM=="ptp", ATTR{clock_name}=="hyperv", SYMLINK+="ptp_hyperv" +SUBSYSTEM=="ptp", ATTR{clock_name}=="s390 Physical Clock", SYMLINK+="ptp_s390_physical" +SUBSYSTEM=="ptp", ATTR{clock_name}=="s390 STCKE Clock", SYMLINK+="ptp_s390_stcke" ACTION!="add", GOTO="default_end"