From e914edcb34ba6a1e1325dbf082420006e8cca9f3 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 26 Jun 2025 13:42:26 +0200 Subject: [PATCH] Fixed included (versioned) headers. --- devices/r8169/r8169_firmware-6.4-ethercat.c | 2 +- devices/r8169/r8169_main-6.4-ethercat.c | 4 ++-- devices/r8169/r8169_phy_config-6.4-ethercat.c | 2 +- devices/r8169/update.sh | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/devices/r8169/r8169_firmware-6.4-ethercat.c b/devices/r8169/r8169_firmware-6.4-ethercat.c index 435ab67a..b6634aed 100644 --- a/devices/r8169/r8169_firmware-6.4-ethercat.c +++ b/devices/r8169/r8169_firmware-6.4-ethercat.c @@ -11,7 +11,7 @@ #include #include -#include "r8169_firmware-6.1-ethercat.h" +#include "r8169_firmware-6.4-ethercat.h" enum rtl_fw_opcode { PHY_READ = 0x0, diff --git a/devices/r8169/r8169_main-6.4-ethercat.c b/devices/r8169/r8169_main-6.4-ethercat.c index 89d4fa33..94224ae9 100644 --- a/devices/r8169/r8169_main-6.4-ethercat.c +++ b/devices/r8169/r8169_main-6.4-ethercat.c @@ -33,8 +33,8 @@ #include #include -#include "r8169-6.1-ethercat.h" -#include "r8169_firmware-6.1-ethercat.h" +#include "r8169-6.4-ethercat.h" +#include "r8169_firmware-6.4-ethercat.h" #include "../ecdev.h" diff --git a/devices/r8169/r8169_phy_config-6.4-ethercat.c b/devices/r8169/r8169_phy_config-6.4-ethercat.c index 4062b61b..b0fe939c 100644 --- a/devices/r8169/r8169_phy_config-6.4-ethercat.c +++ b/devices/r8169/r8169_phy_config-6.4-ethercat.c @@ -12,7 +12,7 @@ #include #include -#include "r8169-6.1-ethercat.h" +#include "r8169-6.4-ethercat.h" typedef void (*rtl_phy_cfg_fct)(struct rtl8169_private *tp, struct phy_device *phydev); diff --git a/devices/r8169/update.sh b/devices/r8169/update.sh index 503fbb7c..a4f4217b 100755 --- a/devices/r8169/update.sh +++ b/devices/r8169/update.sh @@ -22,7 +22,9 @@ for f in $KERNELDIR/drivers/net/ethernet/realtek/r8169*; do op=${b/\./-$PREVER-orig.} ep=${b/\./-$PREVER-ethercat.} diff -u $op $ep | patch -p1 $e + sed -i s/$PREVER-ethercat.h/$KERNELVER-ethercat.h/ $e git add $o $e + echo -e "\t$e \\\\\n\t$o \\\\" >> Makefile.am done echo "Remember to update Makefile.am!"