1085ac4b75abce38eafa44ac27ff1b9bf8ada37b
[releases.git] / deblob-2.6.27
1 #!/bin/sh
2
3 #    Copyright (C) 2008, 2009, 2010 Alexandre Oliva <lxoliva@fsfla.org>
4 #    Copyright (C) 2008 Jeff Moe
5 #    Copyright (C) 2009 Rubén Rodríguez <ruben@gnu.org>
6 #
7 #    This program is free software; you can redistribute it and/or modify
8 #    it under the terms of the GNU General Public License as published by
9 #    the Free Software Foundation; either version 2 of the License, or
10 #    (at your option) any later version.
11 #
12 #    This program is distributed in the hope that it will be useful,
13 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #    GNU General Public License for more details.
16 #
17 #    You should have received a copy of the GNU General Public License
18 #    along with this program; if not, write to the Free Software
19 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
20
21
22 # deblob - remove non-free blobs from the vanilla linux kernel
23
24 # http://www.fsfla.org/svn/fsfla/software/linux-libre
25
26
27 # This script, suited for the kernel version named below, in kver,
28 # attempts to remove only non-Free Software bits, without removing
29 # Free Software that happens to be in the same file.
30
31 # Drivers that currently require non-Free firmware are retained, but
32 # firmware included in GPLed sources is replaced with /*(DEBLOBBED)*/
33 # if the deblob-check script, that knows how to do this, is present.
34 # -lxoliva
35
36
37 # See also:
38 # http://wiki.debian.org/KernelFirmwareLicensing
39 # svn://svn.debian.org/kernel/dists/trunk/linux-2.6/debian/patches/debian/dfsg/files-1
40 # http://svn.gnewsense.svnhopper.net/gnewsense/builder/trunk/firmware/firmware-removed
41 # http://svn.gnewsense.svnhopper.net/gnewsense/builder/trunk/gen-kernel
42
43 # Thanks to Brian Brazil @ gnewsense
44
45
46 # For each kver release, start extra with an empty string, then count
47 # from 1 if changes are needed that require rebuilding the tarball.
48 kver=2.6.27 extra=4
49
50 case $1 in
51 --force)
52   echo "WARNING: Using the force, ignored errors will be" >&2
53   die () {
54     echo ERROR: "$@" >&2
55     errors=:
56   }
57   forced=: errors=false
58   shift
59   ;;
60 *)
61   die () {
62     echo ERROR: "$@" >&2
63     echo Use --force to ignore
64     exit 1
65   }
66   forced=false errors=false
67   ;;
68 esac
69
70 check=`echo "$0" | sed 's,[^/]*$,,;s,^$,.,;s,/*$,,'`/deblob-check
71 if [ ! -f $check ] ; then
72   if $forced; then
73     die deblob-check script missing, will remove entire files
74   else
75     die deblob-check script missing
76   fi
77   have_check=false
78 else
79   have_check=:
80 fi
81
82 filetest () {
83   if [ ! -f $1 ]; then
84     die $1 does not exist, something is wrong && return 1
85   fi
86 }
87
88 announce () {
89   echo
90   echo "$@"
91 }
92
93 clean_file () {
94   #$1 = filename
95   filetest $1 || return
96   rm $1
97   echo $1: removed
98 }
99
100 check_changed () {
101   #$1 = filename
102   if cmp $1.deblob $1 > /dev/null; then
103     rm $1.deblob
104     die $1 did not change, something is wrong && return 1
105   fi
106   mv $1.deblob $1
107 }
108
109 clean_blob () {
110   #$1 = filename
111   filetest $1 || return
112   if $have_check; then
113     name=$1
114     set fnord "$@" -d
115     shift 2
116     $check "$@" -i linux-$kver $name > $name.deblob
117     check_changed $name && echo $name: removed blobs
118   else
119     clean_file $1
120   fi
121 }
122
123 dummy_blob () {
124   #$1 = filename
125   if test -f $1; then
126     die $1 exists, something is wrong && return
127   elif test ! -f firmware/Makefile; then
128     die firmware/Makefile does not exist, something is wrong && return
129   fi
130
131   clean_sed "s,`echo $1 | sed s,^firmware/,,`,\$(DEBLOBBED),g" \
132     firmware/Makefile "dropped $1"
133 }
134
135 clean_fw () {
136   #$1 = firmware text input, $2 = firmware output
137   filetest $1 || return
138   if test -f $2; then
139     die $2 exists, something is wrong && return
140   fi
141   clean_blob $1 -s 4
142   dummy_blob $2
143 }
144
145 drop_fw_file () {
146   #$1 = firmware text input, $2 = firmware output
147   filetest $1 || return
148   if test -f $2; then
149     die $2 exists, something is wrong && return
150   fi
151   clean_file $1
152   dummy_blob $2
153 }
154
155 clean_kconfig () {
156   #$1 = filename $2 = things to remove
157   case $1 in
158   -f)
159     shift
160     ;;
161   *)
162     if $have_check; then
163       return
164     fi
165     ;;
166   esac
167   filetest $1 || return
168   sed "/^config \\($2\\)\$/{p;i\
169         depends on NONFREE
170 d;}" $1 > $1.deblob
171   check_changed $1 && echo $1: marked config $2 as depending on NONFREE
172 }
173
174 clean_mk () {
175   #$1 = config $2 = Makefile name
176   # We don't clean up Makefiles any more --lxoliva
177   # sed -i "/\\($1\\)/d" $2
178   # echo $2: removed $1 support
179   # check_changed $2
180   filetest $2 || return
181   if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
182     :
183   else
184     die $2 does not contain matches for $1
185   fi
186 }
187
188 clean_sed () {
189   #$1 = sed-script $2 = file $3 = comment
190   filetest $2 || return
191   sed -e "$1" "$2" > "$2".deblob || {
192     die $2: failed: ${3-applied sed script $1} && return 1; }
193   check_changed $2 && echo $2: ${3-applied sed script $1}
194 }
195
196 reject_firmware () {
197   #$1 = file
198   filetest $1 || return
199   clean_sed '
200 s,request\(_ihex\)\?_firmware\(_nowait\)\?,reject_firmware\2,g
201 ' "$1" 'disabled non-Free firmware-loading machinery'
202 }
203
204 undefine_macro () {
205   #$1 - macro name
206   #$2 - substitution
207   #$3 - message
208   #rest - file names
209   macro=$1 repl=$2 msg=$3; shift 3
210   for f in "$@"; do
211     clean_sed "
212 s,^#define $macro .*\$,/*(DEBLOBBED)*/,;
213 s,$macro,$repl,g;
214 " "$f" "$msg"
215   done
216 }
217
218 undefault_firmware () {
219   #$1 - pattern such that $1_DEFAULT_FIRMWARE is #defined to non-Free firmware
220   #$@ other than $1 - file names
221   macro="$1"_DEFAULT_FIRMWARE; shift
222   undefine_macro "$macro" "\"/*(DEBLOBBED)*/\"" \
223     "disabled non-Free firmware" "$@"
224 }
225
226 # First, check that files that contain firmwares and their
227 # corresponding sources are present.
228
229 for f in \
230   drivers/char/ser_a2232fw.h \
231     drivers/char/ser_a2232fw.ax \
232   drivers/net/ixp2000/ixp2400_rx.ucode \
233     drivers/net/ixp2000/ixp2400_rx.uc \
234   drivers/net/ixp2000/ixp2400_tx.ucode \
235     drivers/net/ixp2000/ixp2400_rx.uc \
236   drivers/net/wan/wanxlfw.inc_shipped \
237     drivers/net/wan/wanxlfw.S \
238   drivers/net/wireless/atmel.c \
239     drivers/net/wireless/atmel.c \
240   drivers/scsi/53c700_d.h_shipped \
241     drivers/scsi/53c700.scr \
242   drivers/scsi/aic7xxx/aic79xx_seq.h_shipped \
243     drivers/scsi/aic7xxx/aic79xx.seq \
244   drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped \
245     drivers/scsi/aic7xxx/aic7xxx.seq \
246   drivers/scsi/aic7xxx_old/aic7xxx_seq.c \
247     drivers/scsi/aic7xxx_old/aic7xxx.seq \
248   drivers/scsi/53c7xx_d.h_shipped \
249     drivers/scsi/53c7xx.scr \
250   drivers/scsi/sym53c8xx_2/sym_fw1.h \
251     drivers/scsi/sym53c8xx_2/sym_fw1.h \
252   drivers/scsi/sym53c8xx_2/sym_fw2.h \
253     drivers/scsi/sym53c8xx_2/sym_fw2.h \
254   firmware/dsp56k/bootstrap.bin.ihex \
255     firmware/dsp56k/bootstrap.asm \
256   firmware/keyspan_pda/keyspan_pda.HEX \
257     firmware/keyspan_pda/keyspan_pda.S \
258   firmware/keyspan_pda/xircom_pgs.HEX \
259     firmware/keyspan_pda/xircom_pgs.S \
260   sound/pci/cs46xx/imgs/cwcdma.h \
261     sound/pci/cs46xx/imgs/cwcdma.asp \
262 ; do
263   if test ! $f; then
264     die $f is not present, something is amiss && return
265   fi
266 done
267
268 # Identify the tarball.
269 grep -q 'EXTRAVERSION.*-libre' Makefile ||
270 clean_sed "s,^EXTRAVERSION.*,&-libre$extra,
271 " Makefile 'added -libre to EXTRAVERSION'
272
273 # Add reject_firmware and maybe_reject_firmware
274 grep -q _LINUX_LIBRE_FIRMWARE_H include/linux/firmware.h ||
275 clean_sed '$i\
276 #ifndef _LINUX_LIBRE_FIRMWARE_H\
277 #define _LINUX_LIBRE_FIRMWARE_H\
278 \
279 #include <linux/device.h>\
280 \
281 #define NONFREE_FIRMWARE "/*(DEBLOBBED)*/"\
282 \
283 static inline int\
284 report_missing_free_firmware(const char *name, const char *what)\
285 {\
286         printk(KERN_ERR "%s: Missing Free %s\\n", name,\
287                what ? what : "firmware");\
288         return -EINVAL;\
289 }\
290 static inline int\
291 reject_firmware(const struct firmware **fw,\
292                 const char *name, struct device *device)\
293 {\
294         const struct firmware *xfw = NULL;\
295         int retval;\
296         report_missing_free_firmware(dev_name(device), NULL);\
297         retval = request_firmware(&xfw, NONFREE_FIRMWARE, device);\
298         if (!retval)\
299                 release_firmware(xfw);\
300         return -EINVAL;\
301 }\
302 static inline int\
303 maybe_reject_firmware(const struct firmware **fw,\
304                       const char *name, struct device *device)\
305 {\
306         if (strstr (name, NONFREE_FIRMWARE))\
307                 return reject_firmware(fw, name, device);\
308         else\
309                 return request_firmware(fw, name, device);\
310 }\
311 static inline void\
312 discard_rejected_firmware(const struct firmware *fw, void *context)\
313 {\
314         release_firmware(fw);\
315 }\
316 static inline int\
317 reject_firmware_nowait(struct module *module, int uevent,\
318                        const char *name, struct device *device,\
319                        void *context,\
320                        void (*cont)(const struct firmware *fw,\
321                                     void *context))\
322 {\
323         int retval;\
324         report_missing_free_firmware(dev_name(device), NULL);\
325         retval = request_firmware_nowait(module, uevent, NONFREE_FIRMWARE,\
326                                          device, NULL,\
327                                          discard_rejected_firmware);\
328         if (retval)\
329                 return retval;\
330         return -EINVAL;\
331 }\
332 static inline int\
333 maybe_reject_firmware_nowait(struct module *module, int uevent,\
334                              const char *name, struct device *device,\
335                              void *context,\
336                              void (*cont)(const struct firmware *fw,\
337                                           void *context))\
338 {\
339         if (strstr (name, NONFREE_FIRMWARE))\
340                 return reject_firmware_nowait(module, uevent, name,\
341                                               device, context, cont);\
342         else\
343                 return request_firmware_nowait(module, uevent, name,\
344                                                device, context, cont);\
345 }\
346 \
347 #endif /* _LINUX_LIBRE_FIRMWARE_H */\
348 ' include/linux/firmware.h 'added non-Free firmware notification support'
349
350 ########
351 # Arch #
352 ########
353
354 # x86
355
356 announce MICROCODE - "Intel IA32 CPU microcode support"
357 reject_firmware arch/x86/kernel/microcode.c
358 clean_blob arch/x86/kernel/microcode.c
359 clean_kconfig arch/x86/Kconfig 'MICROCODE'
360 clean_mk CONFIG_MICROCODE arch/x86/kernel/Makefile
361
362 # arm
363
364 announce IXP4XX_NPE - "IXP4xx Network Processor Engine support"
365 reject_firmware arch/arm/mach-ixp4xx/ixp4xx_npe.c
366 clean_blob Documentation/arm/IXP4xx
367
368 announce ARCH_NETX - "Hilscher NetX based"
369 clean_sed '
370 s,\([" ]\)request_firmware(,\1reject_firmware(,
371 ' arch/arm/mach-netx/xc.c 'disabled non-Free firmware-loading machinery'
372 clean_blob arch/arm/mach-netx/xc.c
373 clean_kconfig arch/arm/Kconfig 'ARCH_NETX'
374 clean_mk CONFIG_ARCH_NETX arch/arm/Makefile
375
376
377 #######
378 # ATM #
379 #######
380
381 announce ATM_AMBASSADOR - "Madge Ambassador, Collage PCI 155 Server"
382 reject_firmware drivers/atm/ambassador.c
383 clean_blob drivers/atm/ambassador.c
384 clean_fw firmware/atmsar11.HEX firmware/atmsar11.fw
385 clean_kconfig drivers/atm/Kconfig 'ATM_AMBASSADOR'
386 clean_mk CONFIG_ATM_AMBASSADOR drivers/atm/Makefile
387
388 announce ATM_FORE200E - "FORE Systems 200E-series"
389 reject_firmware drivers/atm/fore200e.c
390 clean_blob drivers/atm/fore200e.c
391 clean_blob Documentation/networking/fore200e.txt
392 clean_blob drivers/atm/.gitignore
393 clean_blob Documentation/dontdiff
394 clean_kconfig drivers/atm/Kconfig 'ATM_FORE200E'
395 clean_mk CONFIG_ATM_FORE200E drivers/atm/Makefile
396
397
398 ########
399 # char #
400 ########
401
402 announce COMPUTONE - "Computone IntelliPort Plus serial"
403 drop_fw_file firmware/intelliport2.bin.ihex firmware/intelliport2.bin
404 reject_firmware drivers/char/ip2/ip2main.c
405 clean_blob drivers/char/ip2/ip2main.c
406 clean_kconfig drivers/char/Kconfig 'COMPUTONE'
407 clean_mk CONFIG_COMPUTONE drivers/char/Makefile
408
409 announce CYCLADES - "Cyclades async mux support"
410 reject_firmware drivers/char/cyclades.c
411 clean_blob drivers/char/cyclades.c
412 clean_kconfig drivers/char/Kconfig 'CYCLADES'
413 clean_mk CONFIG_CYCLADES drivers/char/Makefile
414
415 announce ISI - "Multi-Tech multiport card support"
416 reject_firmware drivers/char/isicom.c
417 clean_blob drivers/char/isicom.c
418 clean_kconfig drivers/char/Kconfig 'ISI'
419 clean_mk CONFIG_ISI drivers/char/Makefile
420
421 announce MOXA_INTELLIO - "Moxa Intellio support"
422 reject_firmware drivers/char/moxa.c
423 clean_blob drivers/char/moxa.c
424 clean_kconfig drivers/char/Kconfig 'MOXA_INTELLIO'
425 clean_mk CONFIG_MOXA_INTELLIO drivers/char/Makefile
426
427 # gpu drm
428
429 announce DRM_MGA - "Matrox g200/g400"
430 clean_blob drivers/gpu/drm/mga/mga_ucode.h
431 clean_blob drivers/gpu/drm/mga/mga_warp.c
432 clean_kconfig -f drivers/gpu/drm/Kconfig 'DRM_MGA'
433 clean_mk CONFIG_DRM_MGA drivers/gpu/drm/Makefile
434
435 announce DRM_R128 - "ATI Rage 128"
436 clean_sed '
437 /^static void r128_cce_load_microcode(drm_r128_private_t \* dev_priv)/i\
438 #define r128_cce_load_microcode(dev_priv) \\\
439   do { \\\
440     DRM_ERROR("Missing Free microcode!\\n"); \\\
441     dev->dev_private = (void *)dev_priv; \\\
442     r128_do_cleanup_cce(dev); \\\
443     return -EINVAL; \\\
444   } while (0)
445 ' drivers/gpu/drm/r128/r128_cce.c 'report missing Free microcode'
446 clean_blob drivers/gpu/drm/r128/r128_cce.c
447 clean_kconfig -f drivers/gpu/drm/Kconfig 'DRM_R128'
448 clean_mk CONFIG_DRM_R128 drivers/gpu/drm/Makefile
449
450 announce DRM_RADEON - "ATI Radeon"
451 clean_sed '
452 /^static void radeon_cp_load_microcode(drm_radeon_private_t \* dev_priv)/i\
453 #define radeon_cp_load_microcode(dev_priv) \\\
454   do { \\\
455     DRM_ERROR("Missing Free microcode!\\n"); \\\
456     radeon_do_cleanup_cp(dev); \\\
457     return -EINVAL; \\\
458   } while (0)
459 ' drivers/gpu/drm/radeon/radeon_cp.c 'report missing Free microcode'
460 clean_blob drivers/gpu/drm/radeon/radeon_cp.c
461 clean_blob drivers/gpu/drm/radeon/radeon_microcode.h
462 clean_kconfig -f drivers/gpu/drm/Kconfig 'DRM_RADEON'
463 clean_mk CONFIG_DRM_RADEON drivers/gpu/drm/Makefile
464
465
466 #########
467 # Media #
468 #########
469
470 # media/tuner
471
472 announce MEDIA_TUNER_XC2028 - "XCeive xc2028/xc3028 tuners"
473 undefault_firmware 'XC\(2028\|3028L\)' \
474   drivers/media/common/tuners/tuner-xc2028.h \
475   drivers/media/video/saa7134/saa7134-cards.c \
476   drivers/media/video/ivtv/ivtv-driver.c \
477   drivers/media/video/cx18/cx18-driver.c \
478   drivers/media/video/cx88/cx88-cards.c \
479   drivers/media/video/em28xx/em28xx-cards.c \
480   drivers/media/dvb/dvb-usb/dib0700_devices.c
481 reject_firmware drivers/media/common/tuners/tuner-xc2028.c
482 clean_kconfig drivers/media/common/tuners/Kconfig 'MEDIA_TUNER_XC2028'
483 clean_mk CONFIG_MEDIA_TUNER_XC2028 drivers/media/common/tuners/Makefile
484
485 announce MEDIA_TUNER_XC5000 - "Xceive XC5000 silicon tuner"
486 undefine_macro 'XC5000_DEFAULT_FIRMWARE_SIZE' 0 \
487   'removed non-Free firmware size' drivers/media/common/tuners/xc5000.c
488 undefault_firmware 'XC5000' drivers/media/common/tuners/xc5000.c
489 reject_firmware drivers/media/common/tuners/xc5000.c
490 clean_kconfig drivers/media/common/tuners/Kconfig 'MEDIA_TUNER_XC5000'
491 clean_mk CONFIG_MEDIA_TUNER_XC5000 drivers/media/common/tuners/Makefile
492
493 announce DVB_USB - "Support for various USB DVB devices"
494 reject_firmware drivers/media/dvb/dvb-usb/dvb-usb-firmware.c
495 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB'
496 clean_mk CONFIG_DVB_USB drivers/media/dvb/dvb-usb/Makefile
497
498 announce DVB_USB_AF9005 - "Afatech AF9005 DVB-T USB1.1"
499 clean_file drivers/media/dvb/dvb-usb/af9005-script.h
500 clean_sed '
501 s,^     deb_info("load init script\\n");$,      {\n             err("Missing Free init script\\n");\n           return scriptlen = ret = -EINVAL;\n             ,;
502 ' drivers/media/dvb/dvb-usb/af9005-fe.c 'report missing Free init script'
503 clean_blob drivers/media/dvb/dvb-usb/af9005-fe.c
504 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_AF9005'
505 clean_mk CONFIG_DVB_USB_AF9005 drivers/media/dvb/dvb-usb/Makefile
506
507 announce DVB_B2C2_FLEXCOP - "Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters"
508 reject_firmware drivers/media/dvb/b2c2/flexcop-fe-tuner.c
509
510 announce DVB_BT8XX - "BT8xx based PCI cards"
511 reject_firmware drivers/media/dvb/bt8xx/dvb-bt8xx.c
512
513 announce DVB_USB_A800 - "AVerMedia AverTV DVB-T USB 2.0 (A800)"
514 clean_blob drivers/media/dvb/dvb-usb/a800.c
515 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_A800'
516 clean_mk CONFIG_DVB_USB_A800 drivers/media/dvb/dvb-usb/Makefile
517
518 announce DVB_USB_AF9005 - "Afatech AF9005 DVB-T USB1.1 support"
519 clean_blob drivers/media/dvb/dvb-usb/af9005.c
520 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_AF9005'
521 clean_mk CONFIG_DVB_USB_AF9005 drivers/media/dvb/dvb-usb/Makefile
522
523 announce DVB_USB_CXUSB - "Conexant USB2.0 hybrid reference design support"
524 clean_blob drivers/media/dvb/dvb-usb/cxusb.c
525 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_CXUSB'
526 clean_mk CONFIG_DVB_USB_CXUSB drivers/media/dvb/dvb-usb/Makefile
527
528 announce DVB_USB_DIB0700 - "DiBcom DiB0700 USB DVB devices"
529 clean_blob drivers/media/dvb/dvb-usb/dib0700_devices.c
530 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_DIB0700'
531 clean_mk CONFIG_DVB_USB_DIB0700 drivers/media/dvb/dvb-usb/Makefile
532
533 announce DVB_USB_DIBUSB_MB - "DiBcom USB DVB-T devices (based on the DiB3000M-B)"
534 clean_blob drivers/media/dvb/dvb-usb/dibusb-mb.c
535 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_DIBUSB_MB'
536 clean_mk CONFIG_DVB_USB_DIBUSB_MB drivers/media/dvb/dvb-usb/Makefile
537
538 announce DVB_USB_DIBUSB_MC - "DiBcom USB DVB-T devices (based on the DiB3000M-C/P)"
539 clean_blob drivers/media/dvb/dvb-usb/dibusb-mc.c
540 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_DIBUSB_MC'
541 clean_mk CONFIG_DVB_USB_DIBUSB_MC drivers/media/dvb/dvb-usb/Makefile
542
543 announce DVB_USB_DIGITV - "Nebula Electronics uDigiTV DVB-T USB2.0 support"
544 clean_blob drivers/media/dvb/dvb-usb/digitv.c
545 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_DIGITV'
546 clean_mk CONFIG_DVB_USB_DIGITV drivers/media/dvb/dvb-usb/Makefile
547
548 announce DVB_USB_DTT200U - "WideView WT-200U and WT-220U (pen) DVB-T USB2.0 support (Yakumo/Hama/Typhoon/Yuan)"
549 clean_blob drivers/media/dvb/dvb-usb/dtt200u.c
550 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_DTT200U'
551 clean_mk CONFIG_DVB_USB_DTT200U drivers/media/dvb/dvb-usb/Makefile
552
553 announce DVB_USB_DW2102 - "DvbWorld DVB-S/S2 USB2.0 support"
554 reject_firmware drivers/media/dvb/dvb-usb/dw2102.c
555 clean_blob drivers/media/dvb/dvb-usb/dw2102.c
556 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_DW2102'
557 clean_mk CONFIG_DVB_USB_DW2102 drivers/media/dvb/dvb-usb/Makefile
558
559 announce DVB_USB_GP8PSK - "GENPIX 8PSK->USB module support"
560 reject_firmware drivers/media/dvb/dvb-usb/gp8psk.c
561 clean_blob drivers/media/dvb/dvb-usb/gp8psk.c
562 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_GP8PSK'
563 clean_mk CONFIG_DVB_USB_GP8PSK drivers/media/dvb/dvb-usb/Makefile
564
565 announce DVB_USB_M920X - "Uli m920x DVB-T USB2.0 support"
566 reject_firmware drivers/media/dvb/dvb-usb/m920x.c
567 clean_blob drivers/media/dvb/dvb-usb/m920x.c
568 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_M920X'
569 clean_mk CONFIG_DVB_USB_M920X drivers/media/dvb/dvb-usb/Makefile
570
571 announce DVB_USB_NOVA_T_USB2 - "Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 support"
572 clean_blob drivers/media/dvb/dvb-usb/nova-t-usb2.c
573 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_NOVA_T_USB2'
574 clean_mk CONFIG_DVB_USB_NOVA_T_USB2 drivers/media/dvb/dvb-usb/Makefile
575
576 announce DVB_USB_OPERA1 - "Opera1 DVB-S USB2.0 receiver"
577 reject_firmware drivers/media/dvb/dvb-usb/opera1.c
578 clean_blob drivers/media/dvb/dvb-usb/opera1.c
579 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_OPERA1'
580 clean_mk CONFIG_DVB_USB_OPERA1 drivers/media/dvb/dvb-usb/Makefile
581
582 announce DVB_USB_TTUSB2 - "Pinnacle 400e DVB-S USB2.0 support"
583 clean_blob drivers/media/dvb/dvb-usb/ttusb2.c
584 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_TTUSB2'
585 clean_mk CONFIG_DVB_USB_TTUSB2 drivers/media/dvb/dvb-usb/Makefile
586
587 announce DVB_USB_UMT_010 - "HanfTek UMT-010 DVB-T USB2.0 support"
588 clean_blob drivers/media/dvb/dvb-usb/umt-010.c
589 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_UMT_010'
590 clean_mk CONFIG_DVB_USB_UMT_010 drivers/media/dvb/dvb-usb/Makefile
591
592 announce DVB_USB_VP702X - "TwinhanDTV StarBox and clones DVB-S USB2.0 support"
593 clean_blob drivers/media/dvb/dvb-usb/vp702x.c
594 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_VP702X'
595 clean_mk CONFIG_DVB_USB_VP702X drivers/media/dvb/dvb-usb/Makefile
596
597 announce DVB_USB_VP7045 - "TwinhanDTV Alpha/MagicBoxII, DNTV tinyUSB2, Beetle USB2.0 support"
598 clean_blob drivers/media/dvb/dvb-usb/vp7045.c
599 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_VP7045'
600 clean_mk CONFIG_DVB_USB_VP7045 drivers/media/dvb/dvb-usb/Makefile
601
602 # dvb/frontends
603
604 announce DVB_BCM3510 - "Broadcom BCM3510"
605 undefault_firmware 'BCM3510' drivers/media/dvb/frontends/bcm3510.c
606 reject_firmware drivers/media/dvb/frontends/bcm3510.c
607 reject_firmware drivers/media/dvb/frontends/bcm3510.h
608 clean_sed '
609 /You.ll need a firmware/,/dvb-fe-bcm/d;
610 ' drivers/media/dvb/frontends/bcm3510.c \
611   "removed non-Free firmware notes"
612 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_BCM3510'
613 clean_mk CONFIG_DVB_BCM3510 drivers/media/dvb/frontends/Makefile
614
615 announce DVB_NXT200X - "NxtWave Communications NXT2002/NXT2004 based"
616 undefault_firmware 'NXT200[24]' drivers/media/dvb/frontends/nxt200x.c
617 reject_firmware drivers/media/dvb/frontends/nxt200x.c
618 clean_blob drivers/media/dvb/frontends/nxt200x.c
619 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_NXT200X'
620 clean_mk CONFIG_DVB_NXT200X drivers/media/dvb/frontends/Makefile
621
622 announce DVB_OR51132 - "Oren OR51132 based"
623 reject_firmware drivers/media/dvb/frontends/or51132.c
624 clean_blob drivers/media/dvb/frontends/or51132.c
625 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_OR51132'
626 clean_mk CONFIG_DVB_OR51132 drivers/media/dvb/frontends/Makefile
627
628 announce DVB_OR51211 - "Oren OR51211 based"
629 undefault_firmware 'OR51211' drivers/media/dvb/frontends/or51211.c
630 reject_firmware drivers/media/dvb/frontends/or51211.c
631 reject_firmware drivers/media/dvb/frontends/or51211.h
632 clean_blob drivers/media/dvb/frontends/or51211.c
633 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_OR51211'
634 clean_mk CONFIG_DVB_OR51211 drivers/media/dvb/frontends/Makefile
635
636 announce DVB_SP8870 - "Spase sp8870"
637 undefault_firmware 'SP8870' drivers/media/dvb/frontends/sp8870.c
638 reject_firmware drivers/media/dvb/frontends/sp8870.c
639 reject_firmware drivers/media/dvb/frontends/sp8870.h
640 clean_blob drivers/media/dvb/frontends/sp8870.c
641 clean_kconfig drivers/media/dvb/frontends 'DVB_SP8870'
642 clean_mk CONFIG_DVB_SP8870 drivers/media/dvb/frontends/Makefile
643
644 announce DVB_SP887X - "Spase sp887x based"
645 undefault_firmware 'SP887X' drivers/media/dvb/frontends/sp887x.c
646 reject_firmware drivers/media/dvb/frontends/sp887x.c
647 reject_firmware drivers/media/dvb/frontends/sp887x.h
648 clean_blob drivers/media/dvb/frontends/sp887x.c
649 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_SP887X'
650 clean_mk CONFIG_DVB_SP887X drivers/media/dvb/frontends/Makefile
651
652 announce DVB_TDA10048 - "Philips TDA10048HN based"
653 undefine_macro 'TDA10048_DEFAULT_FIRMWARE_SIZE' 0 \
654   'removed non-Free firmware size' drivers/media/dvb/frontends/tda10048.c
655 undefault_firmware 'TDA10048' drivers/media/dvb/frontends/tda10048.c
656 reject_firmware drivers/media/dvb/frontends/tda10048.c
657 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_TDA10048'
658 clean_mk CONFIG_DVB_TDA10048 drivers/media/dvb/frontends/Makefile
659
660 announce DVB_TDA1004X - "Philips TDA10045H/TDA10046H"
661 undefault_firmware 'TDA1004[56]' drivers/media/dvb/frontends/tda1004x.c
662 reject_firmware drivers/media/dvb/frontends/tda1004x.c
663 reject_firmware drivers/media/dvb/frontends/tda1004x.h
664 clean_blob drivers/media/dvb/frontends/tda1004x.c
665 clean_kconfig drivers/media/dvb/frontends 'DVB_TDA1004X'
666 clean_mk CONFIG_DVB_TDA1004X drivers/media/dvb/frontends/Makefile
667
668 # dvb
669
670 announce DVB_AV7110 - "AV7110 cards"
671 # The bootcode is actually Free Software under GPLv2, but since it's
672 # being distributed without source code, we're taking it out for now.
673 clean_sed '
674 s,^     \/\* boot \*\/$,        printk(KERN_ERR "dvb-ttpci: av7110_bootarm(): Missing Free bootcode\\n");\n     return -EINVAL;\n\n&,
675 ' drivers/media/dvb/ttpci/av7110_hw.c 'report missing Free bootcode'
676 clean_sed '
677 s,mwdebi(.*bootcode.*$,/* & */,
678 ' drivers/media/dvb/ttpci/av7110_hw.c 'adjust bootcode loader'
679 clean_blob drivers/media/dvb/ttpci/av7110_hw.c
680 reject_firmware drivers/media/dvb/ttpci/av7110.c
681 clean_blob drivers/media/dvb/ttpci/av7110.c
682 clean_sed '
683 /^config DVB_AV7110_FIRMWARE_FILE$/, /^config / {
684   /^    default.*dvb-ttpci-01/ s,".*","/*(DEBLOBBED)*/",;
685 }' drivers/media/dvb/ttpci/Kconfig 'removed default firmware'
686 clean_kconfig -f drivers/media/dvb/ttpci/Kconfig 'DVB_AV7110_FIRMWARE'
687 clean_kconfig drivers/media/dvb/ttpci/Kconfig 'DVB_AV7110'
688 clean_mk CONFIG_DVB_AV7110 drivers/media/dvb/ttpci/Makefile
689
690 announce DVB_BUDGET_AV - "Budget cards with analog video inputs"
691 reject_firmware drivers/media/dvb/ttpci/budget-av.c
692
693 announce DVB_BUDGET_CI - "Budget cards with onboard CI connector"
694 reject_firmware drivers/media/dvb/ttpci/budget-ci.c
695
696 announce DVB_DRX397XD - "Micronas DRX3975D/DRX3977D based"
697 reject_firmware drivers/media/dvb/frontends/drx397xD.c
698 clean_blob drivers/media/dvb/frontends/drx397xD_fw.h
699 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_DRX397XD'
700 clean_mk CONFIG_DVB_DRX397XD drivers/media/dvb/frontends/Makefile
701
702 announce DVB_PLUTO2 - "Pluto2 cards"
703 reject_firmware drivers/media/dvb/pluto2/pluto2.c
704
705 announce DVB_SIANO_SMS1XXX - "Siano SMS1XXX USB dongle support"
706 reject_firmware drivers/media/dvb/siano/smscoreapi.c
707 reject_firmware drivers/media/dvb/siano/smsusb.c
708 clean_blob drivers/media/dvb/siano/smscoreapi.c
709 clean_blob drivers/media/dvb/siano/smsusb.c
710 clean_blob drivers/media/dvb/siano/sms-cards.c
711 clean_kconfig drivers/media/dvb/siano/Kconfig 'DVB_SIANO_SMS1XXX'
712 clean_mk CONFIG_DVB_SIANO_SMS1XXX drivers/media/dvb/siano/Makefile
713
714 announce DVB_TTUSB_BUDGET - "Technotrend/Hauppauge Nova-USB devices"
715 drop_fw_file firmware/ttusb-budget/dspbootcode.bin.ihex firmware/ttusb-budget/dspbootcode.bin
716 reject_firmware drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
717 clean_blob drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
718 clean_kconfig drivers/media/dvb/ttusb-budget/Kconfig 'DVB_TTUSB_BUDGET'
719 clean_mk CONFIG_DVB_TTUSB_BUDGET drivers/media/dvb/ttusb-budget/Makefile
720
721 announce DVB_TTUSB_DEC - "Technotrend/Hauppauge USB DEC devices"
722 reject_firmware drivers/media/dvb/ttusb-dec/ttusb_dec.c
723 clean_blob drivers/media/dvb/ttusb-dec/ttusb_dec.c
724 clean_kconfig drivers/media/dvb/ttusb-dec/Kconfig 'DVB_TTUSB_DEC'
725 clean_mk CONFIG_DVB_TTUSB_DEC drivers/media/dvb/ttusb-dec/Makefile
726
727 # video
728
729 announce VIDEO_BT848 - "BT848 Video For Linux"
730 reject_firmware drivers/media/video/bt8xx/bttv-cards.c
731 clean_kconfig drivers/media/video/bt8xx/Kconfig 'VIDEO_BT848'
732 clean_mk CONFIG_VIDEO_BT848 drivers/media/video/bt8xx/Makefile
733
734 announce VIDEO_CPIA2 - "CPiA2 Video For Linux"
735 clean_fw firmware/cpia2/stv0672_vp4.bin.ihex firmware/cpia2/stv0672_vp4.bin
736 reject_firmware drivers/media/video/cpia2/cpia2_core.c
737 clean_blob drivers/media/video/cpia2/cpia2_core.c
738 clean_kconfig drivers/media/video/cpia2/Kconfig 'VIDEO_CPIA2'
739 clean_mk CONFIG_VIDEO_CPIA2 drivers/media/video/cpia2/Makefile
740
741 announce VIDEO_CX18 - "Conexant cx23418 MPEG encoder support"
742 reject_firmware drivers/media/video/cx18/cx18-av-firmware.c
743 reject_firmware drivers/media/video/cx18/cx18-firmware.c
744 clean_blob drivers/media/video/cx18/cx18-av-firmware.c
745 clean_blob drivers/media/video/cx18/cx18-firmware.c
746 clean_kconfig drivers/media/video/cx18/Kconfig 'VIDEO_CX18'
747 clean_mk CONFIG_VIDEO_CX18 drivers/media/video/cx18/Makefile
748
749 announce VIDEO_CX23885 - "Conexant cx23885 (2388x successor) support"
750 reject_firmware drivers/media/video/cx23885/cx23885-417.c
751 clean_blob drivers/media/video/cx23885/cx23885-417.c
752 clean_blob drivers/media/video/cx23885/cx23885-dvb.c
753 clean_kconfig drivers/media/video/cx23885/Kconfig 'VIDEO_CX23885'
754 clean_mk CONFIG_VIDEO_CX23885 drivers/media/video/cx23885/Makefile
755
756 announce VIDEO_CX25840 - "Conexant CX2584x audio/video decoders"
757 reject_firmware drivers/media/video/cx25840/cx25840-firmware.c
758 clean_blob drivers/media/video/cx25840/cx25840-firmware.c
759 clean_kconfig drivers/media/video/cx25840/Kconfig 'VIDEO_CX25840'
760 clean_mk CONFIG_VIDEO_CX25840 drivers/media/video/cx25840/Makefile
761
762 announce VIDEO_CX88_BLACKBIRD - "Blackbird MPEG encoder support (cx2388x + cx23416)"
763 reject_firmware drivers/media/video/cx88/cx88-blackbird.c
764 clean_kconfig drivers/media/video/cx88/Kconfig 'VIDEO_CX88_BLACKBIRD'
765 clean_mk CONFIG_VIDEO_CX88_BLACKBIRD drivers/media/video/cx88/Makefile
766
767 announce VIDEO_CX88_DVB - "DVB/ATSC Support for cx2388x based TV cards"
768 clean_blob drivers/media/video/cx88/cx88-dvb.c
769 clean_kconfig drivers/media/video/cx88/Kconfig 'VIDEO_CX88_DVB'
770 clean_mk CONFIG_VIDEO_CX88_DVB drivers/media/video/cx88/Makefile
771
772 announce VIDEO_IVTV - "Conexant cx23416/cx23415 MPEG encoder/decoder support"
773 reject_firmware drivers/media/video/ivtv/ivtv-firmware.c
774 clean_blob drivers/media/video/ivtv/ivtv-firmware.c
775 clean_kconfig drivers/media/video/ivtv/Kconfig 'VIDEO_IVTV'
776 clean_mk CONFIG_VIDEO_IVTV drivers/media/video/ivtv/Makefile
777
778 announce VIDEO_PVRUSB2 - "Hauppauge WinTV-PVR USB2 support"
779 reject_firmware drivers/media/video/pvrusb2/pvrusb2-hdw.c
780 clean_blob drivers/media/video/pvrusb2/pvrusb2-devattr.c
781 clean_kconfig drivers/media/video/pvrusb2/Kconfig 'VIDEO_PVRUSB2'
782 clean_mk CONFIG_VIDEO_PVRUSB2 drivers/media/video/pvrusb2/Makefile
783
784 announce "VIDEO_CX23885, VIDEO_CX88_BLACKBIRD, VIDEO_IVTV, VIDEO_PVRUSB2" - "See above"
785 clean_blob include/media/cx2341x.h
786
787 announce VIDEO_SAA7134_DVB - "DVB/ATSC Support for saa7134 based TV cards"
788 reject_firmware drivers/media/video/saa7134/saa7134-dvb.c
789 clean_kconfig drivers/media/video/saa7134/Kconfig 'VIDEO_SAA7134_DVB'
790 clean_mk CONFIG_VIDEO_SAA7134_DVB drivers/media/video/saa7134/Makefile
791
792 announce USB_DABUSB - "DABUSB driver"
793 clean_fw firmware/dabusb/bitstream.bin.ihex firmware/dabusb/bitstream.bin
794 clean_fw firmware/dabusb/firmware.HEX firmware/dabusb/firmware.fw
795 reject_firmware drivers/media/video/dabusb.c
796 clean_blob drivers/media/video/dabusb.c
797 clean_kconfig drivers/media/Kconfig 'USB_DABUSB'
798 clean_mk CONFIG_USB_DABUSB drivers/media/video/Makefile
799
800 announce USB_S2255 - "USB Sensoray 2255 video capture device"
801 reject_firmware drivers/media/video/s2255drv.c
802 clean_blob drivers/media/video/s2255drv.c
803 clean_kconfig drivers/media/video/Kconfig 'USB_S2255'
804 clean_mk CONFIG_USB_S2255 drivers/media/video/Makefile
805
806 announce USB_VICAM - "USB 3com HomeConnect, AKA vicam"
807 drop_fw_file firmware/vicam/firmware.H16 firmware/vicam/firmware.fw
808 reject_firmware drivers/media/video/usbvideo/vicam.c
809 clean_blob drivers/media/video/usbvideo/vicam.c
810 clean_kconfig drivers/media/video/usbvideo/Kconfig 'USB_VICAM'
811 clean_mk CONFIG_USB_VICAM drivers/media/video/usbvideo/Makefile
812
813
814 #######
815 # net #
816 #######
817
818 announce ACENIC - "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit"
819 clean_blob drivers/net/acenic_firmware.h
820 clean_sed '
821 s,      \(ace_load_firmware[^;]*\),     if ((ecode = \1)) goto init_error,
822 ' drivers/net/acenic.c 'check for error in firmware loading'
823 clean_sed '
824 /^static int __devinit ace_load_firmware([^;]*$/,/^}$/{
825   /^}$/i\
826 }\
827         printk(KERN_ERR "%s: Missing Free firwmare\\n", ap->name);\
828         return -EINVAL;
829 }' drivers/net/acenic.c 'report missing Free firmware'
830 clean_blob drivers/net/acenic.c
831 clean_kconfig drivers/net/Kconfig 'ACENIC'
832 clean_mk CONFIG_ACENIC drivers/net/Makefile
833
834 announce ADAPTEC_STARFIRE - "Adaptec Starfire/DuraLAN support"
835 # This file requires prior acceptance of the GPL before you can even
836 # run the code in it.  It's not clear whether this is a further
837 # requirement that would make the distribution incompatible with the
838 # GPL, but since nothing remains after we remove the blob, it's
839 # irrelevant whether the explicit acceptance would be a problem.
840 clean_file drivers/net/starfire_firmware.h
841 clean_file drivers/net/starfire_firmware.pl
842 clean_sed '
843 /Load Rx\/Tx firmware/i\
844         printk (KERN_ERR "%s: Missing Free firmware\\n", dev->name);\
845         return -EINVAL;
846 ' drivers/net/starfire.c 'report missing Free firmware'
847 clean_blob drivers/net/starfire.c
848 clean_kconfig drivers/net/Kconfig 'ADAPTEC_STARFIRE'
849 clean_mk CONFIG_ADAPTEC_STARFIRE drivers/net/Makefile
850
851 announce BNX2 - "Broadcom NetXtremeII"
852 clean_file drivers/net/bnx2_fw.h
853 clean_file drivers/net/bnx2_fw2.h
854 clean_sed '
855 / bnx2_init_cpus(/i\
856         printk (KERN_ERR "%s: Missing Free firmware\\n", bp->dev->name);\
857         return -EINVAL;\
858 #define bnx2_init_cpus(bp) (-EINVAL)
859 ' drivers/net/bnx2.c 'report missing Free firmware'
860 clean_blob drivers/net/bnx2.c
861 clean_kconfig drivers/net/Kconfig 'BNX2'
862 clean_mk CONFIG_BNX2 drivers/net/Makefile
863
864 announce BNX2X - "Broadcom NetXtremeII 10Gb support"
865 clean_blob drivers/net/bnx2x_init_values.h
866 clean_blob drivers/net/bnx2x_init.h
867 clean_sed '
868 /^#include "bnx2x_init\.h"/,/^$/{
869   /^$/i\
870 #define bnx2x_init_block(bp, start, end) \\\
871   return (printk(KERN_ERR PFX "%s: Missing Free firmware\\n", bp->dev->name),\\\
872           -EINVAL)
873 }' drivers/net/bnx2x_main.c 'report missing Free firmware'
874 clean_blob drivers/net/bnx2x_hsi.h
875 clean_kconfig drivers/net/Kconfig 'BNX2X'
876 clean_mk CONFIG_BNX2X drivers/net/Makefile
877
878 announce CASSINI - "Sun Cassini"
879 clean_blob drivers/net/cassini.h
880 clean_sed '
881 /^static void cas_saturn_firmware_load(/,/^}$/{
882   /patch = cas_saturn_patch/{
883     s,cas_saturn_patch;,NULL;,;
884     p;
885     i\
886 \
887         printk(KERN_ERR "%s: Missing Free firmware\\n", cp->dev->name);\
888         return;\
889
890     d;
891   }
892 }' drivers/net/cassini.c 'report missing Free firmware'
893 clean_kconfig drivers/net/Kconfig 'CASSINI'
894 clean_mk CONFIG_CASSINI drivers/net/Makefile
895
896 announce CHELSIO_T3 - "Chelsio AEL 2005 support"
897 reject_firmware drivers/net/cxgb3/cxgb3_main.c
898 clean_blob drivers/net/cxgb3/cxgb3_main.c
899 clean_kconfig drivers/net/Kconfig 'CHELSIO_T3'
900 clean_mk CONFIG_CHELSIO_T3 drivers/net/cxgb3/Makefile
901
902 announce E100 - "Intel PRO/100+"
903 clean_sed '
904 /^static void e100_setup_ucode([^;]*$/,/^}$/{
905   /^    } ucode_opts\[\] = {$/,/^       }[,;]/ {
906     s,D[^,]*_RCVBUNDLE_UCODE,/*(DEBLOBBED)*/{0},g;
907     s,D[^,]*_CPUSAVER_\(TIMER\|BUNDLE\|MIN_SIZE\)_DWORD,/*(DEBLOBBED)*/0,g;
908   }
909   /^    for ([^;]*ucode_opts[^{]*) {$/,/^       }$/ {
910     /^  }$/ i\
911         }\
912                 DPRINTK(DRV, ERR, "Missing Free firmware, proceeding without\\n");\
913                 goto noloaducode;
914   }
915 }
916 ' drivers/net/e100.c 'report missing Free firmware for some variants'
917 clean_blob drivers/net/e100.c
918 clean_kconfig drivers/net/Kconfig 'E100'
919 clean_mk CONFIG_E100 drivers/net/Makefile
920
921 announce MYRI_SBUS - "MyriCOM Gigabit Ethernet"
922 clean_file drivers/net/myri_code.h
923 clean_sed '
924 /myri_load_lanai.*;/{
925   i\
926         printk(KERN_ERR "Missing Free firmware\\n");\
927         goto err_free_irq;
928 }' drivers/net/myri_sbus.c 'report missing Free firmware'
929 clean_blob drivers/net/myri_sbus.c
930 clean_kconfig drivers/net/Kconfig 'MYRI_SBUS'
931 clean_mk CONFIG_MYRI_SBUS drivers/net/Makefile
932
933 announce MYRI10GE - "Myricom Myri-10G Ethernet support"
934 reject_firmware drivers/net/myri10ge/myri10ge.c
935 clean_blob drivers/net/myri10ge/myri10ge.c
936 clean_kconfig drivers/net/Kconfig 'MYRI10GE'
937 clean_mk CONFIG_MYRI10GE drivers/net/myri10ge/Makefile
938
939 announce SPIDER_NET - "Spider Gigabit Ethernet driver"
940 reject_firmware drivers/net/spider_net.c
941 clean_sed 's,spider_fw\.bin,DEBLOBBED.bin,g' \
942   drivers/net/spider_net.c 'removed non-Free firmware notes'
943 clean_blob drivers/net/spider_net.h
944 clean_kconfig drivers/net/Kconfig 'SPIDER_NET'
945 clean_mk CONFIG_SPIDER_NET drivers/net/Makefile
946
947 announce TEHUTI - "Tehuti Networks 10G Ethernet"
948 clean_blob drivers/net/tehuti_fw.h
949 clean_sed '
950 /bdx_tx_push_desc_safe.*s_firmLoad.*/{
951   i\
952                 ERR("%s: Missing Free firmware\\n", priv->ndev->name);\
953                 RET(-EINVAL);
954 }' drivers/net/tehuti.c 'report missing Free firmware'
955 clean_blob drivers/net/tehuti.c
956 clean_kconfig drivers/net/Kconfig 'TEHUTI'
957 clean_mk CONFIG_TEHUTI drivers/net/Makefile
958
959 announce TIGON3 - "Broadcom Tigon3"
960 clean_sed '
961 s,\&tg3\(Tso5\?\)\?Fw\(Text\|Rodata\|Data\)\[0\],NULL,;
962 /^static int tg3_load_firmware_cpu([^;]*$/,/^}/{
963   /^    err = 0;/{
964     i\
965         printk(KERN_ERR PFX "Missing Free firmware for %s, hoping it works anyway\\n",\
966                tp->dev->name);
967   }
968 }' drivers/net/tg3.c 'report missing Free firmware, proceed without it'
969 clean_blob drivers/net/tg3.c
970 clean_kconfig drivers/net/Kconfig 'TIGON3'
971 clean_mk CONFIG_TIGON3 drivers/net/Makefile
972
973 announce TYPHOON - "3cr990 series Typhoon"
974 clean_blob drivers/net/typhoon-firmware.h
975 clean_sed '
976 /^typhoon_download_firmware([^;]*$/,/^}/{
977   /typhoon_firmware_image/{
978     i\
979         printk(KERN_ERR "%s: Missing Free firmware\\n", tp->name);\
980         err = -EINVAL;\
981         goto err_out;
982     d;
983   }
984 }' drivers/net/typhoon.c 'report missing Free firmware'
985 clean_kconfig drivers/net/Kconfig 'TYPHOON'
986 clean_mk CONFIG_TYPHOON drivers/net/Makefile
987
988 # appletalk
989
990 announce COPS - "COPS LocalTalk PC"
991 clean_sed '
992 /sizeof(\(ff\|lt\)drv_code)/{
993   i\
994                 printk(KERN_INFO "%s: Missing Free firmware.\\n", dev->name);\
995                 return;
996 }
997 /\(ff\|lt\)drv_code/d;
998 ' drivers/net/appletalk/cops.c 'report missing Free firmware'
999 clean_blob drivers/net/appletalk/cops.c
1000 clean_file drivers/net/appletalk/cops_ffdrv.h
1001 clean_file drivers/net/appletalk/cops_ltdrv.h
1002 clean_kconfig drivers/net/appletalk/Kconfig 'COPS'
1003 clean_mk CONFIG_COPS drivers/net/appletalk/Makefile
1004
1005 # hamradio
1006
1007 announce YAM - "YAM driver for AX.25"
1008 clean_file drivers/net/hamradio/yam1200.h
1009 clean_file drivers/net/hamradio/yam9600.h
1010 clean_sed '
1011 /add_mcs(bits_\(12\|96\)00, bitrate)/{
1012   i\
1013                 printk(KERN_ERR "yam: Missing Free firmware\\n");
1014   s:add_mcs(bits_\(12\|96\)00, bitrate):NULL:
1015 }' drivers/net/hamradio/yam.c 'report missing Free firmware'
1016 clean_blob drivers/net/hamradio/yam.c
1017 clean_kconfig drivers/net/hamradio/Kconfig 'YAM'
1018 clean_mk CONFIG_YAM drivers/net/hamradio/Makefile
1019
1020 # irda
1021
1022 announce USB_IRDA - "IrDA USB dongles"
1023 reject_firmware drivers/net/irda/irda-usb.c
1024 clean_blob drivers/net/irda/irda-usb.c
1025 clean_kconfig drivers/net/irda/Kconfig 'USB_IRDA'
1026 clean_mk CONFIG_USB_IRDA drivers/net/irda/Makefile
1027
1028 # pcmcia
1029
1030 announce PCMCIA_SMC91C92 - "SMC 91Cxx PCMCIA"
1031 clean_sed '
1032 /^\(static int \)\?osi_setup([^;]*$/,/^}$/{
1033   s/^\(.*\)[/][*] Download.*firmware [*][/]/\1printk(KERN_ERR "%s: Missing Free firmware\\n", dev->name);\n\1rc = -EINVAL;\n\1goto free_cfg_mem;\n&/
1034 }' drivers/net/pcmcia/smc91c92_cs.c 'report missing Free firmware'
1035 clean_sed '
1036 /^\(static int \)\?smc91c92_resume([^;]*$/,/^}$/{
1037   s/^\(.*\)[/][*] Download.*firmware [*][/]/\1printk(KERN_ERR "%s: Missing Free firmware\\n", dev->name);\n\1return -EINVAL;\n&/
1038 }' drivers/net/pcmcia/smc91c92_cs.c 'report another missing Free firmware'
1039 clean_blob drivers/net/pcmcia/ositech.h
1040 clean_blob drivers/net/pcmcia/smc91c92_cs.c
1041 clean_kconfig drivers/net/pcmcia/Kconfig 'PCMCIA_SMC91C92'
1042 clean_mk CONFIG_PCMCIA_SMC91C92 drivers/net/pcmcia/Makefile
1043
1044 announce PCCARD - "PCCard (PCMCIA/CardBus) support"
1045 reject_firmware drivers/pcmcia/ds.c
1046 clean_kconfig drivers/pcmcia/Kconfig 'PCCARD'
1047 clean_mk CONFIG_PCCARD drivers/pcmcia/Makefile
1048
1049 announce PCMCIA_3C574 - "3Com 3c574 PCMCIA support"
1050 clean_blob drivers/net/pcmcia/3c574_cs.c
1051 clean_kconfig drivers/net/pcmcia/Kconfig 'PCMCIA_3C574'
1052 clean_mk CONFIG_PCMCIA_3C574 drivers/net/pcmcia/Makefile
1053
1054 announce PCMCIA_3C589 - "3Com 3c589 PCMCIA support"
1055 clean_blob drivers/net/pcmcia/3c589_cs.c
1056 clean_kconfig drivers/net/pcmcia/Kconfig 'PCMCIA_3C589'
1057 clean_mk CONFIG_PCMCIA_3C589 drivers/net/pcmcia/Makefile
1058
1059 announce PCMCIA_PCNET - "NE2000 compatible PCMCIA support"
1060 clean_blob drivers/net/pcmcia/pcnet_cs.c
1061 clean_kconfig drivers/net/pcmcia/Kconfig 'PCMCIA_PCNET'
1062 clean_mk CONFIG_PCMCIA_PCNET drivers/net/pcmcia/Makefile
1063
1064 # tokenring
1065
1066 announce 3C359 - "3Com 3C359 Token Link Velocity XL adapter"
1067 clean_file drivers/net/tokenring/3c359_microcode.h
1068 clean_sed '
1069 /^\(static int \)\?xl_hw_reset([^;]*$/,/^}/{
1070   /start = .*mc_size/i\
1071                 printk(KERN_ERR "%s: Missing Free firmware\\n", dev->name);\
1072                 return -EINVAL;
1073 }' drivers/net/tokenring/3c359.c 'report missing Free firmware'
1074 clean_blob drivers/net/tokenring/3c359.c
1075 clean_kconfig drivers/net/tokenring/Kconfig '3C359'
1076 clean_mk CONFIG_3C359 drivers/net/tokenring/Makefile
1077
1078 announce SMCTR - "SMC ISA/MCA adapter"
1079 drop_fw_file firmware/tr_smctr.bin.ihex firmware/tr_smctr.bin
1080 reject_firmware drivers/net/tokenring/smctr.c
1081 clean_blob drivers/net/tokenring/smctr.c
1082 clean_kconfig drivers/net/tokenring/Kconfig 'SMCTR'
1083 clean_mk CONFIG_SMCTR drivers/net/tokenring/Makefile
1084
1085 announce TMS380TR - "Generic TMS380 Token Ring ISA/PCI adapter support"
1086 reject_firmware drivers/net/tokenring/tms380tr.c
1087 clean_blob drivers/net/tokenring/tms380tr.c
1088 clean_kconfig drivers/net/tokenring/Kconfig 'TMS380TR'
1089 clean_mk CONFIG_TMS380TR drivers/net/tokenring/Makefile
1090
1091 # usb
1092
1093 announce USB_KAWETH - "USB KLSI KL5USB101-based ethernet device support"
1094 drop_fw_file firmware/kaweth/new_code.bin.ihex firmware/kaweth/new_code.bin
1095 drop_fw_file firmware/kaweth/new_code_fix.bin.ihex firmware/kaweth/new_code_fix.bin
1096 drop_fw_file firmware/kaweth/trigger_code.bin.ihex firmware/kaweth/trigger_code.bin
1097 drop_fw_file firmware/kaweth/trigger_code_fix.bin.ihex firmware/kaweth/trigger_code_fix.bin
1098 reject_firmware drivers/net/usb/kaweth.c
1099 clean_blob drivers/net/usb/kaweth.c
1100 clean_kconfig drivers/net/usb/Kconfig 'USB_KAWETH'
1101 clean_mk CONFIG_USB_KAWETH drivers/net/usb/Makefile
1102
1103 # wireless
1104
1105 announce ATMEL "Atmel at76c50x chipset  802.11b support"
1106 reject_firmware drivers/net/wireless/atmel.c
1107 clean_blob drivers/net/wireless/atmel.c
1108 clean_kconfig drivers/net/wireless/Kconfig 'ATMEL'
1109 clean_mk CONFIG_ATMEL drivers/net/wireless/Makefile
1110
1111 announce B43 - "Broadcom 43xx wireless support (mac80211 stack)"
1112 reject_firmware drivers/net/wireless/b43/main.c
1113 # Major portions of firwmare filenames not deblobbed.
1114 clean_blob drivers/net/wireless/b43/main.c
1115 clean_kconfig drivers/net/wireless/b43/Kconfig 'B43'
1116 clean_mk CONFIG_B43 drivers/net/wireless/b43/Makefile
1117
1118 announce B43LEGACY - "Broadcom 43xx-legacy wireless support (mac80211 stack)"
1119 reject_firmware drivers/net/wireless/b43legacy/main.c
1120 # Major portions of firwmare filenames not deblobbed.
1121 clean_blob drivers/net/wireless/b43legacy/main.c
1122 clean_kconfig drivers/net/wireless/b43legacy/Kconfig 'B43LEGACY'
1123 clean_mk CONFIG_B43LEGACY drivers/net/wireless/b43legacy/Makefile
1124
1125 announce PCMCIA_SPECTRUM - "Symbol Spectrum24 Trilogy PCMCIA card support"
1126 reject_firmware drivers/net/wireless/spectrum_cs.c
1127 clean_blob drivers/net/wireless/spectrum_cs.c
1128 clean_kconfig drivers/net/wireless/Kconfig 'PCMCIA_SPECTRUM'
1129 clean_mk CONFIG_PCMCIA_SPECTRUM drivers/net/wireless/Makefile
1130
1131 announce IPW2100 - "Intel PRO/Wireless 2100 Network Connection"
1132 reject_firmware drivers/net/wireless/ipw2100.c
1133 clean_blob drivers/net/wireless/ipw2100.c
1134 clean_kconfig drivers/net/wireless/Kconfig 'IPW2100'
1135 clean_mk CONFIG_IPW2100 drivers/net/wireless/Makefile
1136
1137 announce IPW2200 - "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
1138 reject_firmware drivers/net/wireless/ipw2200.c
1139 clean_blob drivers/net/wireless/ipw2200.c
1140 clean_kconfig drivers/net/wireless/Kconfig 'IPW2200'
1141 clean_mk CONFIG_IPW2200 drivers/net/wireless/Makefile
1142
1143 announce IWL3945 - "Intel PRO/Wireless 3945ABG/BG Network Connection"
1144 reject_firmware drivers/net/wireless/iwlwifi/iwl3945-base.c
1145 clean_blob drivers/net/wireless/iwlwifi/iwl-3945.c
1146 clean_kconfig drivers/net/wireless/iwlwifi/Kconfig 'IWL3945'
1147 clean_mk CONFIG_IWL3945 drivers/net/wireless/iwlwifi/Makefile
1148
1149 announce IWLAGN - "Intel Wireless WiFi Next Gen AGN"
1150 reject_firmware drivers/net/wireless/iwlwifi/iwl-agn.c
1151 clean_kconfig drivers/net/wireless/iwlwifi/Kconfig 'IWLAGN'
1152 clean_mk CONFIG_IWLAGN drivers/net/wireless/iwlwifi/Makefile
1153
1154 announce IWL4965 - "Intel Wireless WiFi 4965AGN"
1155 clean_blob drivers/net/wireless/iwlwifi/iwl-4965.c
1156 clean_kconfig drivers/net/wireless/iwlwifi/Kconfig 'IWL4965'
1157 clean_mk CONFIG_IWL4965 drivers/net/wireless/iwlwifi/Makefile
1158
1159 announce IWL5000 - "Intel Wireless WiFi 5000AGN"
1160 clean_blob drivers/net/wireless/iwlwifi/iwl-5000.c
1161 clean_kconfig drivers/net/wireless/iwlwifi/Kconfig 'IWL5000'
1162 clean_mk CONFIG_IWL5000 drivers/net/wireless/iwlwifi/Makefile
1163
1164 announce LIBERTAS_CS - "Marvell Libertas 8385 CompactFlash 802.11b/g cards"
1165 reject_firmware drivers/net/wireless/libertas/if_cs.c
1166 clean_blob drivers/net/wireless/libertas/if_cs.c
1167 clean_kconfig drivers/net/wireless/Kconfig 'LIBERTAS_CS'
1168 clean_mk CONFIG_LIBERTAS_CS drivers/net/wireless/libertas/Makefile
1169
1170 announce LIBERTAS_SDIO - "Marvell Libertas 8385 and 8686 SDIO 802.11b/g cards"
1171 reject_firmware drivers/net/wireless/libertas/if_sdio.c
1172 clean_blob drivers/net/wireless/libertas/if_sdio.c
1173 clean_kconfig drivers/net/wireless/Kconfig 'LIBERTAS_SDIO'
1174 clean_mk CONFIG_LIBERTAS_SDIO drivers/net/wireless/libertas/Makefile
1175
1176 announce LIBERTAS_USB - "Marvell Libertas 8388 USB 802.11b/g cards"
1177 reject_firmware drivers/net/wireless/libertas/if_usb.c
1178 clean_blob drivers/net/wireless/libertas/if_usb.c
1179 clean_blob drivers/net/wireless/libertas/README
1180 clean_kconfig drivers/net/wireless/Kconfig 'LIBERTAS_USB'
1181 clean_mk CONFIG_LIBERTAS_USB drivers/net/wireless/libertas/Makefile
1182
1183 announce P54_PCI - "Prism54 PCI support"
1184 reject_firmware drivers/net/wireless/p54/p54pci.c
1185 clean_blob drivers/net/wireless/p54/p54pci.c
1186 clean_kconfig drivers/net/wireless/p54/Kconfig 'P54_PCI'
1187 clean_mk CONFIG_P54_PCI drivers/net/wireless/p54/Makefile
1188
1189 announce P54_USB - "Prism54 USB support"
1190 reject_firmware drivers/net/wireless/p54/p54usb.c
1191 clean_blob drivers/net/wireless/p54/p54usb.c
1192 clean_blob drivers/net/wireless/p54/p54usb.h
1193 clean_kconfig drivers/net/wireless/p54/Kconfig 'P54_USB'
1194 clean_mk CONFIG_P54_USB drivers/net/wireless/p54/Makefile
1195
1196 announce PRISM54 - 'Intersil Prism GT/Duette/Indigo PCI/Cardbus'
1197 reject_firmware drivers/net/wireless/prism54/islpci_dev.c
1198 clean_blob drivers/net/wireless/prism54/islpci_dev.c
1199 clean_sed '
1200 /^config PRISM54$/,/^config /{
1201   /If you enable this/,/^$/d;
1202 }' drivers/net/wireless/Kconfig 'removed firmware notes'
1203 clean_kconfig drivers/net/wireless/Kconfig 'PRISM54'
1204 clean_mk CONFIG_PRISM54 drivers/net/wireless/prism54/Makefile
1205
1206 announce RT2X00_LIB_FIRMWARE - "Ralink driver firmware support"
1207 reject_firmware drivers/net/wireless/rt2x00/rt2x00firmware.c
1208 clean_kconfig drivers/net/wireless/rt2x00/Kconfig 'RT2X00_LIB_FIRMWARE'
1209 clean_mk CONFIG_RT2X00_LIB_FIRMWARE drivers/net/wireless/rt2x00/Makefile
1210
1211 announce RT61PCI - "Ralink rt2501/rt61 (PCI/PCMCIA) support"
1212 clean_blob drivers/net/wireless/rt2x00/rt61pci.h
1213 clean_blob drivers/net/wireless/rt2x00/rt61pci.c
1214 clean_kconfig drivers/net/wireless/rt2x00/Kconfig 'RT61PCI'
1215 clean_mk CONFIG_RT61PCI drivers/net/wireless/rt2x00/Makefile
1216
1217 announce RT73USB - "Ralink rt2501/rt73 (USB) support"
1218 clean_blob drivers/net/wireless/rt2x00/rt73usb.h
1219 clean_blob drivers/net/wireless/rt2x00/rt73usb.c
1220 clean_kconfig drivers/net/wireless/rt2x00/Kconfig 'RT73USB'
1221 clean_mk CONFIG_RT73USB drivers/net/wireless/rt2x00/Makefile
1222
1223 announce USB_ZD1201 - "USB ZD1201 based Wireless device support"
1224 reject_firmware drivers/net/wireless/zd1201.c
1225 clean_blob drivers/net/wireless/zd1201.c
1226 clean_kconfig drivers/net/wireless/Kconfig 'USB_ZD1201'
1227 clean_mk CONFIG_USB_ZD1201 drivers/net/wireless/Makefile
1228
1229 announce ZD1211RW - "ZyDAS ZD1211/ZD1211B USB-wireless support"
1230 reject_firmware drivers/net/wireless/zd1211rw/zd_usb.c
1231 clean_blob drivers/net/wireless/zd1211rw/zd_usb.c
1232 clean_kconfig drivers/net/wireless/zd1211rw/Kconfig 'ZD1211RW'
1233 clean_mk CONFIG_ZD1211RW drivers/net/wireless/zd1211rw/Makefile
1234
1235 # bluetooth
1236
1237 announce BT_HCIBCM203X - "HCI BCM203x USB driver"
1238 reject_firmware drivers/bluetooth/bcm203x.c
1239 clean_blob drivers/bluetooth/bcm203x.c
1240 clean_kconfig drivers/bluetooth/Kconfig 'BT_HCIBCM203X'
1241 clean_mk CONFIG_BT_HCIBCM203X drivers/bluetooth/Makefile
1242
1243 announce BT_HCIBFUSB - "HCI BlueFRITZ! USB driver"
1244 reject_firmware drivers/bluetooth/bfusb.c
1245 clean_blob drivers/bluetooth/bfusb.c
1246 clean_kconfig drivers/bluetooth/Kconfig 'BT_HCIBFUSB'
1247 clean_mk CONFIG_BT_HCIBFUSB drivers/bluetooth/Makefile
1248
1249 announce BT_HCIBT3C - "HCI BT3C (PC Card) driver"
1250 reject_firmware drivers/bluetooth/bt3c_cs.c
1251 clean_blob drivers/bluetooth/bt3c_cs.c
1252 clean_kconfig drivers/bluetooth/Kconfig 'BT_HCIBT3C'
1253 clean_mk CONFIG_BT_HCIBT3C drivers/bluetooth/Makefile
1254
1255
1256 ########
1257 # ISDN #
1258 ########
1259
1260 announce ISDN_DIVAS - "Support Eicon DIVA Server cards"
1261 clean_blob drivers/isdn/hardware/eicon/cardtype.h
1262 clean_blob drivers/isdn/hardware/eicon/dsp_defs.h
1263 clean_kconfig drivers/isdn/hardware/eicon/Kconfig 'ISDN_DIVAS'
1264 clean_mk CONFIG_ISDN_DIVAS drivers/isdn/hardware/eicon/Makefile
1265
1266 ##########
1267 # Serial #
1268 ##########
1269
1270 announce SERIAL_8250_CS - "8250/16550 PCMCIA device support"
1271 clean_blob drivers/serial/serial_cs.c
1272 clean_kconfig drivers/serial/Kconfig 'SERIAL_8250_CS'
1273 clean_mk CONFIG_SERIAL_8250_CS drivers/serial/Makefile
1274
1275 announce SERIAL_ICOM - "IBM Multiport Serial Adapter"
1276 reject_firmware drivers/serial/icom.c
1277 clean_blob drivers/serial/icom.c
1278 clean_kconfig drivers/serial/Kconfig 'SERIAL_ICOM'
1279 clean_mk CONFIG_SERIAL_ICOM drivers/serial/Makefile
1280
1281 announce SERIAL_QE - "Freescale QUICC Engine serial port support"
1282 reject_firmware drivers/serial/ucc_uart.c
1283 clean_blob drivers/serial/ucc_uart.c
1284 clean_kconfig drivers/serial/Kconfig 'SERIAL_QE'
1285 clean_mk CONFIG_SERIAL_QE drivers/serial/Makefile
1286
1287
1288
1289 ########
1290 # SCSI #
1291 ########
1292
1293 announce SCSI_QLOGICPTI - "PTI Qlogic, ISP Driver"
1294 clean_file drivers/scsi/qlogicpti_asm.c
1295 clean_sed '
1296 /^static int __devinit qlogicpti_load_firmware([^;]*$/,/^}$/{
1297   /[&]sbus_risc_code01/{
1298     i\
1299         printk(KERN_ERR "qlogicpti%d: Missing Free firmware\\n", qpti->qpti_id);\
1300         return -EINVAL;
1301   }
1302   s,[&]sbus_risc_code01\[0\],NULL,
1303   s,sbus_risc_code_length01,0,
1304 }' drivers/scsi/qlogicpti.c 'report missing Free firmware'
1305 clean_blob drivers/scsi/qlogicpti.c
1306 clean_kconfig drivers/scsi/Kconfig 'SCSI_QLOGICPTI'
1307 clean_mk CONFIG_SCSI_QLOGICPTI drivers/scsi/Makefile
1308
1309 announce SCSI_ADVANSYS - "AdvanSys SCSI"
1310 clean_sed '
1311 /ASC_DBG.*_asc_mcode_chksum);/d;
1312 /^\(static ASC_CNT \)\?AscLoadMicroCode([^;]*$/,/^}$/{
1313   /^}$/{
1314     p;
1315     i\
1316 #define AscLoadMicroCode(x1,x2,x3,x4) ((x1),(x2),(x3),(x4),printk(KERN_ERR "advansys: Missing Free firmware\\n"), -1)
1317     d;
1318   }
1319 }
1320 /^\(static int \)\?AdvLoadMicrocode([^;]*$/,/^}$/{
1321   /^}$/{
1322     p;
1323     i\
1324 #define AdvLoadMicrocode(x1,x2,x3,x4,x5) ((x1),(x2),(x3),(x4),(x5),printk(KERN_ERR "advansys: Missing Free firmware\\n"), ASC_IERR_MCODE_CHKSUM)
1325     d;
1326   }
1327 }
1328 s/\([   (]\)_\(asc_mcode\|adv_asc3\(550\|8C\(08\|16\)00\)\)_buf,/\1NULL,/;
1329 s/\([   ]\)_\(asc_mcode\|adv_asc3\(550\|8C\(08\|16\)00\)\)_size\([,)]\)/\1(unsigned short)0\5/;
1330 s/\([   ]\)_\(asc_mcode\|adv_asc3\(550\|8C\(08\|16\)00\)\)_chksum\([,)]\)/\1(ADV_DCNT)0\5/;
1331 ' drivers/scsi/advansys.c 'report missing Free firmware'
1332 clean_blob drivers/scsi/advansys.c
1333 clean_kconfig drivers/scsi/Kconfig 'SCSI_ADVANSYS'
1334 clean_mk CONFIG_SCSI_ADVANSYS drivers/scsi/Makefile
1335
1336 announce SCSI_QLOGIC_1280 - "Qlogic QLA 1240/1x80/1x160 SCSI"
1337 clean_blob drivers/scsi/ql1280_fw.h
1338 clean_blob drivers/scsi/ql1040_fw.h
1339 clean_blob drivers/scsi/ql12160_fw.h
1340 clean_sed '
1341 s,[&]\(fw12\(160\|80e\)i\|risc\(_code\)\?\)_\(code01\[0\]\|length01\),NULL,g;
1342 /^qla1280_load_firmware\(_pio\)\?([^;]*$/,/^}$/{
1343   /risc_code_size = [*]/{
1344     i\
1345         if (!risc_code_address) {\
1346                 printk(KERN_ERR "scsi(%li): Missing Free firmware\\n", ha->host_no);\
1347                 return -EINVAL;\
1348         }
1349   }
1350 }
1351 /^qla1280_load_firmware_dma([^;]*$/,/^}$/{
1352   /risc_code_size = [*]/{
1353     i\
1354         if (!risc_code_address) {\
1355                 printk(KERN_ERR "scsi(%li): Missing Free firmware\\n", ha->host_no);\
1356                 err = -EINVAL;\
1357                 goto out;\
1358         }
1359   }
1360 }' drivers/scsi/qla1280.c 'report missing Free firmware'
1361 clean_kconfig drivers/scsi/Kconfig 'SCSI_QLOGIC_1280'
1362 clean_mk CONFIG_SCSI_QLOGIC_1280 drivers/scsi/Makefile
1363
1364 announce SCSI_AIC94XX - "Adaptec AIC94xx SAS/SATA support"
1365 reject_firmware drivers/scsi/aic94xx/aic94xx_seq.c
1366 clean_blob drivers/scsi/aic94xx/aic94xx_seq.c
1367 clean_blob drivers/scsi/aic94xx/aic94xx_seq.h
1368 clean_kconfig drivers/scsi/aic94xx/Kconfig 'SCSI_AIC94XX'
1369 clean_mk CONFIG_SCSI_AIC94XX drivers/scsi/aic94xx/Makefile
1370
1371 announce SCSI_QLA_FC - "QLogic QLA2XXX Fibre Channel Support"
1372 reject_firmware drivers/scsi/qla2xxx/qla_gbl.h
1373 reject_firmware drivers/scsi/qla2xxx/qla_init.c
1374 reject_firmware drivers/scsi/qla2xxx/qla_os.c
1375 clean_sed '
1376 /^config SCSI_QLA_FC$/,/^config /{
1377   /^    By default, firmware/i\
1378         /*(DEBLOBBED)*/
1379   /^    By default, firmware/,/ftp:[/][/].*firmware[/]/d
1380 }' drivers/scsi/qla2xxx/Kconfig 'removed firmware notes'
1381 clean_blob drivers/scsi/qla2xxx/qla_os.c
1382 clean_kconfig drivers/scsi/qla2xxx/Kconfig 'SCSI_QLA_FC'
1383 clean_mk CONFIG_SCSI_QLA_FC drivers/scsi/qla2xxx/Makefile
1384
1385
1386 #######
1387 # USB #
1388 #######
1389
1390 # atm
1391
1392 announce USB_CXACRU - "Conexant AccessRunner USB support"
1393 reject_firmware drivers/usb/atm/cxacru.c
1394 clean_blob drivers/usb/atm/cxacru.c
1395 clean_kconfig drivers/usb/atm/Kconfig 'USB_CXACRU'
1396 clean_mk CONFIG_USB_CXACRU drivers/usb/atm/Makefile
1397
1398 announce USB_SPEEDTOUCH - "Speedtouch USB support"
1399 reject_firmware drivers/usb/atm/speedtch.c
1400 clean_blob drivers/usb/atm/speedtch.c
1401 clean_kconfig drivers/usb/atm/Kconfig 'USB_SPEEDTOUCH'
1402 clean_mk CONFIG_USB_SPEEDTOUCH drivers/usb/atm/Makefile
1403
1404 announce USB_UEAGLEATM - "ADI 930 and eagle USB DSL modem"
1405 reject_firmware drivers/usb/atm/ueagle-atm.c
1406 clean_blob drivers/usb/atm/ueagle-atm.c
1407 clean_kconfig drivers/usb/atm/Kconfig 'USB_UEAGLEATM'
1408 clean_mk CONFIG_USB_UEAGLEATM drivers/usb/atm/Makefile
1409
1410 # misc
1411
1412 announce USB_EMI26 - "EMI 2|6 USB Audio interface"
1413 # These files are not under the GPL, better remove them all.
1414 drop_fw_file firmware/emi26/bitstream.HEX firmware/emi26/bitstream.fw
1415 drop_fw_file firmware/emi26/firmware.HEX firmware/emi26/firmware.fw
1416 drop_fw_file firmware/emi26/loader.HEX firmware/emi26/loader.fw
1417 reject_firmware drivers/usb/misc/emi26.c
1418 clean_blob drivers/usb/misc/emi26.c
1419 clean_kconfig drivers/usb/misc/Kconfig 'USB_EMI26'
1420 clean_mk CONFIG_USB_EMI26 drivers/usb/misc/Makefile
1421
1422 announce USB_EMI62 - "EMI 6|2m USB Audio interface"
1423 # These files are probably not under the GPL, better remove them all.
1424 drop_fw_file firmware/emi62/bitstream.HEX firmware/emi62/bitstream.fw
1425 drop_fw_file firmware/emi62/loader.HEX firmware/emi62/loader.fw
1426 drop_fw_file firmware/emi62/midi.HEX firmware/emi62/midi.fw
1427 drop_fw_file firmware/emi62/spdif.HEX firmware/emi62/spdif.fw
1428 reject_firmware drivers/usb/misc/emi62.c
1429 clean_blob drivers/usb/misc/emi62.c
1430 clean_kconfig drivers/usb/misc/Kconfig 'USB_EMI62'
1431 clean_mk CONFIG_USB_EMI62 drivers/usb/misc/Makefile
1432
1433 announce USB_ISIGHTFW - "iSight firmware loading support"
1434 reject_firmware drivers/usb/misc/isight_firmware.c
1435 clean_blob drivers/usb/misc/isight_firmware.c
1436 clean_kconfig drivers/usb/misc/Kconfig 'USB_ISIGHTFW'
1437 clean_mk CONFIG_USB_ISIGHTFW drivers/usb/misc/Makefile
1438
1439 # serial
1440
1441 announce USB_SERIAL_KEYSPAN - "USB Keyspan USA-xxx Serial Driver"
1442 drop_fw_file firmware/keyspan/mpr.HEX firmware/keyspan/mpr.fw
1443 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_MPR'
1444 drop_fw_file firmware/keyspan/usa18x.HEX firmware/keyspan/usa18x.fw
1445 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA18X'
1446 drop_fw_file firmware/keyspan/usa19.HEX firmware/keyspan/usa19.fw
1447 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19'
1448 drop_fw_file firmware/keyspan/usa19qi.HEX firmware/keyspan/usa19qi.fw
1449 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QI'
1450 drop_fw_file firmware/keyspan/usa19qw.HEX firmware/keyspan/usa19qw.fw
1451 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QW'
1452 drop_fw_file firmware/keyspan/usa19w.HEX firmware/keyspan/usa19w.fw
1453 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19W'
1454 drop_fw_file firmware/keyspan/usa28.HEX firmware/keyspan/usa28.fw
1455 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28'
1456 drop_fw_file firmware/keyspan/usa28xa.HEX firmware/keyspan/usa28xa.fw
1457 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XA'
1458 drop_fw_file firmware/keyspan/usa28xb.HEX firmware/keyspan/usa28xb.fw
1459 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XB'
1460 drop_fw_file firmware/keyspan/usa28x.HEX firmware/keyspan/usa28x.fw
1461 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28X'
1462 drop_fw_file firmware/keyspan/usa49w.HEX firmware/keyspan/usa49w.fw
1463 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49W'
1464 drop_fw_file firmware/keyspan/usa49wlc.HEX firmware/keyspan/usa49wlc.fw
1465 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49WLC'
1466 reject_firmware drivers/usb/serial/keyspan.c
1467 clean_blob drivers/usb/serial/keyspan.c
1468 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN'
1469 clean_mk CONFIG_USB_SERIAL_KEYSPAN drivers/usb/serial/Makefile
1470
1471 announce USB_SERIAL_KEYSPAN_PDA - "USB Keyspan PDA Single Port Serial Driver"
1472 clean_sed '
1473 s,request_ihex_firmware,/*KEYSPAN_PDA*/&,
1474 ' drivers/usb/serial/keyspan_pda.c 'accept Free firmware'
1475
1476 announce USB_SERIAL_EDGEPORT - "USB Inside Out Edgeport Serial Driver"
1477 clean_fw firmware/edgeport/boot.H16 firmware/edgeport/boot.fw
1478 clean_fw firmware/edgeport/boot2.H16 firmware/edgeport/boot2.fw
1479 clean_fw firmware/edgeport/down.H16 firmware/edgeport/down.fw
1480 clean_fw firmware/edgeport/down2.H16 firmware/edgeport/down2.fw
1481 reject_firmware drivers/usb/serial/io_edgeport.c
1482 clean_blob drivers/usb/serial/io_edgeport.c
1483 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT'
1484 clean_mk CONFIG_USB_SERIAL_EDGEPORT drivers/usb/serial/Makefile
1485
1486 announce USB_SERIAL_EDGEPORT_TI - "USB Inside Out Edgeport Serial Driver (TI devices)"
1487 clean_fw firmware/edgeport/down3.bin.ihex firmware/edgeport/down3.bin
1488 reject_firmware drivers/usb/serial/io_ti.c
1489 clean_blob drivers/usb/serial/io_ti.c
1490 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT_TI'
1491 clean_mk CONFIG_USB_SERIAL_EDGEPORT_TI drivers/usb/serial/Makefile
1492
1493 announce USB_SERIAL_TI - "USB TI 3410/5052 Serial Driver"
1494 drop_fw_file firmware/ti_3410.fw.ihex firmware/ti_3410.fw
1495 drop_fw_file firmware/ti_5052.fw.ihex firmware/ti_5052.fw
1496 reject_firmware drivers/usb/serial/ti_usb_3410_5052.c
1497 clean_blob drivers/usb/serial/ti_usb_3410_5052.c
1498 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_TI'
1499 clean_mk CONFIG_USB_SERIAL_TI drivers/usb/serial/Makefile
1500
1501 announce USB_SERIAL_WHITEHEAT - "USB ConnectTech WhiteHEAT Serial Driver"
1502 clean_fw firmware/whiteheat.HEX firmware/whiteheat.fw
1503 clean_fw firmware/whiteheat_loader.HEX firmware/whiteheat_loader.fw
1504 clean_fw firmware/whiteheat_loader_debug.HEX firmware/whiteheat_loader_debug.fw
1505 reject_firmware drivers/usb/serial/whiteheat.c
1506 clean_blob drivers/usb/serial/whiteheat.c
1507 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_WHITEHEAT'
1508 clean_mk CONFIG_USB_SERIAL_WHITEHEAT drivers/usb/serial/Makefile
1509
1510
1511 #########
1512 # Sound #
1513 #########
1514
1515 announce SND_CS46XX - "Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x"
1516 # This appears to have been extracted from some non-Free driver
1517 clean_file sound/pci/cs46xx/cs46xx_image.h
1518 # The following blobs are definitely extracted from non-Free drivers.
1519 clean_file sound/pci/cs46xx/imgs/cwc4630.h
1520 clean_file sound/pci/cs46xx/imgs/cwcasync.h
1521 clean_file sound/pci/cs46xx/imgs/cwcsnoop.h
1522 clean_sed '
1523 /^\(int \)\?snd_cs46xx_download_image([^;]*$/,/^}$/{
1524   /for.*BA1_MEMORY_COUNT/i\
1525 #if 0
1526   /^}$/{
1527     i\
1528 #else\
1529         snd_printk(KERN_ERR "cs46xx: Missing Free firmware\\n");\
1530         return -EINVAL;\
1531 #endif
1532   }
1533 }
1534 s/cs46xx_dsp_load_module(chip, [&]cwc\(4630\|async\|snoop\)_module)/(snd_printk(KERN_ERR "cs46xx: Missing Free firmware\\n"),-EINVAL)/
1535 ' sound/pci/cs46xx/cs46xx_lib.c 'report missing Free firmware'
1536 clean_blob sound/pci/cs46xx/cs46xx_lib.c
1537 clean_kconfig sound/pci/Kconfig 'SND_CS46XX'
1538 clean_mk 'CONFIG_SND_CS46XX' sound/pci/cs46xx/Makefile
1539
1540 announce SND_KORG1212 - "Korg 1212 IO"
1541 drop_fw_file firmware/korg/k1212.dsp.ihex firmware/korg/k1212.dsp
1542 reject_firmware sound/pci/korg1212/korg1212.c
1543 clean_blob sound/pci/korg1212/korg1212.c
1544 clean_kconfig sound/pci/Kconfig 'SND_KORG1212'
1545 clean_mk 'CONFIG_SND_KORG1212' sound/pci/korg1212/Makefile
1546
1547 announce SND_MAESTRO3 - "ESS Allegro/Maestro3"
1548 drop_fw_file firmware/ess/maestro3_assp_kernel.fw.ihex firmware/ess/maestro3_assp_kernel.fw
1549 drop_fw_file firmware/ess/maestro3_assp_minisrc.fw.ihex firmware/ess/maestro3_assp_minisrc.fw
1550 reject_firmware sound/pci/maestro3.c
1551 clean_blob sound/pci/maestro3.c
1552 clean_kconfig sound/pci/Kconfig 'SND_MAESTRO3'
1553 clean_mk 'CONFIG_SND_MAESTRO3' sound/pci/Makefile
1554
1555 announce SND_YMFPCI - "Yamaha YMF724/740/744/754"
1556 drop_fw_file firmware/yamaha/ds1_ctrl.fw.ihex firmware/yamaha/ds1_ctrl.fw
1557 drop_fw_file firmware/yamaha/ds1_dsp.fw.ihex firmware/yamaha/ds1_dsp.fw
1558 drop_fw_file firmware/yamaha/ds1e_ctrl.fw.ihex firmware/yamaha/ds1e_ctrl.fw
1559 reject_firmware sound/pci/ymfpci/ymfpci_main.c
1560 clean_blob sound/pci/ymfpci/ymfpci_main.c
1561 clean_kconfig sound/pci/Kconfig 'SND_YMFPCI'
1562 clean_mk 'CONFIG_SND_YMFPCI' sound/pci/ymfpci/Makefile
1563
1564 announce SND_SB16_CSP - "SB16 Advanced Signal Processor"
1565 drop_fw_file firmware/sb16/alaw_main.csp.ihex firmware/sb16/alaw_main.csp
1566 drop_fw_file firmware/sb16/mulaw_main.csp.ihex firmware/sb16/mulaw_main.csp
1567 drop_fw_file firmware/sb16/ima_adpcm_init.csp.ihex firmware/sb16/ima_adpcm_init.csp
1568 drop_fw_file firmware/sb16/ima_adpcm_capture.csp.ihex firmware/sb16/ima_adpcm_capture.csp
1569 drop_fw_file firmware/sb16/ima_adpcm_playback.csp.ihex firmware/sb16/ima_adpcm_playback.csp
1570 reject_firmware sound/isa/sb/sb16_csp.c
1571 clean_blob sound/isa/sb/sb16_csp.c
1572 clean_kconfig sound/isa/Kconfig 'SND_SB16_CSP'
1573 clean_mk 'CONFIG_SND_SB16_CSP' sound/isa/sb/Makefile
1574
1575 announce SND_WAVEFRONT - "Turtle Beach Maui,Tropez,Tropez+ (Wavefront)"
1576 clean_blob sound/isa/wavefront/yss225.c
1577 clean_sed '
1578 /firmware = &yss225_registers_firmware/i\
1579         snd_printk(KERN_ERR "FX: Missing Free firmware\\n");\
1580         err = -EINVAL;\
1581         goto out;
1582 ' sound/isa/wavefront/wavefront_fx.c 'report missing Free firmware'
1583 reject_firmware sound/isa/wavefront/wavefront_fx.c
1584 clean_blob sound/isa/wavefront/wavefront_fx.c
1585 reject_firmware sound/isa/wavefront/wavefront_synth.c
1586 clean_blob sound/isa/wavefront/wavefront_synth.c
1587 clean_kconfig sound/isa/Kconfig 'SND_WAVEFRONT'
1588 clean_mk 'CONFIG_SND_WAVEFRONT' sound/isa/wavefront/Makefile
1589
1590 announce SND_VX_LIB - Digigram VX soundcards
1591 reject_firmware sound/drivers/vx/vx_hwdep.c
1592 clean_blob sound/drivers/vx/vx_hwdep.c
1593 clean_kconfig sound/drivers/Kconfig 'SND_VX_LIB'
1594 clean_mk CONFIG_SND_VX_LIB sound/drivers/vx/Makefile
1595
1596 announce SND_DARLA20 - "(Echoaudio) Darla20"
1597 clean_blob sound/pci/echoaudio/darla20.c
1598 clean_kconfig sound/pci/Kconfig 'SND_DARLA20'
1599 clean_mk CONFIG_SND_DARLA20 sound/pci/echoaudio/Makefile
1600
1601 announce SND_DARLA24 - "(Echoaudio) Darla24"
1602 clean_blob sound/pci/echoaudio/darla24.c
1603 clean_kconfig sound/pci/Kconfig 'SND_DARLA24'
1604 clean_mk CONFIG_SND_DARLA24 sound/pci/echoaudio/Makefile
1605
1606 announce SND_ECHO3G - "(Echoaudio) 3G cards"
1607 clean_blob sound/pci/echoaudio/echo3g.c
1608 clean_kconfig sound/pci/Kconfig 'SND_ECHO3G'
1609 clean_mk CONFIG_SND_ECHO3G sound/pci/echoaudio/Makefile
1610
1611 announce SND_GINA20 - "(Echoaudio) Gina20"
1612 clean_blob sound/pci/echoaudio/gina20.c
1613 clean_kconfig sound/pci/Kconfig 'SND_GINA20'
1614 clean_mk CONFIG_SND_GINA20 sound/pci/echoaudio/Makefile
1615
1616 announce SND_GINA24 - "(Echoaudio) Gina24"
1617 clean_blob sound/pci/echoaudio/gina24.c
1618 clean_kconfig sound/pci/Kconfig 'SND_GINA24'
1619 clean_mk CONFIG_SND_GINA24 sound/pci/echoaudio/Makefile
1620
1621 announce SND_INDIGO - "(Echoaudio) Indigo"
1622 clean_blob sound/pci/echoaudio/indigo.c
1623 clean_kconfig sound/pci/Kconfig 'SND_INDIGO'
1624 clean_mk CONFIG_SND_INDIGO sound/pci/echoaudio/Makefile
1625
1626 announce SND_INDIGODJ - "(Echoaudio) Indigo DJ"
1627 clean_blob sound/pci/echoaudio/indigodj.c
1628 clean_kconfig sound/pci/Kconfig 'SND_INDIGODJ'
1629 clean_mk CONFIG_SND_INDIGODJ sound/pci/echoaudio/Makefile
1630
1631 announce SND_INDIGOIO - "(Echoaudio) Indigo IO"
1632 clean_blob sound/pci/echoaudio/indigoio.c
1633 clean_kconfig sound/pci/Kconfig 'SND_INDIGOIO'
1634 clean_mk CONFIG_SND_INDIGOIO sound/pci/echoaudio/Makefile
1635
1636 announce SND_LAYLA20 - "(Echoaudio) Layla20"
1637 clean_blob sound/pci/echoaudio/layla20.c
1638 clean_kconfig sound/pci/Kconfig 'SND_LAYLA20'
1639 clean_mk CONFIG_SND_LAYLA20 sound/pci/echoaudio/Makefile
1640
1641 announce SND_LAYLA24 - "(Echoaudio) Layla24"
1642 clean_blob sound/pci/echoaudio/layla24.c
1643 clean_kconfig sound/pci/Kconfig 'SND_LAYLA24'
1644 clean_mk CONFIG_SND_LAYLA24 sound/pci/echoaudio/Makefile
1645
1646 announce SND_MIA - "(Echoaudio) Mia"
1647 clean_blob sound/pci/echoaudio/mia.c
1648 clean_kconfig sound/pci/Kconfig 'SND_MIA'
1649 clean_mk CONFIG_SND_MIA sound/pci/echoaudio/Makefile
1650
1651 announce SND_MONA - "(Echoaudio) Mona"
1652 clean_blob sound/pci/echoaudio/mona.c
1653 clean_kconfig sound/pci/Kconfig 'SND_MONA'
1654 clean_mk CONFIG_SND_MONA sound/pci/echoaudio/Makefile
1655
1656 announce SND_'<(Echoaudio)>' - "(Echoaudio) all of the above "
1657 reject_firmware sound/pci/echoaudio/echoaudio.c
1658 clean_blob sound/pci/echoaudio/echoaudio.c
1659
1660 announce SND_EMU10K1 - "Emu10k1 (SB Live!, Audigy, E-mu APS)"
1661 reject_firmware sound/pci/emu10k1/emu10k1_main.c
1662 clean_blob sound/pci/emu10k1/emu10k1_main.c
1663 clean_kconfig sound/pci/Kconfig 'SND_EMU10K1'
1664 clean_mk CONFIG_SND_EMU10K1 sound/pci/emu10k1/Makefile
1665
1666 announce SND_MIXART - "Digigram miXart"
1667 reject_firmware sound/pci/mixart/mixart_hwdep.c
1668 clean_blob sound/pci/mixart/mixart_hwdep.c
1669 clean_kconfig sound/pci/Kconfig 'SND_MIXART'
1670 clean_mk CONFIG_SND_MIXART sound/pci/mixart/Makefile
1671
1672 announce SND_PCXHR - "Digigram PCXHR"
1673 reject_firmware sound/pci/pcxhr/pcxhr_hwdep.c
1674 clean_blob sound/pci/pcxhr/pcxhr_hwdep.c
1675 clean_kconfig sound/pci/Kconfig 'SND_PCXHR'
1676 clean_mk CONFIG_SND_PCXHR sound/pci/pcxhr/Makefile
1677
1678 announce SND_RIPTIDE - "Conexant Riptide"
1679 reject_firmware sound/pci/riptide/riptide.c
1680 clean_blob sound/pci/riptide/riptide.c
1681 clean_kconfig sound/pci/Kconfig 'SND_RIPTIDE'
1682 clean_mk CONFIG_SND_RIPTIDE sound/pci/riptide/Makefile
1683
1684 announce SND_HDSP - "RME Hammerfall DSP Audio"
1685 reject_firmware sound/pci/rme9652/hdsp.c
1686 clean_blob sound/pci/rme9652/hdsp.c
1687 clean_kconfig sound/pci/Kconfig 'SND_HDSP'
1688 clean_mk CONFIG_SND_HDSP sound/pci/rme9652/Makefile
1689
1690 announce SND_AICA - "Dreamcast Yamaha AICA sound"
1691 reject_firmware sound/sh/aica.c
1692 clean_blob sound/sh/aica.c
1693 clean_kconfig sound/sh/Kconfig 'SND_AICA'
1694 clean_mk CONFIG_SND_AICA sound/sh/Makefile
1695
1696 announce SOUND_MSNDCLAS - "Support for Turtle Beach MultiSound Classic, Tahiti, Monterey"
1697 clean_blob sound/oss/msnd_classic.h
1698 clean_kconfig sound/oss/Kconfig 'SOUND_MSNDCLAS'
1699 clean_sed '
1700 /^config MSNDCLAS_INIT_FILE$/, /^config / {
1701   /^    default.*msndinit\.bin/ s,".*","/*(DEBLOBBED)*/",;
1702 }
1703 /^config MSNDCLAS_PERM_FILE$/, /^config / {
1704   /^    default.*msndperm\.bin/ s,".*","/*(DEBLOBBED)*/",;
1705 }' sound/oss/Kconfig 'removed default firmware'
1706 clean_mk CONFIG_SOUND_MSNDCLAS sound/oss/Makefile
1707
1708 announce SOUND_MSNDPIN - "Support for Turtle Beach MultiSound Pinnacle"
1709 clean_blob sound/oss/msnd_pinnacle.h
1710 clean_kconfig sound/oss/Kconfig 'SOUND_MSNDPIN'
1711 clean_sed '
1712 /^config MSNDPIN_INIT_FILE$/, /^config / {
1713   /^    default.*pndspini\.bin/ s,".*","/*(DEBLOBBED)*/",;
1714 }
1715 /^config MSNDPIN_PERM_FILE$/, /^config / {
1716   /^    default.*pndsperm\.bin/ s,".*","/*(DEBLOBBED)*/",;
1717 }' sound/oss/Kconfig 'removed default firmware'
1718 clean_mk CONFIG_SOUND_MSNDPIN sound/oss/Makefile
1719
1720 announce SOUND_SSCAPE - "Ensoniq SoundScape support"
1721 clean_blob sound/oss/sscape.c
1722 clean_kconfig sound/oss/Kconfig 'SOUND_SSCAPE'
1723 clean_mk CONFIG_SOUND_SSCAPE sound/oss/Makefile
1724
1725 announce SOUND_TRIX - "MediaTrix AudioTrix Pro support"
1726 clean_blob sound/oss/trix.c
1727 clean_kconfig sound/oss/Kconfig 'SOUND_TRIX'
1728 clean_sed '
1729 /^config TRIX_BOOT_FILE$/, /^config / {
1730   /^    default.*trxpro\.hex/ s,".*","/*(DEBLOBBED)*/",;
1731 }' sound/oss/Kconfig 'removed default firmware'
1732 clean_mk CONFIG_SOUND_TRIX sound/oss/Makefile
1733
1734 announce SOUND_TRIX - "See above,"
1735 announce SOUND_PAS - "ProAudioSpectrum 16 support,"
1736 announce SOUND_SB - "100% Sound Blaster compatibles (SB16/32/64, ESS, Jazz16) support"
1737 clean_blob sound/oss/sb_common.c
1738 clean_kconfig sound/oss/Kconfig 'SOUND_PAS'
1739 clean_kconfig sound/oss/Kconfig 'SOUND_SB'
1740 clean_mk CONFIG_SOUND_PAS sound/oss/Makefile
1741 clean_mk CONFIG_SOUND_SB sound/oss/Makefile
1742
1743 announce SOUND_PSS - "PSS (AD1848, ADSP-2115, ESC614) support"
1744 clean_sed 's,^\( [*] .*synth"\)\.$,\1/*.,' sound/oss/pss.c 'avoid nested comments'
1745 clean_blob sound/oss/pss.c
1746 clean_kconfig sound/oss/Kconfig 'SOUND_PSS'
1747 clean_sed '
1748 /^config PSS_BOOT_FILE$/, /^config / {
1749   /^    default.*dsp001\.ld/ s,".*","/*(DEBLOBBED)*/",;
1750 }' sound/oss/Kconfig 'removed default firmware'
1751 clean_mk CONFIG_SOUND_PSS sound/oss/Makefile
1752
1753 #################
1754 # Documentation #
1755 #################
1756
1757 announce Documentation - "non-Free firmware scripts and documentation"
1758 clean_blob Documentation/dvb/avermedia.txt
1759 clean_blob Documentation/dvb/opera-firmware.txt
1760 clean_blob Documentation/dvb/ttusb-dec.txt
1761 clean_blob Documentation/sound/alsa/ALSA-Configuration.txt
1762 clean_blob Documentation/sound/oss/MultiSound
1763 clean_blob Documentation/sound/oss/PSS
1764 clean_blob Documentation/sound/oss/PSS-updates
1765 clean_blob Documentation/sound/oss/README.OSS
1766 clean_file Documentation/dvb/get_dvb_firmware
1767 clean_file Documentation/video4linux/extract_xc3028.pl
1768 clean_sed s,usb8388,whatever,g drivers/base/Kconfig 'removed blob name'
1769 clean_blob firmware/WHENCE
1770
1771 if $errors; then
1772   echo errors above were ignored because of --force >&2
1773 fi
1774
1775 exit 0