deblob-2.6.24 22 KB

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