From f0db39538579305455f880e41211518e6a68ef1e Mon Sep 17 00:00:00 2001 From: lxoliva Date: Thu, 9 Nov 2023 02:13:18 +0000 Subject: [PATCH] backport for GNU Linux-libre 4.19.298-gnu1 git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@19439 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-4.19 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deblob-4.19 b/deblob-4.19 index eb87379c2bf..62a48dd90ec 100755 --- a/deblob-4.19 +++ b/deblob-4.19 @@ -1749,8 +1749,13 @@ clean_kconfig drivers/net/ethernet/qlogic/Kconfig QLCNIC clean_mk CONFIG_QLCNIC drivers/net/ethernet/qlogic/qlcnic/Makefile announce R8169 - "Realtek 8169 gigabit ethernet support" -reject_firmware drivers/net/ethernet/realtek/r8169.c -clean_blob drivers/net/ethernet/realtek/r8169.c +if test -f drivers/net/ethernet/realtek/r8169_main.c; then + reject_firmware drivers/net/ethernet/realtek/r8169_main.c + clean_blob drivers/net/ethernet/realtek/r8169_main.c +else + reject_firmware drivers/net/ethernet/realtek/r8169.c + clean_blob drivers/net/ethernet/realtek/r8169.c +fi clean_kconfig drivers/net/ethernet/realtek/Kconfig R8169 clean_mk CONFIG_R8169 drivers/net/ethernet/realtek/Makefile -- 2.31.1