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