From: Alexandre Oliva Date: Wed, 23 Mar 2022 21:56:20 +0000 (-0400) Subject: GNU Linux-libre 5.10.108-gnu1 scripts X-Git-Tag: scripts/v5.10.108-gnu1 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=2ed46c1bf40f46d8f737d0765872fce2353503e8;p=releases.git GNU Linux-libre 5.10.108-gnu1 scripts --- diff --git a/deblob-5.10 b/deblob-5.10 index a099ab30348..fae6e5bb25d 100755 --- a/deblob-5.10 +++ b/deblob-5.10 @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2008-2021 Alexandre Oliva +# Copyright (C) 2008-2022 Alexandre Oliva # Copyright (C) 2008 Jeff Moe # Copyright (C) 2009 Rubén Rodríguez # @@ -1748,7 +1748,10 @@ clean_sed ' -EINVAL) }' drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 'report missing Free firmware' clean_blob drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c -clean_sed ' +if grep -q loaded_fw_major drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c; then + clean_blob drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +else + clean_sed ' /^int bnx2x_compare_fw_ver/,/^}$/{ /^ u32 my_fw = /i\ /*(DEBLOBBED)*/ @@ -1759,6 +1762,7 @@ clean_sed ' u32 my_fw = ~loaded_fw; } }' drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 'fail already-loaded test' +fi clean_blob drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h clean_sed ' /static void bnx2x_init_wr_wb/{ @@ -2834,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 @@ -3155,7 +3162,7 @@ clean_mk CONFIG_USB_UEAGLEATM drivers/usb/atm/Makefile # host -announce USB_XHCI_PCI_RENESAS - "Support for additional Renesas xHCI controller with firwmare" +announce USB_XHCI_PCI_RENESAS - "Support for additional Renesas xHCI controller with firmware" if grep -q 'firmware_request_nowarn' drivers/usb/host/xhci-pci-renesas.c; then reject_firmware_nowarn drivers/usb/host/xhci-pci-renesas.c else diff --git a/deblob-check b/deblob-check index 2603392be8d..bbe77352dbf 100755 --- a/deblob-check +++ b/deblob-check @@ -5,6 +5,7 @@ # modified with 2022-01-27 r18550 # modified with 2022-01-29 r18573 # modified with 2022-02-23 r18607 +# modified with 2022-03-20 r18637 # Inspired in gNewSense's find-firmware script. # Written by Alexandre Oliva @@ -6304,6 +6305,9 @@ set_except () { # New in 5.16.11, 5.15.25, 5.10.102. blobname 'gsl1680-rwc-nanote-p8\.fw' drivers/platform/x86/touchscreen_dmi.c + # New in 5.16.17, 5.15.31, 5.10.108. + blobna 'if[ ][(]loaded_fw_\(major\|minor\|eng\|rev\)[ ]\(!=\|<\)[ ]BCM_5710_FW_\(MAJOR\|MINOR\|ENGINEERING\|REVISION\)_VERSION\(_V15\)\?\([ ][|][|][\n][\t ]*loaded_fw_\(major\|minor\|eng\|rev\)[ ]\(!=\|<\)[ ]BCM_5710_FW_\(MAJOR\|MINOR\|ENGINEERING\|REVISION\)_VERSION\(_V15\)\?\)*[)]' drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c + ;; */*freedo*.patch | */*logo*.patch)