1
0

deblob-2.6.24 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2008 Jeff Moe
  4. # Copyright (C) 2008 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. # deblob - remove non-free blobs from the vanilla linux kernel
  21. #
  22. # http://www.blagblagblag.org/pub/BLAG/linux/kernel/v2.6
  23. # ftp://ftp.blagblagblag.org/pub/BLAG/linux/kernel/v2.6
  24. # http://www.fsfla.org/svn/fsfla/software/linux-libre
  25. #
  26. # See also:
  27. # http://wiki.debian.org/KernelFirmwareLicensing
  28. # svn://svn.debian.org/kernel/dists/trunk/linux-2.6/debian/patches/debian/dfsg/files-1
  29. # http://svn.gnewsense.svnhopper.net/gnewsense/builder/trunk/firmware/firmware-removed
  30. # http://svn.gnewsense.svnhopper.net/gnewsense/builder/trunk/gen-kernel
  31. #
  32. # Thanks to Brian Brazil @ gnewsense
  33. #
  34. # This version, suited for 2.6.24, avoids removing Free Software for
  35. # the sake of removing non-Free Software. Drivers that currently
  36. # require non-Free firmware are retained, but firmware included in
  37. # GPLed sources is replaced with /*(DEBLOBBED)*/ if the deblob-check
  38. # script, that knows how to do this, is present. -lxoliva
  39. # For each kver release, start extra with an empty string, then count
  40. # from 1 if changes are needed that require rebuilding the tarball.
  41. kver=2.6.25 extra=
  42. sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile
  43. ####################
  44. # FOOOOO XXXXXX
  45. # drivers/net/tokenring/Kconfig needs as last line:
  46. # endif # TR
  47. # drivers/media/Kconfig needs before endmenu
  48. # endif # DAB
  49. if [ ! -f `which unifdef` ] ; then echo "requires unifdef" ; exit ; fi
  50. function clean_file {
  51. #$1 = filename
  52. rm -v $1
  53. }
  54. check=`echo $0 | sed 's,/[^/]*$,,'`/deblob-check
  55. function clean_blob {
  56. #$1 = filename
  57. if test -f $check; then
  58. name=$1
  59. set fnord "$@" -d
  60. shift 2
  61. $check "$@" $name > $name.deblob
  62. mv $name.deblob $name
  63. else
  64. clean_file $1
  65. fi
  66. }
  67. function clean_kconfig {
  68. #$1 = filename $2 = things to remove
  69. sed -i "/^config $2\$/{p;i\
  70. depends on NONFREE
  71. d;}" $1
  72. }
  73. function clean_mk {
  74. #$1 = config $2 = Makefile name
  75. # We don't clean up Makefiles any more --lxoliva
  76. : sed -i "/($1)/d" $2
  77. }
  78. function clean_ifdef {
  79. #$1 = filename $2 = macro to -U
  80. unifdef $1 -U$2 > $1.deblob
  81. mv $1.deblob $1
  82. }
  83. #######################
  84. # Removed ATM Drivers #
  85. #######################
  86. # ATM_AMBASSADOR - Madge Ambassador (Collage PCI 155 Server)
  87. clean_blob drivers/atm/atmsar11.data
  88. # ATM_FORE200E_PCA
  89. # ATM_FORE200E_SBA - SBA-200E
  90. # it appears by placing these files under the GPL this company
  91. # now has to release the source
  92. # There's no code in this file. --lxoliva
  93. # clean_file drivers/atm/fore200e_firmware_copyright
  94. # There's only GPLed code in this one. --lxoliva
  95. # clean_file drivers/atm/fore200e_mkfirm.c
  96. clean_kconfig ./drivers/atm/Kconfig 'ATM_\(FORE\).*'
  97. clean_mk CONFIG_ATM_FORE200E ./drivers/atm/Makefile
  98. clean_file drivers/atm/pca200e.data
  99. clean_file drivers/atm/pca200e_ecd.data
  100. clean_file drivers/atm/sba200e_ecd.data
  101. clean_kconfig ./drivers/atm/Kconfig 'ATM_AMBASSADOR'
  102. clean_mk CONFIG_ATM_AMBASSADOR ./drivers/atm/Makefile
  103. ########################
  104. # Removed char Drivers #
  105. ########################
  106. # COMPUTONE - Computone IntelliPort Plus serial
  107. clean_blob drivers/char/ip2/fip_firm.h
  108. clean_kconfig ./drivers/char/Kconfig 'COMPUTONE'
  109. clean_mk CONFIG_COMPUTONE ./drivers/char/Makefile
  110. # DSP56001 Device Driver
  111. clean_blob drivers/char/dsp56k.c
  112. clean_kconfig ./arch/m68k/Kconfig 'ATARI_DSP56K'
  113. clean_mk CONFIG_ATARI_DSP56K ./drivers/char/Makefile
  114. # drm
  115. # DRM_MGA - Matrox g200/g400
  116. clean_blob drivers/char/drm/mga_ucode.h
  117. clean_kconfig ./drivers/char/drm/Kconfig 'DRM_MGA'
  118. clean_mk CONFIG_DRM_MGA ./drivers/char/drm/Makefile
  119. # DRM_R128 - ATI Rage 128
  120. clean_blob drivers/char/drm/r128_cce.c
  121. clean_kconfig ./drivers/char/drm/Kconfig 'DRM_R128'
  122. clean_mk CONFIG_DRM_R128 ./drivers/char/drm/Makefile
  123. # DRM_RADEON - ATI Radeon
  124. clean_blob drivers/char/drm/radeon_cp.c
  125. clean_kconfig ./drivers/char/drm/Kconfig 'DRM_RADEON'
  126. clean_mk CONFIG_DRM_RADEON ./drivers/char/drm/Makefile
  127. #########################
  128. # Removed Media Drivers #
  129. #########################
  130. # dvb/dvb-usb
  131. clean_blob drivers/media/dvb/dvb-usb/af9005-script.h
  132. clean_kconfig ./drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_AF9005'
  133. clean_mk CONFIG_DVB_USB_AF9005 ./drivers/media/dvb/dvb-usb/Makefile
  134. # dvb/frontends
  135. # DVB_TDA10021 - Philips TDA10021 based
  136. clean_blob drivers/media/dvb/frontends/tda10021.c
  137. clean_kconfig ./drivers/media/dvb/frontends/Kconfig 'DVB_TDA10021'
  138. clean_mk CONFIG_DVB_TDA10021 ./drivers/media/dvb/frontends/Makefile
  139. # DVB_TDA8083 - Philips TDA8083 based
  140. clean_blob drivers/media/dvb/frontends/tda8083.c
  141. clean_kconfig ./drivers/media/dvb/frontends/Kconfig 'DVB_TDA8083'
  142. clean_mk CONFIG_DVB_TDA8083 ./drivers/media/dvb/frontends/Makefile
  143. # DVB_VES1820 - VLSI VES1820 based
  144. clean_blob drivers/media/dvb/frontends/ves1820.c
  145. clean_kconfig ./drivers/media/dvb/frontends/Kconfig 'DVB_VES1820'
  146. clean_mk CONFIG_DVB_VES1820 ./drivers/media/dvb/frontends/Makefile
  147. # DVB_VES1X93 - VLSI VES1893 or VES1993 based
  148. clean_blob drivers/media/dvb/frontends/ves1x93.c
  149. clean_kconfig ./drivers/media/dvb/frontends/Kconfig 'DVB_VES1X93'
  150. clean_mk CONFIG_DVB_VES1X93 ./drivers/media/dvb/frontends/Makefile
  151. # dvb/ttpci
  152. # DVB_AV7110 - AV7110 cards
  153. clean_blob drivers/media/dvb/ttpci/av7110_hw.c
  154. clean_blob drivers/media/dvb/ttpci/av7110.c
  155. clean_kconfig ./drivers/media/dvb/ttpci/Kconfig 'DVB_AV7110'
  156. clean_mk CONFIG_DVB_AV7110 ./drivers/media/dvb/ttpci/Makefile
  157. # DVB_BUDGET_AV - Budget cards with analog video inputs
  158. clean_blob drivers/media/dvb/ttpci/budget-av.c
  159. clean_kconfig ./drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET_AV'
  160. clean_kconfig ./drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET_PATCH'
  161. clean_kconfig ./drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET'
  162. clean_mk CONFIG_DVB_BUDGET_AV ./drivers/media/dvb/ttpci/Makefile
  163. clean_mk CONFIG_DVB_BUDGET_PATCH ./drivers/media/dvb/ttpci/Makefile
  164. clean_mk CONFIG_DVB_BUDGET ./drivers/media/dvb/ttpci/Makefile
  165. # DVB_BUDGET_CI - Budget cards with onboard CI connector
  166. clean_blob drivers/media/dvb/ttpci/budget-ci.c
  167. clean_kconfig ./drivers/media/dvb/ttpci/Kconfig 'DVB_BUDGET_CI'
  168. clean_mk CONFIG_DVB_BUDGET_CI ./drivers/media/dvb/ttpci/Makefile
  169. # dvb/ttusb-budget
  170. # DVB_TTUSB_BUDGET - Technotrend/Hauppauge Nova-USB devices
  171. clean_blob drivers/media/dvb/ttusb-budget/dvb-ttusb-dspbootcode.h
  172. clean_blob drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
  173. clean_kconfig ./drivers/media/dvb/ttusb-budget/Kconfig 'DVB_TTUSB_BUDGET'
  174. clean_mk CONFIG_DVB_TTUSB_BUDGET ./drivers/media/dvb/ttusb-budget/Makefile
  175. # video
  176. # USB_PWC - USB Philips Cameras
  177. clean_blob drivers/media/video/pwc/pwc-kiara.c
  178. clean_blob drivers/media/video/pwc/pwc-timon.c
  179. clean_kconfig ./drivers/media/video/pwc/Kconfig 'USB_PWC'
  180. clean_mk CONFIG_USB_PWC ./drivers/media/video/Makefile
  181. # VIDEO_CPIA - CPiA Video For Linux
  182. clean_blob drivers/media/video/cpia2/cpia2patch.h
  183. clean_kconfig ./drivers/media/video/Kconfig 'VIDEO_CPIA'
  184. clean_kconfig ./drivers/media/video/Kconfig 'VIDEO_CPIA_PP'
  185. clean_kconfig ./drivers/media/video/Kconfig 'VIDEO_CPIA_USB'
  186. clean_kconfig ./drivers/media/video/cpia2/Kconfig 'VIDEO_CPIA2'
  187. clean_mk CONFIG_VIDEO_CPIA ./drivers/media/video/Makefile
  188. clean_mk CONFIG_VIDEO_CPIA_PP ./drivers/media/video/Makefile
  189. clean_mk CONFIG_VIDEO_CPIA_USB ./drivers/media/video/Makefile
  190. clean_mk CONFIG_VIDEO_CPIA2 ./drivers/media/video/Makefile
  191. # USB_DABUSB - DABUSB driver
  192. clean_blob drivers/media/video/dabfirmware.h
  193. clean_kconfig ./drivers/media/Kconfig 'USB_DABUSB'
  194. clean_mk CONFIG_USB_DABUSB ./drivers/media/video/Makefile
  195. # video/usbvideo
  196. # USB_IBMCAM - USB IBM (Xirlink) C-it Camera support
  197. clean_blob drivers/media/video/usbvideo/ibmcam.c
  198. clean_kconfig ./drivers/media/video/usbvideo/Kconfig 'USB_IBMCAM'
  199. clean_mk CONFIG_USB_IBMCAM ./drivers/media/video/usbvideo/Makefile
  200. # USB_VICAM - USB 3com HomeConnect (aka vicam)
  201. clean_blob drivers/media/video/usbvideo/vicam.c
  202. clean_kconfig ./drivers/media/video/usbvideo/Kconfig 'USB_VICAM'
  203. clean_mk CONFIG_USB_VICAM ./drivers/media/video/usbvideo/Makefile
  204. # other...
  205. # disable -- appears to neeed other DVB bits
  206. clean_mk CONFIG_DVB_CORE ./drivers/media/Makefile
  207. clean_mk CONFIG_VIDEOBUF_DVB ./drivers/media/video/Makefile
  208. clean_mk CONFIG_VIDEO_SAA7134 ./drivers/media/video/Makefile
  209. clean_mk CONFIG_VIDEO_CX88 ./drivers/media/video/Makefile
  210. clean_kconfig ./drivers/media/Kconfig 'VIDEOBUF_DVB'
  211. #######################
  212. # Removed net Drivers #
  213. #######################
  214. # ACENIC - Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit
  215. clean_blob drivers/net/acenic_firmware.h
  216. clean_kconfig ./drivers/net/Kconfig 'ACENIC'
  217. clean_mk CONFIG_ACENIC ./drivers/net/Makefile
  218. # ADAPTEC_STARFIRE - Adaptec Starfire/DuraLAN support
  219. # This adds restrictions on top of GPLv2, but after deblobbing,
  220. # nothing copyrightable remains.
  221. clean_blob drivers/net/starfire_firmware.h
  222. clean_kconfig ./drivers/net/Kconfig 'ADAPTEC_STARFIRE'
  223. clean_mk CONFIG_ADAPTEC_STARFIRE ./drivers/net/Makefile
  224. # BNX2 - Broadcom NetXtremeII
  225. clean_blob drivers/net/bnx2_fw.h
  226. clean_blob drivers/net/bnx2_fw2.h
  227. clean_kconfig ./drivers/net/Kconfig 'BNX2'
  228. clean_mk CONFIG_BNX2 ./drivers/net/Makefile
  229. # CASSINI - Sun Cassini
  230. clean_blob drivers/net/cassini.h
  231. clean_kconfig ./drivers/net/Kconfig 'CASSINI'
  232. clean_mk CONFIG_CASSINI ./drivers/net/Makefile
  233. # E100 - Intel(R) PRO/100+
  234. clean_blob drivers/net/e100.c
  235. sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/e100.c
  236. # clean_kconfig ./drivers/net/Kconfig 'E100'
  237. # clean_mk CONFIG_E100 ./drivers/net/Makefile
  238. # MYRI_SBUS - MyriCOM Gigabit Ethernet
  239. clean_blob drivers/net/myri_code.h
  240. clean_kconfig ./drivers/net/Kconfig 'MYRI_SBUS'
  241. clean_mk CONFIG_MYRI_SBUS ./drivers/net/Makefile
  242. # TEHUTI - Tehuti Networks 10G Ethernet
  243. clean_blob drivers/net/tehuti_fw.h
  244. clean_kconfig ./drivers/net/Kconfig 'TEHUTI'
  245. clean_mk CONFIG_TEHUTI ./drivers/net/Makefile
  246. # TIGON3 - Broadcom Tigon3
  247. patch --no-backup-if-mismatch -p0 <<\EOF # patches/linux-2.6-tg3-clean.patch
  248. --- drivers/net/tg3.c
  249. +++ drivers/net/tg3.c
  250. @@ -5,14 +5,6 @@
  251. * Copyright (C) 2001, 2002, 2003 Jeff Garzik (jgarzik@pobox.com)
  252. * Copyright (C) 2004 Sun Microsystems Inc.
  253. * Copyright (C) 2005-2007 Broadcom Corporation.
  254. - *
  255. - * Firmware is:
  256. - * Derived from proprietary unpublished source code,
  257. - * Copyright (C) 2000-2003 Broadcom Corporation.
  258. - *
  259. - * Permission is hereby granted for the distribution of this firmware
  260. - * data in hexadecimal or equivalent format, provided this copyright
  261. - * notice is accompanying it.
  262. */
  263. EOF
  264. clean_blob drivers/net/tg3.c -s 9
  265. sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/tg3.c
  266. # TYPHOON - 3cr990 series Typhoon
  267. clean_blob drivers/net/typhoon-firmware.h
  268. clean_kconfig ./drivers/net/Kconfig 'TYPHOON'
  269. clean_mk CONFIG_TYPHOON ./drivers/net/Makefile
  270. # appletalk
  271. # COPS - COPS LocalTalk PC
  272. # clean_blob drivers/net/appletalk/cops.c
  273. # clean_blob drivers/net/appletalk/cops.h
  274. clean_blob drivers/net/appletalk/cops_ffdrv.h
  275. clean_blob drivers/net/appletalk/cops_ltdrv.h
  276. clean_kconfig ./drivers/net/appletalk/Kconfig 'COPS|COPS_DAYNA|COPS_TANGENT'
  277. clean_mk CONFIG_COPS ./drivers/net/appletalk/Makefile
  278. # hamradio
  279. # YAM - YAM driver for AX.25
  280. clean_blob drivers/net/hamradio/yam1200.h
  281. clean_blob drivers/net/hamradio/yam9600.h
  282. clean_kconfig ./drivers/net/hamradio/Kconfig 'YAM'
  283. clean_mk CONFIG_YAM ./drivers/net/hamradio/Makefile
  284. # pcmcia
  285. # PCMCIA_SMC91C92 - SMC 91Cxx PCMCIA
  286. clean_blob drivers/net/pcmcia/ositech.h
  287. clean_kconfig ./drivers/net/pcmcia/Kconfig 'PCMCIA_SMC91C92'
  288. clean_mk CONFIG_PCMCIA_SMC91C92 ./drivers/net/pcmcia/Makefile
  289. # tokenring
  290. # 3C359 - 3Com 3C359 Token Link Velocity XL adapter
  291. # No need to remove these, they don't contain non-Free code.
  292. # clean_blob drivers/net/tokenring/3c359.c
  293. # clean_blob drivers/net/tokenring/3c359.h
  294. # This file is not under the GPL, better remove it all.
  295. clean_file drivers/net/tokenring/3c359_microcode.h
  296. clean_kconfig ./drivers/net/tokenring/Kconfig '3C359'
  297. clean_mk CONFIG_3C359 ./drivers/net/tokenring/Makefile
  298. # SMCTR - SMC ISA/MCA adapter
  299. # No need to remove these, they don't contain non-Free code.
  300. # clean_blob drivers/net/tokenring/smctr.c
  301. # clean_blob drivers/net/tokenring/smctr.h
  302. # This file is not under the GPL, better remove it all.
  303. clean_file drivers/net/tokenring/smctr_firmware.h
  304. clean_kconfig ./drivers/net/tokenring/Kconfig 'SMCTR'
  305. clean_mk CONFIG_SMCTR ./drivers/net/tokenring/Makefile
  306. # usb
  307. # USB_KAWETH - USB KLSI KL5USB101-based ethernet device support
  308. clean_blob drivers/net/usb/kawethfw.h
  309. clean_kconfig ./drivers/net/usb/Kconfig 'USB_KAWETH'
  310. clean_mk CONFIG_USB_KAWETH ./drivers/net/usb/Makefile
  311. ########################
  312. # Removed s390 Drivers #
  313. ########################
  314. # QETH - Gigabit Ethernet device support
  315. clean_blob drivers/s390/net/qeth_mpc.c
  316. clean_kconfig ./drivers/s390/net/Kconfig 'QETH'
  317. clean_mk CONFIG_QETH ./drivers/s390/net/Makefile
  318. ########################
  319. # Removed SCSI Drivers #
  320. ########################
  321. # SCSI_QLOGICPTI - PTI Qlogic, ISP Driver
  322. clean_blob drivers/scsi/qlogicpti_asm.c
  323. clean_kconfig ./drivers/scsi/Kconfig 'SCSI_QLOGICPTI'
  324. clean_mk CONFIG_SCSI_QLOGICPTI ./drivers/scsi/Makefile
  325. # SCSI_ADVANSYS - AdvanSys SCSI
  326. clean_blob drivers/scsi/advansys.c
  327. clean_kconfig ./drivers/scsi/Kconfig 'SCSI_ADVANSYS'
  328. clean_mk CONFIG_SCSI_ADVANSYS ./drivers/scsi/Makefile
  329. # SCSI_QLOGIC_1280 - Qlogic QLA 1240/1x80/1x160 SCSI
  330. clean_blob drivers/scsi/ql1280_fw.h
  331. clean_blob drivers/scsi/ql1040_fw.h
  332. clean_blob drivers/scsi/ql12160_fw.h
  333. clean_kconfig ./drivers/scsi/Kconfig 'SCSI_QLOGIC_1280'
  334. clean_mk CONFIG_SCSI_QLOGIC_1280 ./drivers/scsi/Makefile
  335. #######################
  336. # Removed USB Drivers #
  337. #######################
  338. # misc
  339. # USB_EMI26 - EMI 2|6 USB Audio interface
  340. # No need to remove this, it doesn't contain non-Free code.
  341. # clean_blob drivers/usb/misc/emi26.c
  342. # This file is not under the GPL, better remove it all.
  343. clean_file drivers/usb/misc/emi26_fw.h
  344. clean_kconfig ./drivers/usb/misc/Kconfig 'USB_EMI26'
  345. clean_mk CONFIG_USB_EMI26 ./drivers/usb/misc/Makefile
  346. # USB_EMI62 - EMI 6|2m USB Audio interface
  347. # No need to remove this, it doesn't contain non-Free code.
  348. # clean_blob drivers/usb/misc/emi62.c
  349. # This file are probably not under the GPL, better remove them all.
  350. clean_file drivers/usb/misc/emi62_fw_m.h
  351. clean_file drivers/usb/misc/emi62_fw_s.h
  352. clean_kconfig ./drivers/usb/misc/Kconfig 'USB_EMI62'
  353. clean_mk CONFIG_USB_EMI62 ./drivers/usb/misc/Makefile
  354. # USB_SISUSBVGA - USB 2.0 SVGA dongle support (Net2280/SiS315)
  355. clean_blob drivers/usb/misc/sisusbvga/sisusb_init.h
  356. clean_kconfig ./drivers/usb/misc/sisusbvga/Kconfig 'USB_SISUSBVGA'
  357. clean_mk CONFIG_USB_SISUSBVGA ./drivers/usb/misc/sisusbvga/Makefile
  358. # serial
  359. # USB_SERIAL_KEYSPAN_MPR - USB Keyspan MPR Firmware
  360. clean_file drivers/usb/serial/keyspan_mpr_fw.h
  361. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_MPR'
  362. # USB_SERIAL_KEYSPAN_USA18X - USB Keyspan USA-18X Firmware
  363. clean_file drivers/usb/serial/keyspan_usa18x_fw.h
  364. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA18X'
  365. # USB_SERIAL_KEYSPAN_USA19 - USB Keyspan USA-19 Firmware
  366. clean_file drivers/usb/serial/keyspan_usa19_fw.h
  367. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19'
  368. # USB_SERIAL_KEYSPAN_USA19QI - USB Keyspan USA-19QI Firmware
  369. clean_file drivers/usb/serial/keyspan_usa19qi_fw.h
  370. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QI'
  371. # USB_SERIAL_KEYSPAN_USA19QW - USB Keyspan USA-19QW Firmware
  372. clean_file drivers/usb/serial/keyspan_usa19qw_fw.h
  373. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QW'
  374. # USB_SERIAL_KEYSPAN_USA19W - USB Keyspan USA-19W Firmware
  375. clean_file drivers/usb/serial/keyspan_usa19w_fw.h
  376. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19W'
  377. # USB_SERIAL_KEYSPAN_USA28 - USB Keyspan USA-28 Firmware
  378. clean_file drivers/usb/serial/keyspan_usa28_fw.h
  379. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28'
  380. # USB_SERIAL_KEYSPAN_USA28XA - USB Keyspan USA-28XA Firmware
  381. clean_file drivers/usb/serial/keyspan_usa28xa_fw.h
  382. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XA'
  383. # USB_SERIAL_KEYSPAN_USA28XB - USB Keyspan USA-28XB Firmware
  384. clean_file drivers/usb/serial/keyspan_usa28xb_fw.h
  385. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XB'
  386. # USB_SERIAL_KEYSPAN_USA28X - USB Keyspan USA-28X Firmware
  387. clean_file drivers/usb/serial/keyspan_usa28x_fw.h
  388. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28X'
  389. # USB_SERIAL_KEYSPAN_USA49W - USB Keyspan USA-49W Firmware
  390. clean_file drivers/usb/serial/keyspan_usa49w_fw.h
  391. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49W'
  392. # USB_SERIAL_KEYSPAN_USA49WLC - USB Keyspan USA-49WLC Firmware
  393. clean_file drivers/usb/serial/keyspan_usa49wlc_fw.h
  394. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49WLC'
  395. clean_mk CONFIG_USB_SERIAL_KEYSPAN ./drivers/usb/serial/Makefile
  396. # USB_SERIAL_EDGEPORT - USB Inside Out Edgeport Serial Driver
  397. clean_file drivers/usb/serial/io_fw_boot.h
  398. clean_file drivers/usb/serial/io_fw_down.h
  399. clean_file drivers/usb/serial/io_fw_down2.h
  400. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT'
  401. clean_mk CONFIG_USB_SERIAL_EDGEPORT ./drivers/usb/serial/Makefile
  402. # USB_SERIAL_EDGEPORT_TI - USB Inside Out Edgeport Serial Driver (TI devices)
  403. clean_file drivers/usb/serial/io_fw_boot2.h
  404. clean_file drivers/usb/serial/io_fw_down3.h
  405. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT_TI'
  406. clean_mk CONFIG_USB_SERIAL_EDGEPORT_TI ./drivers/usb/serial/Makefile
  407. # USB_SERIAL_TI - USB TI 3410/5052 Serial Driver
  408. clean_blob drivers/usb/serial/ti_fw_3410.h
  409. clean_blob drivers/usb/serial/ti_fw_5052.h
  410. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_TI'
  411. clean_mk CONFIG_USB_SERIAL_TI ./drivers/usb/serial/Makefile
  412. # USB_SERIAL_WHITEHEAT - USB ConnectTech WhiteHEAT Serial Driver
  413. clean_blob drivers/usb/serial/whiteheat_fw.h
  414. clean_kconfig ./drivers/usb/serial/Kconfig 'USB_SERIAL_WHITEHEAT'
  415. clean_mk CONFIG_USB_SERIAL_WHITEHEAT ./drivers/usb/serial/Makefile
  416. #########################
  417. # Removed video Drivers #
  418. #########################
  419. # FB_ASILIANT - Asiliant (Chips) 69000 display support
  420. clean_blob drivers/video/asiliantfb.c
  421. clean_kconfig ./drivers/video/Kconfig 'FB_ASILIANT'
  422. clean_mk CONFIG_FB_ASILIANT ./drivers/video/Makefile
  423. # FB_CT65550 - Chips 65550 display support
  424. clean_blob drivers/video/chipsfb.c
  425. clean_kconfig ./drivers/video/Kconfig 'FB_CT65550'
  426. clean_mk CONFIG_FB_CT65550 ./drivers/video/Makefile
  427. #########################
  428. # Removed Sound Drivers #
  429. #########################
  430. # SND_CS46XX - Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x
  431. clean_blob sound/pci/cs46xx/cs46xx_image.h
  432. # Blobs containing comments, not recognized by deblob-check
  433. clean_file sound/pci/cs46xx/imgs/cwc4630.h
  434. clean_file sound/pci/cs46xx/imgs/cwcasync.h
  435. clean_file sound/pci/cs46xx/imgs/cwcdma.h
  436. clean_file sound/pci/cs46xx/imgs/cwcsnoop.h
  437. clean_kconfig ./sound/pci/Kconfig 'SND_CS46XX'
  438. # sed -i '/cs46xx\/ \\/d' ./sound/pci/Makefile
  439. # SND_KORG1212 - Korg 1212 IO
  440. clean_ifdef sound/pci/korg1212/korg1212.c CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL
  441. clean_blob sound/pci/korg1212/korg1212-firmware.h
  442. # SND_MAESTRO3 - ESS Allegro/Maestro3
  443. clean_ifdef sound/pci/maestro3.c CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL
  444. # SND_YMFPCI - Yamaha YMF724/740/744/754
  445. clean_blob sound/pci/ymfpci/ymfpci_image.h
  446. clean_ifdef sound/pci/ymfpci/ymfpci_main.c CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL
  447. ###############
  448. # Not Removed #
  449. ###############
  450. # This is not removed in debian nor gnewsense nor do I think
  451. # it should be removed. It's on debian's list to check out
  452. # I think it points at firmware, but doesn't contain any
  453. # (e.g. if you add the file yss225_registers.bin it will use it)
  454. # clean_blob sound/isa/wavefront/wavefront_fx.c
  455. # VIDEO_STRADIS - Stradis 4:2:2 MPEG-2 video driver
  456. # This just sets a few values and a bunch of zeros. It doesn't look like
  457. # it was done by anything that would have upstream source code. This should
  458. # probably be kept. It's removed in gnewsense, but not even mentioned
  459. # by debian as potential candidate. It is used by stratis.c
  460. # clean_blob drivers/media/video/cs8420.h
  461. # gnewsense removes drivers/serial/jsm/jsm_neo.c but vanilla version looks ok
  462. # Not in kernel 2.6.23
  463. # drivers/scsi/qla2xxx/ql2100_fw.c
  464. # drivers/scsi/qla2xxx/ql2200_fw.c
  465. # drivers/scsi/qla2xxx/ql2300_fw.c
  466. # drivers/scsi/qla2xxx/ql2322_fw.c
  467. # drivers/scsi/qla2xxx/ql2400_fw.c
  468. # drivers/usb/net/kawethfw.h
  469. # sound/isa/sb/sb16/sb16_csp_codecs.h
  470. # sound/oss/yss225.c
  471. # drivers/scsi/53c7xx_d.h_shipped 53c7xx.scr
  472. # sound/pci/cs46xx/imgs/cwcemb80.h
  473. # Not in kernel 2.6.24
  474. # drivers/net/dgrs_firmware.c
  475. # blobs but free source available (source listed 2nd)
  476. # drivers/char/ser_a2232fw.h ser_a2232fw.ax
  477. # drivers/net/ixp2000/ixp2400_rx.ucode ixp2400_rx.uc
  478. # drivers/net/ixp2000/ixp2400_tx.ucode ixp2400_rx.uc
  479. # drivers/net/wan/wanxlfw.inc_shipped wanxlfw.S
  480. # drivers/net/wireless/atmel.c atmel.c
  481. # drivers/scsi/53c700_d.h_shipped 53c700.scr
  482. # drivers/scsi/aic7xxx/aic79xx_seq.h_shipped aic79xx.seq
  483. # drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped aic7xxx.seq
  484. # drivers/scsi/aic7xxx_old/aic7xxx_seq.c aic7xxx.seq
  485. # drivers/scsi/sym53c8xx_2/sym_fw1.h sym_fw1.h
  486. # drivers/scsi/sym53c8xx_2/sym_fw2.h sym_fw2.h
  487. # drivers/usb/serial/keyspan_pda_fw.h keyspan_pda.S
  488. # drivers/usb/serial/xircom_pgs_fw.h xircom_pgs.S