deblob-2.6.27 68 KB

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