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