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