GNU Linux-libre 5.10.192-gnu1 script updates
[releases.git] / gen1 / deblob-2.6.25
1 #!/bin/sh
2
3 #    Copyright (C) 2008 Jeff Moe
4 #    Copyright (C) 2008, 2009 Alexandre Oliva <lxoliva@fsfla.org>
5 #
6 #    This program is free software; you can redistribute it and/or modify
7 #    it under the terms of the GNU General Public License as published by
8 #    the Free Software Foundation; either version 2 of the License, or
9 #    (at your option) any later version.
10 #
11 #    This program is distributed in the hope that it will be useful,
12 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #    GNU General Public License for more details.
15 #
16 #    You should have received a copy of the GNU General Public License
17 #    along with this program; if not, write to the Free Software
18 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19
20
21 # deblob - remove non-free blobs from the vanilla linux kernel
22
23 # http://www.fsfla.org/svn/fsfla/software/linux-libre
24
25
26 # This script, suited for the kernel version named below, in kver,
27 # attempts to remove only non-Free Software bits, without removing
28 # Free Software that happens to be in the same file.
29
30 # Drivers that currently require non-Free firmware are retained, but
31 # firmware included in GPLed sources is replaced with /*(DEBLOBBED)*/
32 # if the deblob-check script, that knows how to do this, is present.
33 # -lxoliva
34
35
36 # See also:
37 # http://wiki.debian.org/KernelFirmwareLicensing
38 # svn://svn.debian.org/kernel/dists/trunk/linux-2.6/debian/patches/debian/dfsg/files-1
39 # http://wiki.gnewsense.org/Builder gen-kernel
40
41 # Thanks to Brian Brazil @ gnewsense
42
43
44 # For each kver release, start extra with an empty string, then count
45 # from 1 if changes are needed that require rebuilding the tarball.
46 kver=2.6.25 extra=4++
47
48 case $1 in
49 --force) die () { echo ERROR: "$@": ignored >&2; }; shift;;
50 *) die () { echo "$@" >&2; exit 1; };;
51 esac
52
53 if unifdef -Utest /dev/null; then :; else
54     die unifdef is required
55 fi
56
57 check=`echo $0 | sed 's,/[^/]*$,,'`/deblob-check
58 if [ ! -f $check ] ; then
59   echo optional deblob-check missing, will remove entire files >&2
60   have_check=false
61 else
62   have_check=:
63 fi
64
65 clean_file () {
66         #$1 = filename
67         if test ! -f $1; then
68                 die $1 does not exist, something is wrong
69         fi
70         rm -v $1
71 }
72
73 check_changed () {
74         if test ! -f $1; then
75                 die $1 does not exist, something is wrong
76         elif cmp $1.deblob $1 > /dev/null; then
77                 die $1 did not change, something is wrong
78         fi
79         mv $1.deblob $1
80 }
81
82 clean_blob () {
83         #$1 = filename
84         if $have_check; then
85             if test ! -f $1; then
86                 die $1 does not exist, something is wrong
87             fi
88             name=$1
89             echo Removing blobs from $name
90             set fnord "$@" -d
91             shift 2
92             $check "$@" -i linux-$kver $name > $name.deblob
93             check_changed $name
94         else
95             clean_file $1
96         fi
97 }
98
99 clean_kconfig () {
100         #$1 = filename $2 = things to remove
101         echo Marking config $2 as depending on NONFREE in $1
102         sed "/^config \\($2\\)\$/{p;i\
103         depends on NONFREE
104 d;}" $1 > $1.deblob
105         check_changed $1
106 }
107
108 clean_mk () {
109         #$1 = config $2 = Makefile name
110         # We don't clean up Makefiles any more --lxoliva
111         # sed -i "/\\($1\\)/d" $2
112         # check_changed $2
113         if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
114             :
115         else
116             die $2 does not contain matches for $1
117         fi
118 }
119
120 clean_ifdef () {
121         #$1 = filename $2 = macro to -U
122         echo unifdefing $1 with -U$2
123         unifdef -U$2 $1 > $1.deblob
124         check_changed $1
125 }
126
127
128 # First, check that files that contain firmwares and their
129 # corresponding sources are present.
130
131 for f in \
132   drivers/char/ser_a2232fw.h \
133     drivers/char/ser_a2232fw.ax \
134   drivers/net/ixp2000/ixp2400_rx.ucode \
135     drivers/net/ixp2000/ixp2400_rx.uc \
136   drivers/net/ixp2000/ixp2400_tx.ucode \
137     drivers/net/ixp2000/ixp2400_rx.uc \
138   drivers/net/wan/wanxlfw.inc_shipped \
139     drivers/net/wan/wanxlfw.S \
140   drivers/net/wireless/atmel.c \
141     drivers/net/wireless/atmel.c \
142   drivers/scsi/53c700_d.h_shipped \
143     drivers/scsi/53c700.scr \
144   drivers/scsi/aic7xxx/aic79xx_seq.h_shipped \
145     drivers/scsi/aic7xxx/aic79xx.seq \
146   drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped \
147     drivers/scsi/aic7xxx/aic7xxx.seq \
148   drivers/scsi/aic7xxx_old/aic7xxx_seq.c \
149     drivers/scsi/aic7xxx_old/aic7xxx.seq \
150   drivers/scsi/53c7xx_d.h_shipped \
151     drivers/scsi/53c7xx.scr \
152   drivers/scsi/sym53c8xx_2/sym_fw1.h \
153     drivers/scsi/sym53c8xx_2/sym_fw1.h \
154   drivers/scsi/sym53c8xx_2/sym_fw2.h \
155     drivers/scsi/sym53c8xx_2/sym_fw2.h \
156   drivers/usb/serial/keyspan_pda_fw.h \
157     drivers/usb/serial/keyspan_pda.S \
158   drivers/usb/serial/xircom_pgs_fw.h \
159     drivers/usb/serial/xircom_pgs.S \
160   sound/pci/cs46xx/imgs/cwcbinhack.h \
161     sound/pci/cs46xx/imgs/cwcdma.asp \
162 ; do
163   if test ! $f; then
164     die $f is not present, something is amiss
165   fi
166 done
167
168 # Identify the tarball.
169 sed -i "s,^EXTRAVERSION.*,&-libre$extra," Makefile
170
171 #######################
172 # Removed ATM Drivers #
173 #######################
174
175 # ATM_AMBASSADOR -  Madge Ambassador (Collage PCI 155 Server)
176 clean_blob drivers/atm/atmsar11.data
177
178 # ATM_FORE200E_PCA
179 # ATM_FORE200E_SBA - SBA-200E
180 clean_kconfig drivers/atm/Kconfig 'ATM_FORE.*'
181 clean_mk CONFIG_ATM_FORE200E drivers/atm/Makefile
182
183 clean_file drivers/atm/pca200e.data
184 clean_file drivers/atm/pca200e_ecd.data
185 clean_file drivers/atm/sba200e_ecd.data
186 clean_kconfig drivers/atm/Kconfig 'ATM_AMBASSADOR'
187 clean_mk CONFIG_ATM_AMBASSADOR drivers/atm/Makefile
188
189
190 ########################
191 # Removed char Drivers #
192 ########################
193
194 # COMPUTONE - Computone IntelliPort Plus serial
195 clean_blob drivers/char/ip2/fip_firm.h
196 clean_kconfig drivers/char/Kconfig 'COMPUTONE'
197 clean_mk CONFIG_COMPUTONE drivers/char/Makefile
198
199 # DSP56001 Device Driver
200 clean_blob drivers/char/dsp56k.c
201 clean_kconfig arch/m68k/Kconfig 'ATARI_DSP56K'
202 clean_mk CONFIG_ATARI_DSP56K drivers/char/Makefile
203
204 # gpu drm
205
206 # DRM_MGA - Matrox g200/g400
207 clean_blob drivers/char/drm/mga_ucode.h
208 clean_kconfig drivers/char/drm/Kconfig 'DRM_MGA'
209 clean_mk CONFIG_DRM_MGA drivers/char/drm/Makefile
210
211 # DRM_R128 - ATI Rage 128
212 clean_blob drivers/char/drm/r128_cce.c
213 clean_kconfig drivers/char/drm/Kconfig 'DRM_R128'
214 clean_mk CONFIG_DRM_R128 drivers/char/drm/Makefile
215
216 # DRM_RADEON - ATI Radeon
217 clean_blob drivers/char/drm/radeon_cp.c
218 clean_kconfig drivers/char/drm/Kconfig 'DRM_RADEON'
219 clean_mk CONFIG_DRM_RADEON drivers/char/drm/Makefile
220
221
222 #########################
223 # Removed Media Drivers #
224 #########################
225
226
227 # dvb/dvb-usb
228 clean_blob drivers/media/dvb/dvb-usb/af9005-script.h
229 clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_AF9005'
230 clean_mk CONFIG_DVB_USB_AF9005 drivers/media/dvb/dvb-usb/Makefile
231
232 # dvb/frontends
233
234 # DVB_TDA10021 - Philips TDA10021 based
235 clean_blob drivers/media/dvb/frontends/tda10021.c
236 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_TDA10021'
237 clean_mk CONFIG_DVB_TDA10021 drivers/media/dvb/frontends/Makefile
238
239 # DVB_TDA8083 - Philips TDA8083 based
240 clean_blob drivers/media/dvb/frontends/tda8083.c
241 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_TDA8083'
242 clean_mk CONFIG_DVB_TDA8083 drivers/media/dvb/frontends/Makefile
243
244 # DVB_VES1820 - VLSI VES1820 based
245 clean_blob drivers/media/dvb/frontends/ves1820.c
246 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_VES1820'
247 clean_mk CONFIG_DVB_VES1820 drivers/media/dvb/frontends/Makefile
248
249 # DVB_VES1X93 - VLSI VES1893 or VES1993 based
250 clean_blob drivers/media/dvb/frontends/ves1x93.c
251 clean_kconfig drivers/media/dvb/frontends/Kconfig 'DVB_VES1X93'
252 clean_mk CONFIG_DVB_VES1X93 drivers/media/dvb/frontends/Makefile
253
254 # dvb/ttpci
255
256 # DVB_AV7110 - AV7110 cards
257 clean_blob drivers/media/dvb/ttpci/av7110_hw.c
258 clean_blob drivers/media/dvb/ttpci/av7110.c
259 clean_kconfig drivers/media/dvb/ttpci/Kconfig 'DVB_AV7110'
260 clean_mk CONFIG_DVB_AV7110 drivers/media/dvb/ttpci/Makefile
261
262 # DVB_BUDGET_AV - Budget cards with analog video inputs
263 clean_blob drivers/media/dvb/ttpci/budget-av.c
264 clean_kconfig drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET_AV'
265 clean_kconfig drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET_PATCH'
266 clean_kconfig drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET'
267 clean_mk CONFIG_DVB_BUDGET_AV drivers/media/dvb/ttpci/Makefile
268 clean_mk CONFIG_DVB_BUDGET_PATCH drivers/media/dvb/ttpci/Makefile
269 clean_mk CONFIG_DVB_BUDGET drivers/media/dvb/ttpci/Makefile
270
271 # DVB_BUDGET_CI - Budget cards with onboard CI connector
272 clean_blob drivers/media/dvb/ttpci/budget-ci.c
273 clean_kconfig drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET_CI'
274 clean_mk CONFIG_DVB_BUDGET_CI drivers/media/dvb/ttpci/Makefile
275
276 # dvb/ttusb-budget
277
278 # DVB_TTUSB_BUDGET - Technotrend/Hauppauge Nova-USB devices
279 clean_blob drivers/media/dvb/ttusb-budget/dvb-ttusb-dspbootcode.h
280 clean_blob drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
281 clean_kconfig drivers/media/dvb/ttusb-budget/Kconfig 'DVB_TTUSB_BUDGET'
282 clean_mk CONFIG_DVB_TTUSB_BUDGET drivers/media/dvb/ttusb-budget/Makefile
283
284 # video
285
286 # USB_PWC - USB Philips Cameras
287 clean_blob drivers/media/video/pwc/pwc-kiara.c
288 clean_blob drivers/media/video/pwc/pwc-timon.c
289 clean_kconfig drivers/media/video/pwc/Kconfig 'USB_PWC'
290 clean_mk CONFIG_USB_PWC drivers/media/video/Makefile
291
292 # VIDEO_CPIA - CPiA Video For Linux
293 clean_blob drivers/media/video/cpia2/cpia2patch.h
294 clean_kconfig drivers/media/video/Kconfig 'VIDEO_CPIA'
295 clean_kconfig drivers/media/video/Kconfig 'VIDEO_CPIA_PP'
296 clean_kconfig drivers/media/video/Kconfig 'VIDEO_CPIA_USB'
297 clean_kconfig drivers/media/video/cpia2/Kconfig 'VIDEO_CPIA2'
298 clean_mk CONFIG_VIDEO_CPIA drivers/media/video/Makefile
299 clean_mk CONFIG_VIDEO_CPIA_PP drivers/media/video/Makefile
300 clean_mk CONFIG_VIDEO_CPIA_USB drivers/media/video/Makefile
301 clean_mk CONFIG_VIDEO_CPIA2 drivers/media/video/Makefile
302
303 # USB_DABUSB - DABUSB driver
304 clean_blob drivers/media/video/dabfirmware.h
305 clean_kconfig drivers/media/Kconfig 'USB_DABUSB'
306 clean_mk CONFIG_USB_DABUSB drivers/media/video/Makefile
307
308 # video/usbvideo
309
310 # USB_IBMCAM - USB IBM (Xirlink) C-it Camera support
311 clean_blob drivers/media/video/usbvideo/ibmcam.c
312 clean_kconfig drivers/media/video/usbvideo/Kconfig 'USB_IBMCAM'
313 clean_mk CONFIG_USB_IBMCAM drivers/media/video/usbvideo/Makefile
314
315 # USB_VICAM - USB 3com HomeConnect (aka vicam)
316 clean_blob drivers/media/video/usbvideo/vicam.c
317 clean_kconfig drivers/media/video/usbvideo/Kconfig 'USB_VICAM'
318 clean_mk CONFIG_USB_VICAM drivers/media/video/usbvideo/Makefile
319
320
321 #######################
322 # Removed net Drivers #
323 #######################
324
325 # ACENIC - Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit
326 clean_blob drivers/net/acenic_firmware.h
327 clean_kconfig drivers/net/Kconfig 'ACENIC'
328 clean_mk CONFIG_ACENIC drivers/net/Makefile
329
330 # ADAPTEC_STARFIRE - Adaptec Starfire/DuraLAN support
331
332 # This file requires prior acceptance of the GPL before you can even
333 # run the code in it.  It's not clear whether this is a further
334 # requirement that would make the distribution incompatible with the
335 # GPL, but since nothing remains after we remove the blob, it's
336 # irrelevant whether the explicit acceptance would be a problem.
337 clean_blob drivers/net/starfire_firmware.h
338 clean_kconfig drivers/net/Kconfig 'ADAPTEC_STARFIRE'
339 clean_mk CONFIG_ADAPTEC_STARFIRE drivers/net/Makefile
340
341 # BNX2 - Broadcom NetXtremeII
342 clean_blob drivers/net/bnx2_fw.h
343 clean_blob drivers/net/bnx2_fw2.h
344 clean_kconfig drivers/net/Kconfig 'BNX2'
345 clean_mk CONFIG_BNX2 drivers/net/Makefile
346
347 clean_blob drivers/net/bnx2x_init_values.h
348 clean_kconfig drivers/net/Kconfig 'BNX2X'
349 clean_mk CONFIG_BNX2X drivers/net/Makefile
350
351 # CASSINI - Sun Cassini
352 clean_blob drivers/net/cassini.h
353 clean_kconfig drivers/net/Kconfig 'CASSINI'
354 clean_mk CONFIG_CASSINI drivers/net/Makefile
355
356 # E100 - Intel(R) PRO/100+
357 clean_blob drivers/net/e100.c
358 if $have_check; then
359   sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/e100.c
360 else
361   clean_kconfig drivers/net/Kconfig 'E100'
362   clean_mk CONFIG_E100 drivers/net/Makefile
363 fi
364
365 # MYRI_SBUS - MyriCOM Gigabit Ethernet
366 clean_blob drivers/net/myri_code.h
367 clean_kconfig drivers/net/Kconfig 'MYRI_SBUS'
368 clean_mk CONFIG_MYRI_SBUS drivers/net/Makefile
369
370 # TEHUTI - Tehuti Networks 10G Ethernet
371 clean_blob drivers/net/tehuti_fw.h
372 clean_kconfig drivers/net/Kconfig 'TEHUTI'
373 clean_mk CONFIG_TEHUTI drivers/net/Makefile
374
375 # TIGON3 - Broadcom Tigon3
376 patch --no-backup-if-mismatch --batch -p0 <<\EOF || \
377   die failed to remove license comments from drivers/net/tg3.c \
378   # patches/linux-2.6-tg3-clean.patch
379 --- drivers/net/tg3.c
380 +++ drivers/net/tg3.c
381 @@ -5,14 +5,6 @@
382   * Copyright (C) 2001, 2002, 2003 Jeff Garzik (jgarzik@pobox.com)
383   * Copyright (C) 2004 Sun Microsystems Inc.
384   * Copyright (C) 2005-2007 Broadcom Corporation.
385 - *
386 - * Firmware is:
387 - *     Derived from proprietary unpublished source code,
388 - *     Copyright (C) 2000-2003 Broadcom Corporation.
389 - *
390 - *     Permission is hereby granted for the distribution of this firmware
391 - *     data in hexadecimal or equivalent format, provided this copyright
392 - *     notice is accompanying it.
393   */
394
395
396 EOF
397 clean_blob drivers/net/tg3.c -s 9
398 if $have_check; then
399   sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/tg3.c
400 else
401   clean_kconfig drivers/net/Kconfig 'TIGON3'
402   clean_mk CONFIG_TIGON3 drivers/net/Makefile
403 fi
404
405 # TYPHOON - 3cr990 series Typhoon
406 clean_blob drivers/net/typhoon-firmware.h
407 clean_kconfig drivers/net/Kconfig 'TYPHOON'
408 clean_mk CONFIG_TYPHOON drivers/net/Makefile
409
410 # appletalk
411
412 # COPS - COPS LocalTalk PC
413 # clean_blob drivers/net/appletalk/cops.c
414 # clean_blob drivers/net/appletalk/cops.h
415 clean_blob drivers/net/appletalk/cops_ffdrv.h
416 clean_blob drivers/net/appletalk/cops_ltdrv.h
417 clean_kconfig drivers/net/appletalk/Kconfig 'COPS'
418 clean_mk CONFIG_COPS drivers/net/appletalk/Makefile
419
420 # hamradio
421
422 # YAM - YAM driver for AX.25
423 clean_blob drivers/net/hamradio/yam1200.h
424 clean_blob drivers/net/hamradio/yam9600.h
425 clean_kconfig drivers/net/hamradio/Kconfig 'YAM'
426 clean_mk CONFIG_YAM drivers/net/hamradio/Makefile
427
428 # pcmcia
429
430 # PCMCIA_SMC91C92 - SMC 91Cxx PCMCIA
431 clean_blob drivers/net/pcmcia/ositech.h
432 clean_kconfig drivers/net/pcmcia/Kconfig 'PCMCIA_SMC91C92'
433 clean_mk CONFIG_PCMCIA_SMC91C92 drivers/net/pcmcia/Makefile
434
435
436 # tokenring
437
438 # 3C359 - 3Com 3C359 Token Link Velocity XL adapter
439 # No need to remove these, they don't contain non-Free code.
440 # clean_blob drivers/net/tokenring/3c359.c
441 # clean_blob drivers/net/tokenring/3c359.h
442 # This file is not under the GPL, better remove it all.
443 clean_file drivers/net/tokenring/3c359_microcode.h
444 clean_kconfig drivers/net/tokenring/Kconfig '3C359'
445 clean_mk CONFIG_3C359 drivers/net/tokenring/Makefile
446
447 # SMCTR - SMC ISA/MCA adapter
448 # No need to remove these, they don't contain non-Free code.
449 # clean_blob drivers/net/tokenring/smctr.c
450 # clean_blob drivers/net/tokenring/smctr.h
451 # This file is not under the GPL, better remove it all.
452 clean_file drivers/net/tokenring/smctr_firmware.h
453 clean_kconfig drivers/net/tokenring/Kconfig 'SMCTR'
454 clean_mk CONFIG_SMCTR drivers/net/tokenring/Makefile
455
456 # usb
457
458 # USB_KAWETH - USB KLSI KL5USB101-based ethernet device support
459 clean_blob drivers/net/usb/kawethfw.h
460 clean_kconfig drivers/net/usb/Kconfig 'USB_KAWETH'
461 clean_mk CONFIG_USB_KAWETH drivers/net/usb/Makefile
462
463
464 ########################
465 # Removed s390 Drivers #
466 ########################
467
468 # QETH - Gigabit Ethernet device support
469 clean_blob drivers/s390/net/qeth_mpc.c
470 clean_kconfig drivers/s390/net/Kconfig 'QETH'
471 clean_mk CONFIG_QETH drivers/s390/net/Makefile
472
473 ########################
474 # Removed SCSI Drivers #
475 ########################
476
477 # SCSI_QLOGICPTI - PTI Qlogic, ISP Driver
478 clean_blob drivers/scsi/qlogicpti_asm.c
479 clean_kconfig drivers/scsi/Kconfig 'SCSI_QLOGICPTI'
480 clean_mk CONFIG_SCSI_QLOGICPTI drivers/scsi/Makefile
481
482 # SCSI_ADVANSYS - AdvanSys SCSI
483 clean_blob drivers/scsi/advansys.c
484 clean_kconfig drivers/scsi/Kconfig 'SCSI_ADVANSYS'
485 clean_mk CONFIG_SCSI_ADVANSYS drivers/scsi/Makefile
486
487 # SCSI_QLOGIC_1280 - Qlogic QLA 1240/1x80/1x160 SCSI
488 clean_blob drivers/scsi/ql1280_fw.h
489 clean_blob drivers/scsi/ql1040_fw.h
490 clean_blob drivers/scsi/ql12160_fw.h
491 clean_kconfig drivers/scsi/Kconfig 'SCSI_QLOGIC_1280'
492 clean_mk CONFIG_SCSI_QLOGIC_1280 drivers/scsi/Makefile
493
494
495 #######################
496 # Removed USB Drivers #
497 #######################
498
499 # misc
500
501 # USB_EMI26 - EMI 2|6 USB Audio interface
502 # No need to remove this, it doesn't contain non-Free code.
503 # clean_blob drivers/usb/misc/emi26.c
504 # This file is not under the GPL, better remove it all.
505 clean_file drivers/usb/misc/emi26_fw.h
506 clean_kconfig drivers/usb/misc/Kconfig 'USB_EMI26'
507 clean_mk CONFIG_USB_EMI26 drivers/usb/misc/Makefile
508
509 # USB_EMI62 - EMI 6|2m USB Audio interface
510 # No need to remove this, it doesn't contain non-Free code.
511 # clean_blob drivers/usb/misc/emi62.c
512 # This file are probably not under the GPL, better remove them all.
513 clean_file drivers/usb/misc/emi62_fw_m.h
514 clean_file drivers/usb/misc/emi62_fw_s.h
515 clean_kconfig drivers/usb/misc/Kconfig 'USB_EMI62'
516 clean_mk CONFIG_USB_EMI62 drivers/usb/misc/Makefile
517
518 # USB_SISUSBVGA - USB 2.0 SVGA dongle support (Net2280/SiS315)
519 clean_blob drivers/usb/misc/sisusbvga/sisusb_init.h
520 clean_kconfig drivers/usb/misc/sisusbvga/Kconfig 'USB_SISUSBVGA'
521 clean_mk CONFIG_USB_SISUSBVGA drivers/usb/misc/sisusbvga/Makefile
522
523 # serial
524
525 # USB_SERIAL_KEYSPAN_MPR - USB Keyspan MPR Firmware
526 clean_file drivers/usb/serial/keyspan_mpr_fw.h
527 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_MPR'
528 # USB_SERIAL_KEYSPAN_USA18X - USB Keyspan USA-18X Firmware
529 clean_file drivers/usb/serial/keyspan_usa18x_fw.h
530 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA18X'
531 # USB_SERIAL_KEYSPAN_USA19 - USB Keyspan USA-19 Firmware
532 clean_file drivers/usb/serial/keyspan_usa19_fw.h
533 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19'
534 # USB_SERIAL_KEYSPAN_USA19QI - USB Keyspan USA-19QI Firmware
535 clean_file drivers/usb/serial/keyspan_usa19qi_fw.h
536 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QI'
537 # USB_SERIAL_KEYSPAN_USA19QW - USB Keyspan USA-19QW Firmware
538 clean_file drivers/usb/serial/keyspan_usa19qw_fw.h
539 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QW'
540 # USB_SERIAL_KEYSPAN_USA19W - USB Keyspan USA-19W Firmware
541 clean_file drivers/usb/serial/keyspan_usa19w_fw.h
542 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19W'
543 # USB_SERIAL_KEYSPAN_USA28 - USB Keyspan USA-28 Firmware
544 clean_file drivers/usb/serial/keyspan_usa28_fw.h
545 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28'
546 # USB_SERIAL_KEYSPAN_USA28XA - USB Keyspan USA-28XA Firmware
547 clean_file drivers/usb/serial/keyspan_usa28xa_fw.h
548 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XA'
549 # USB_SERIAL_KEYSPAN_USA28XB - USB Keyspan USA-28XB Firmware
550 clean_file drivers/usb/serial/keyspan_usa28xb_fw.h
551 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XB'
552 # USB_SERIAL_KEYSPAN_USA28X - USB Keyspan USA-28X Firmware
553 clean_file drivers/usb/serial/keyspan_usa28x_fw.h
554 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28X'
555 # USB_SERIAL_KEYSPAN_USA49W - USB Keyspan USA-49W Firmware
556 clean_file drivers/usb/serial/keyspan_usa49w_fw.h
557 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49W'
558 # USB_SERIAL_KEYSPAN_USA49WLC - USB Keyspan USA-49WLC Firmware
559 clean_file drivers/usb/serial/keyspan_usa49wlc_fw.h
560 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49WLC'
561 clean_mk CONFIG_USB_SERIAL_KEYSPAN drivers/usb/serial/Makefile
562
563 # USB_SERIAL_EDGEPORT - USB Inside Out Edgeport Serial Driver
564 clean_file drivers/usb/serial/io_fw_boot.h
565 clean_file drivers/usb/serial/io_fw_down.h
566 clean_file drivers/usb/serial/io_fw_down2.h
567 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT'
568 clean_mk CONFIG_USB_SERIAL_EDGEPORT drivers/usb/serial/Makefile
569
570 # USB_SERIAL_EDGEPORT_TI - USB Inside Out Edgeport Serial Driver (TI devices)
571 clean_file drivers/usb/serial/io_fw_boot2.h
572 clean_file drivers/usb/serial/io_fw_down3.h
573 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT_TI'
574 clean_mk CONFIG_USB_SERIAL_EDGEPORT_TI drivers/usb/serial/Makefile
575
576 # USB_SERIAL_TI - USB TI 3410/5052 Serial Driver
577 clean_blob drivers/usb/serial/ti_fw_3410.h
578 clean_blob drivers/usb/serial/ti_fw_5052.h
579 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_TI'
580 clean_mk CONFIG_USB_SERIAL_TI drivers/usb/serial/Makefile
581
582 # USB_SERIAL_WHITEHEAT - USB ConnectTech WhiteHEAT Serial Driver
583 clean_blob drivers/usb/serial/whiteheat_fw.h
584 clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_WHITEHEAT'
585 clean_mk CONFIG_USB_SERIAL_WHITEHEAT drivers/usb/serial/Makefile
586
587
588 #########################
589 # Removed video Drivers #
590 #########################
591
592 # FB_ASILIANT - Asiliant (Chips) 69000 display support
593 clean_blob drivers/video/asiliantfb.c
594 clean_kconfig drivers/video/Kconfig 'FB_ASILIANT'
595 clean_mk CONFIG_FB_ASILIANT drivers/video/Makefile
596
597 # FB_CT65550 - Chips 65550 display support
598 clean_blob drivers/video/chipsfb.c
599 clean_kconfig drivers/video/Kconfig 'FB_CT65550'
600 clean_mk CONFIG_FB_CT65550 drivers/video/Makefile
601
602
603 #########################
604 # Removed Sound Drivers #
605 #########################
606
607 # SND_CS46XX - Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x
608 clean_blob sound/pci/cs46xx/cs46xx_image.h
609 # Blobs containing comments, not recognized by deblob-check
610 clean_file sound/pci/cs46xx/imgs/cwc4630.h
611 clean_file sound/pci/cs46xx/imgs/cwcasync.h
612 clean_file sound/pci/cs46xx/imgs/cwcdma.h
613 clean_file sound/pci/cs46xx/imgs/cwcsnoop.h
614 clean_kconfig sound/pci/Kconfig 'SND_CS46XX'
615 # sed -i '/cs46xx\/ \\/d' sound/pci/Makefile
616
617 # SND_KORG1212 - Korg 1212 IO
618 clean_blob sound/pci/korg1212/korg1212-firmware.h
619 clean_ifdef sound/pci/korg1212/korg1212.c CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL
620 clean_kconfig sound/pci/Kconfig 'SND_KORG1212_FIRMWARE_IN_KERNEL'
621
622 # SND_MAESTRO3 - ESS Allegro/Maestro3
623 clean_ifdef sound/pci/maestro3.c CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL
624 clean_kconfig sound/pci/Kconfig 'SND_MAESTRO3_FIRMWARE_IN_KERNEL'
625
626 # SND_YMFPCI - Yamaha YMF724/740/744/754
627 clean_blob sound/pci/ymfpci/ymfpci_image.h
628 clean_ifdef sound/pci/ymfpci/ymfpci_main.c CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL
629 clean_kconfig sound/pci/Kconfig 'SND_YMFPCI_FIRMWARE_IN_KERNEL'
630
631 # SND_SB16_CSP_FIRMWARE_IN_KERNEL - SB16 Advanced Signal Processor
632 clean_blob sound/isa/sb/sb16_csp_codecs.h
633 clean_kconfig sound/isa/Kconfig 'SND_SB16_CSP_FIRMWARE_IN_KERNEL'
634
635 # SND_WAVEFRONT_FIRMWARE_IN_KERNEL
636 # Most of this file is not matched by deblob-check because of WAIT_IDLE.
637 # Just remove it.
638 clean_file sound/isa/wavefront/yss225.c
639 clean_kconfig sound/isa/Kconfig 'SND_WAVEFRONT_FIRMWARE_IN_KERNEL'
640
641 exit 0