X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=deblob-2.6.31;h=10f95c9904a13ba8cd763e7499db49529493df21;hb=738f640d6322463b9ab1363835b7a5cfd19f4f16;hp=2b51f4891741797af3c2729bc8face35e891ed14;hpb=b917c7d1a0f4ac861521221321736dd3dbc5abb6;p=releases.git diff --git a/deblob-2.6.31 b/deblob-2.6.31 index 2b51f4891741..10f95c9904a1 100755 --- a/deblob-2.6.31 +++ b/deblob-2.6.31 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2008, 2009 Alexandre Oliva +# Copyright (C) 2008, 2009, 2010 Alexandre Oliva # Copyright (C) 2008 Jeff Moe # Copyright (C) 2009 Rubén Rodríguez # @@ -45,7 +45,7 @@ # For each kver release, start extra with an empty string, then count # from 1 if changes are needed that require rebuilding the tarball. -kver=2.6.31 extra=1 +kver=2.6.31 extra=3 case $1 in --force) @@ -80,7 +80,9 @@ else fi filetest () { - [ -f $1 ] + if [ ! -f $1 ]; then + die $1 does not exist, something is wrong && return 1 + fi } announce () { @@ -186,8 +188,9 @@ clean_mk () { clean_sed () { #$1 = sed-script $2 = file $3 = comment filetest $2 || return - sed -e "$1" "$2" > "$2".deblob - check_changed $2 && echo $2: ${3-applied sed script $1} + sed -e "$1" "$2" > "$2".deblob || { + die $2: failed: ${3-applied sed script $1} && return 1; } + check_changed $2 && echo $2: ${3-applied sed script $1} } reject_firmware () { @@ -1021,7 +1024,7 @@ clean_sed ' /for (p = PhyUcode/i\ printk("%s: missing Free firmware\\n", __func__);\ return (STATUS_FAILURE);\ -#define PhyUcode NULL +#define PhyUcode NULL }' drivers/staging/sxg/sxg.c 'report missing Free firmware' clean_blob drivers/staging/sxg/sxg.c clean_kconfig drivers/staging/sxg/Kconfig 'SXG' @@ -1383,7 +1386,7 @@ clean_sed ' /^INT[ ]set_eFuseLoadFromBin_Proc(/,/^}$/{ /src = kmalloc/i\ printk("%s: missing Free firmware\\n", __func__);\ - return FALSE; + return FALSE; }' drivers/staging/rt2860/common/eeprom.c 'report missing Free firmware' clean_blob drivers/staging/rt2860/common/eeprom.c clean_kconfig drivers/staging/rt2860/Kconfig RT2860 @@ -1397,7 +1400,7 @@ clean_mk CONFIG_RT2870 drivers/staging/rt2870/Makefile announce RT3070 - "Ralink 3070 wireless support" clean_file drivers/staging/rt3070/firmware.h clean_kconfig drivers/staging/rt3070/Kconfig RT3070 -clean_kconfig 'CONFIG_RT3070' drivers/staging/rt3070/Makefile +clean_mk CONFIG_RT3070 drivers/staging/rt3070/Makefile announce RTL8192SU - "RealTek RTL8192SU Wireless LAN NIC driver" reject_firmware drivers/staging/rtl8192su/r819xU_firmware.c @@ -1510,6 +1513,14 @@ clean_mk CONFIG_COMEDI_USB_DRIVERS drivers/staging/comedi/drivers/Makefile announce ME4000 - "Meilhaus ME-4000 I/O board" clean_file drivers/staging/me4000/me4000_firmware.h clean_file drivers/staging/me4000/me4610_firmware.h +clean_sed ' +/^static int me4000_xilinx_download([^;]*$/,/^}$/{ + /firm = .*xilinx_firm.*/i\ + printk(KERN_ERR "me4000: Missing Free firmware\\n");\ + return -EIO; +} +' drivers/staging/me4000/me4000.c 'report missing Free firmware' +clean_blob drivers/staging/me4000/me4000.c clean_kconfig drivers/staging/me4000/Kconfig 'ME4000' clean_mk CONFIG_ME4000 drivers/staging/me4000/Makefile @@ -1990,6 +2001,7 @@ clean_blob Documentation/sound/alsa/ALSA-Configuration.txt clean_blob Documentation/sound/oss/MultiSound clean_blob Documentation/sound/oss/PSS clean_blob Documentation/sound/oss/PSS-updates +clean_blob Documentation/sound/oss/README.OSS clean_file Documentation/dvb/get_dvb_firmware clean_file Documentation/video4linux/extract_xc3028.pl clean_sed s,usb8388,whatever,g drivers/base/Kconfig 'removed blob name'