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