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