From 5a6261068b5c9dd79e65dc3afab4cf8b9b20b55b Mon Sep 17 00:00:00 2001 From: lxoliva Date: Wed, 23 Mar 2022 20:50:02 +0000 Subject: [PATCH] backport mscc_main change for 5.16.17, 5.15.31, 5.10.108 git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@18655 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-5.10 | 3 +++ deblob-5.15 | 3 +++ deblob-5.16 | 3 +++ 3 files changed, 9 insertions(+) diff --git a/deblob-5.10 b/deblob-5.10 index 273246b8ac4..fae6e5bb25d 100755 --- a/deblob-5.10 +++ b/deblob-5.10 @@ -2838,6 +2838,9 @@ clean_mk CONFIG_NET_DSA_LANTIQ_GSWIP drivers/net/dsa/Makefile announce MICROSEMI_PHY - "Microsemi PHYs" reject_firmware drivers/net/phy/mscc/mscc_main.c +if grep -q MODULE_FIRMWARE drivers/net/phy/mscc/mscc_main.c; then + clean_blob drivers/net/phy/mscc/mscc_main.c +fi clean_blob drivers/net/phy/mscc/mscc.h clean_kconfig drivers/net/phy/Kconfig MICROSEMI_PHY clean_mk CONFIG_MICROSEMI_PHY drivers/net/phy/mscc/Makefile diff --git a/deblob-5.15 b/deblob-5.15 index f54aa68f155..190303eb5d7 100755 --- a/deblob-5.15 +++ b/deblob-5.15 @@ -2871,6 +2871,9 @@ clean_mk CONFIG_NET_DSA_LANTIQ_GSWIP drivers/net/dsa/Makefile announce MICROSEMI_PHY - "Microsemi PHYs" reject_firmware drivers/net/phy/mscc/mscc_main.c +if grep -q MODULE_FIRMWARE drivers/net/phy/mscc/mscc_main.c; then + clean_blob drivers/net/phy/mscc/mscc_main.c +fi clean_blob drivers/net/phy/mscc/mscc.h clean_kconfig drivers/net/phy/Kconfig MICROSEMI_PHY clean_mk CONFIG_MICROSEMI_PHY drivers/net/phy/mscc/Makefile diff --git a/deblob-5.16 b/deblob-5.16 index d290d0dc43e..c61d5d41920 100755 --- a/deblob-5.16 +++ b/deblob-5.16 @@ -2875,6 +2875,9 @@ clean_mk CONFIG_NET_DSA_LANTIQ_GSWIP drivers/net/dsa/Makefile announce MICROSEMI_PHY - "Microsemi PHYs" reject_firmware drivers/net/phy/mscc/mscc_main.c +if grep -q MODULE_FIRMWARE drivers/net/phy/mscc/mscc_main.c; then + clean_blob drivers/net/phy/mscc/mscc_main.c +fi clean_blob drivers/net/phy/mscc/mscc.h clean_kconfig drivers/net/phy/Kconfig MICROSEMI_PHY clean_mk CONFIG_MICROSEMI_PHY drivers/net/phy/mscc/Makefile -- 2.31.1