deblob-2.6.25 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  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.25, 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=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. clean_blob drivers/net/bnx2x_init_values.h
  248. clean_kconfig drivers/net/Kconfig 'BNX2X'
  249. clean_mk CONFIG_BNX2X drivers/net/Makefile
  250. # CASSINI - Sun Cassini
  251. clean_blob drivers/net/cassini.h
  252. clean_kconfig drivers/net/Kconfig 'CASSINI'
  253. clean_mk CONFIG_CASSINI drivers/net/Makefile
  254. # E100 - Intel(R) PRO/100+
  255. clean_blob drivers/net/e100.c
  256. sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/e100.c
  257. # clean_kconfig drivers/net/Kconfig 'E100'
  258. # clean_mk CONFIG_E100 drivers/net/Makefile
  259. # MYRI_SBUS - MyriCOM Gigabit Ethernet
  260. clean_blob drivers/net/myri_code.h
  261. clean_kconfig drivers/net/Kconfig 'MYRI_SBUS'
  262. clean_mk CONFIG_MYRI_SBUS drivers/net/Makefile
  263. # TEHUTI - Tehuti Networks 10G Ethernet
  264. clean_blob drivers/net/tehuti_fw.h
  265. clean_kconfig drivers/net/Kconfig 'TEHUTI'
  266. clean_mk CONFIG_TEHUTI drivers/net/Makefile
  267. # TIGON3 - Broadcom Tigon3
  268. patch --no-backup-if-mismatch -p0 <<\EOF # patches/linux-2.6-tg3-clean.patch
  269. --- drivers/net/tg3.c
  270. +++ drivers/net/tg3.c
  271. @@ -5,14 +5,6 @@
  272. * Copyright (C) 2001, 2002, 2003 Jeff Garzik (jgarzik@pobox.com)
  273. * Copyright (C) 2004 Sun Microsystems Inc.
  274. * Copyright (C) 2005-2007 Broadcom Corporation.
  275. - *
  276. - * Firmware is:
  277. - * Derived from proprietary unpublished source code,
  278. - * Copyright (C) 2000-2003 Broadcom Corporation.
  279. - *
  280. - * Permission is hereby granted for the distribution of this firmware
  281. - * data in hexadecimal or equivalent format, provided this copyright
  282. - * notice is accompanying it.
  283. */
  284. EOF
  285. clean_blob drivers/net/tg3.c -s 9
  286. sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/tg3.c
  287. # TYPHOON - 3cr990 series Typhoon
  288. clean_blob drivers/net/typhoon-firmware.h
  289. clean_kconfig drivers/net/Kconfig 'TYPHOON'
  290. clean_mk CONFIG_TYPHOON drivers/net/Makefile
  291. # appletalk
  292. # COPS - COPS LocalTalk PC
  293. # clean_blob drivers/net/appletalk/cops.c
  294. # clean_blob drivers/net/appletalk/cops.h
  295. clean_blob drivers/net/appletalk/cops_ffdrv.h
  296. clean_blob drivers/net/appletalk/cops_ltdrv.h
  297. clean_kconfig drivers/net/appletalk/Kconfig 'COPS'
  298. clean_mk CONFIG_COPS drivers/net/appletalk/Makefile
  299. # hamradio
  300. # YAM - YAM driver for AX.25
  301. clean_blob drivers/net/hamradio/yam1200.h
  302. clean_blob drivers/net/hamradio/yam9600.h
  303. clean_kconfig drivers/net/hamradio/Kconfig 'YAM'
  304. clean_mk CONFIG_YAM drivers/net/hamradio/Makefile
  305. # pcmcia
  306. # PCMCIA_SMC91C92 - SMC 91Cxx PCMCIA
  307. clean_blob drivers/net/pcmcia/ositech.h
  308. clean_kconfig drivers/net/pcmcia/Kconfig 'PCMCIA_SMC91C92'
  309. clean_mk CONFIG_PCMCIA_SMC91C92 drivers/net/pcmcia/Makefile
  310. # tokenring
  311. # 3C359 - 3Com 3C359 Token Link Velocity XL adapter
  312. # No need to remove these, they don't contain non-Free code.
  313. # clean_blob drivers/net/tokenring/3c359.c
  314. # clean_blob drivers/net/tokenring/3c359.h
  315. # This file is not under the GPL, better remove it all.
  316. clean_file drivers/net/tokenring/3c359_microcode.h
  317. clean_kconfig drivers/net/tokenring/Kconfig '3C359'
  318. clean_mk CONFIG_3C359 drivers/net/tokenring/Makefile
  319. # SMCTR - SMC ISA/MCA adapter
  320. # No need to remove these, they don't contain non-Free code.
  321. # clean_blob drivers/net/tokenring/smctr.c
  322. # clean_blob drivers/net/tokenring/smctr.h
  323. # This file is not under the GPL, better remove it all.
  324. clean_file drivers/net/tokenring/smctr_firmware.h
  325. clean_kconfig drivers/net/tokenring/Kconfig 'SMCTR'
  326. clean_mk CONFIG_SMCTR drivers/net/tokenring/Makefile
  327. # usb
  328. # USB_KAWETH - USB KLSI KL5USB101-based ethernet device support
  329. clean_blob drivers/net/usb/kawethfw.h
  330. clean_kconfig drivers/net/usb/Kconfig 'USB_KAWETH'
  331. clean_mk CONFIG_USB_KAWETH drivers/net/usb/Makefile
  332. ########################
  333. # Removed s390 Drivers #
  334. ########################
  335. # QETH - Gigabit Ethernet device support
  336. clean_blob drivers/s390/net/qeth_mpc.c
  337. clean_kconfig drivers/s390/net/Kconfig 'QETH'
  338. clean_mk CONFIG_QETH drivers/s390/net/Makefile
  339. ########################
  340. # Removed SCSI Drivers #
  341. ########################
  342. # SCSI_QLOGICPTI - PTI Qlogic, ISP Driver
  343. clean_blob drivers/scsi/qlogicpti_asm.c
  344. clean_kconfig drivers/scsi/Kconfig 'SCSI_QLOGICPTI'
  345. clean_mk CONFIG_SCSI_QLOGICPTI drivers/scsi/Makefile
  346. # SCSI_ADVANSYS - AdvanSys SCSI
  347. clean_blob drivers/scsi/advansys.c
  348. clean_kconfig drivers/scsi/Kconfig 'SCSI_ADVANSYS'
  349. clean_mk CONFIG_SCSI_ADVANSYS drivers/scsi/Makefile
  350. # SCSI_QLOGIC_1280 - Qlogic QLA 1240/1x80/1x160 SCSI
  351. clean_blob drivers/scsi/ql1280_fw.h
  352. clean_blob drivers/scsi/ql1040_fw.h
  353. clean_blob drivers/scsi/ql12160_fw.h
  354. clean_kconfig drivers/scsi/Kconfig 'SCSI_QLOGIC_1280'
  355. clean_mk CONFIG_SCSI_QLOGIC_1280 drivers/scsi/Makefile
  356. #######################
  357. # Removed USB Drivers #
  358. #######################
  359. # misc
  360. # USB_EMI26 - EMI 2|6 USB Audio interface
  361. # No need to remove this, it doesn't contain non-Free code.
  362. # clean_blob drivers/usb/misc/emi26.c
  363. # This file is not under the GPL, better remove it all.
  364. clean_file drivers/usb/misc/emi26_fw.h
  365. clean_kconfig drivers/usb/misc/Kconfig 'USB_EMI26'
  366. clean_mk CONFIG_USB_EMI26 drivers/usb/misc/Makefile
  367. # USB_EMI62 - EMI 6|2m USB Audio interface
  368. # No need to remove this, it doesn't contain non-Free code.
  369. # clean_blob drivers/usb/misc/emi62.c
  370. # This file are probably not under the GPL, better remove them all.
  371. clean_file drivers/usb/misc/emi62_fw_m.h
  372. clean_file drivers/usb/misc/emi62_fw_s.h
  373. clean_kconfig drivers/usb/misc/Kconfig 'USB_EMI62'
  374. clean_mk CONFIG_USB_EMI62 drivers/usb/misc/Makefile
  375. # USB_SISUSBVGA - USB 2.0 SVGA dongle support (Net2280/SiS315)
  376. clean_blob drivers/usb/misc/sisusbvga/sisusb_init.h
  377. clean_kconfig drivers/usb/misc/sisusbvga/Kconfig 'USB_SISUSBVGA'
  378. clean_mk CONFIG_USB_SISUSBVGA drivers/usb/misc/sisusbvga/Makefile
  379. # serial
  380. # USB_SERIAL_KEYSPAN_MPR - USB Keyspan MPR Firmware
  381. clean_file drivers/usb/serial/keyspan_mpr_fw.h
  382. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_MPR'
  383. # USB_SERIAL_KEYSPAN_USA18X - USB Keyspan USA-18X Firmware
  384. clean_file drivers/usb/serial/keyspan_usa18x_fw.h
  385. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA18X'
  386. # USB_SERIAL_KEYSPAN_USA19 - USB Keyspan USA-19 Firmware
  387. clean_file drivers/usb/serial/keyspan_usa19_fw.h
  388. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19'
  389. # USB_SERIAL_KEYSPAN_USA19QI - USB Keyspan USA-19QI Firmware
  390. clean_file drivers/usb/serial/keyspan_usa19qi_fw.h
  391. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QI'
  392. # USB_SERIAL_KEYSPAN_USA19QW - USB Keyspan USA-19QW Firmware
  393. clean_file drivers/usb/serial/keyspan_usa19qw_fw.h
  394. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19QW'
  395. # USB_SERIAL_KEYSPAN_USA19W - USB Keyspan USA-19W Firmware
  396. clean_file drivers/usb/serial/keyspan_usa19w_fw.h
  397. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA19W'
  398. # USB_SERIAL_KEYSPAN_USA28 - USB Keyspan USA-28 Firmware
  399. clean_file drivers/usb/serial/keyspan_usa28_fw.h
  400. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28'
  401. # USB_SERIAL_KEYSPAN_USA28XA - USB Keyspan USA-28XA Firmware
  402. clean_file drivers/usb/serial/keyspan_usa28xa_fw.h
  403. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XA'
  404. # USB_SERIAL_KEYSPAN_USA28XB - USB Keyspan USA-28XB Firmware
  405. clean_file drivers/usb/serial/keyspan_usa28xb_fw.h
  406. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28XB'
  407. # USB_SERIAL_KEYSPAN_USA28X - USB Keyspan USA-28X Firmware
  408. clean_file drivers/usb/serial/keyspan_usa28x_fw.h
  409. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA28X'
  410. # USB_SERIAL_KEYSPAN_USA49W - USB Keyspan USA-49W Firmware
  411. clean_file drivers/usb/serial/keyspan_usa49w_fw.h
  412. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49W'
  413. # USB_SERIAL_KEYSPAN_USA49WLC - USB Keyspan USA-49WLC Firmware
  414. clean_file drivers/usb/serial/keyspan_usa49wlc_fw.h
  415. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_KEYSPAN_USA49WLC'
  416. clean_mk CONFIG_USB_SERIAL_KEYSPAN drivers/usb/serial/Makefile
  417. # USB_SERIAL_EDGEPORT - USB Inside Out Edgeport Serial Driver
  418. clean_file drivers/usb/serial/io_fw_boot.h
  419. clean_file drivers/usb/serial/io_fw_down.h
  420. clean_file drivers/usb/serial/io_fw_down2.h
  421. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT'
  422. clean_mk CONFIG_USB_SERIAL_EDGEPORT drivers/usb/serial/Makefile
  423. # USB_SERIAL_EDGEPORT_TI - USB Inside Out Edgeport Serial Driver (TI devices)
  424. clean_file drivers/usb/serial/io_fw_boot2.h
  425. clean_file drivers/usb/serial/io_fw_down3.h
  426. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_EDGEPORT_TI'
  427. clean_mk CONFIG_USB_SERIAL_EDGEPORT_TI drivers/usb/serial/Makefile
  428. # USB_SERIAL_TI - USB TI 3410/5052 Serial Driver
  429. clean_blob drivers/usb/serial/ti_fw_3410.h
  430. clean_blob drivers/usb/serial/ti_fw_5052.h
  431. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_TI'
  432. clean_mk CONFIG_USB_SERIAL_TI drivers/usb/serial/Makefile
  433. # USB_SERIAL_WHITEHEAT - USB ConnectTech WhiteHEAT Serial Driver
  434. clean_blob drivers/usb/serial/whiteheat_fw.h
  435. clean_kconfig drivers/usb/serial/Kconfig 'USB_SERIAL_WHITEHEAT'
  436. clean_mk CONFIG_USB_SERIAL_WHITEHEAT drivers/usb/serial/Makefile
  437. #########################
  438. # Removed video Drivers #
  439. #########################
  440. # FB_ASILIANT - Asiliant (Chips) 69000 display support
  441. clean_blob drivers/video/asiliantfb.c
  442. clean_kconfig drivers/video/Kconfig 'FB_ASILIANT'
  443. clean_mk CONFIG_FB_ASILIANT drivers/video/Makefile
  444. # FB_CT65550 - Chips 65550 display support
  445. clean_blob drivers/video/chipsfb.c
  446. clean_kconfig drivers/video/Kconfig 'FB_CT65550'
  447. clean_mk CONFIG_FB_CT65550 drivers/video/Makefile
  448. #########################
  449. # Removed Sound Drivers #
  450. #########################
  451. # SND_CS46XX - Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x
  452. clean_blob sound/pci/cs46xx/cs46xx_image.h
  453. # Blobs containing comments, not recognized by deblob-check
  454. clean_file sound/pci/cs46xx/imgs/cwc4630.h
  455. clean_file sound/pci/cs46xx/imgs/cwcasync.h
  456. clean_file sound/pci/cs46xx/imgs/cwcdma.h
  457. clean_file sound/pci/cs46xx/imgs/cwcsnoop.h
  458. clean_kconfig sound/pci/Kconfig 'SND_CS46XX'
  459. # sed -i '/cs46xx\/ \\/d' sound/pci/Makefile
  460. # SND_KORG1212 - Korg 1212 IO
  461. clean_ifdef sound/pci/korg1212/korg1212.c CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL
  462. clean_blob sound/pci/korg1212/korg1212-firmware.h
  463. # SND_MAESTRO3 - ESS Allegro/Maestro3
  464. clean_ifdef sound/pci/maestro3.c CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL
  465. # SND_YMFPCI - Yamaha YMF724/740/744/754
  466. clean_blob sound/pci/ymfpci/ymfpci_image.h
  467. clean_ifdef sound/pci/ymfpci/ymfpci_main.c CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL
  468. ###############
  469. # Not Removed #
  470. ###############
  471. # This is not removed in debian nor gnewsense nor do I think
  472. # it should be removed. It's on debian's list to check out
  473. # I think it points at firmware, but doesn't contain any
  474. # (e.g. if you add the file yss225_registers.bin it will use it)
  475. # clean_blob sound/isa/wavefront/wavefront_fx.c
  476. # VIDEO_STRADIS - Stradis 4:2:2 MPEG-2 video driver
  477. # This just sets a few values and a bunch of zeros. It doesn't look like
  478. # it was done by anything that would have upstream source code. This should
  479. # probably be kept. It's removed in gnewsense, but not even mentioned
  480. # by debian as potential candidate. It is used by stratis.c
  481. # clean_blob drivers/media/video/cs8420.h
  482. # gnewsense removes drivers/serial/jsm/jsm_neo.c but vanilla version looks ok
  483. # Not in kernel 2.6.23
  484. # drivers/scsi/qla2xxx/ql2100_fw.c
  485. # drivers/scsi/qla2xxx/ql2200_fw.c
  486. # drivers/scsi/qla2xxx/ql2300_fw.c
  487. # drivers/scsi/qla2xxx/ql2322_fw.c
  488. # drivers/scsi/qla2xxx/ql2400_fw.c
  489. # drivers/usb/net/kawethfw.h
  490. # sound/isa/sb/sb16/sb16_csp_codecs.h
  491. # sound/oss/yss225.c
  492. # drivers/scsi/53c7xx_d.h_shipped 53c7xx.scr
  493. # sound/pci/cs46xx/imgs/cwcemb80.h
  494. # Not in kernel 2.6.24
  495. # drivers/net/dgrs_firmware.c
  496. # blobs but free source available (source listed 2nd)
  497. # drivers/char/ser_a2232fw.h ser_a2232fw.ax
  498. # drivers/net/ixp2000/ixp2400_rx.ucode ixp2400_rx.uc
  499. # drivers/net/ixp2000/ixp2400_tx.ucode ixp2400_rx.uc
  500. # drivers/net/wan/wanxlfw.inc_shipped wanxlfw.S
  501. # drivers/net/wireless/atmel.c atmel.c
  502. # drivers/scsi/53c700_d.h_shipped 53c700.scr
  503. # drivers/scsi/aic7xxx/aic79xx_seq.h_shipped aic79xx.seq
  504. # drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped aic7xxx.seq
  505. # drivers/scsi/aic7xxx_old/aic7xxx_seq.c aic7xxx.seq
  506. # drivers/scsi/sym53c8xx_2/sym_fw1.h sym_fw1.h
  507. # drivers/scsi/sym53c8xx_2/sym_fw2.h sym_fw2.h
  508. # drivers/usb/serial/keyspan_pda_fw.h keyspan_pda.S
  509. # drivers/usb/serial/xircom_pgs_fw.h xircom_pgs.S