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