1
0

deblob-2.6.27 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829
  1. #!/bin/sh
  2. # Copyright (C) 2008-2012 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=
  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. fi
  70. filetest () {
  71. if [ ! -f $1 ]; then
  72. die $1 does not exist, something is wrong && return 1
  73. fi
  74. }
  75. announce () {
  76. echo
  77. echo "$@"
  78. }
  79. clean_file () {
  80. #$1 = filename
  81. filetest $1 || return
  82. rm $1
  83. echo $1: removed
  84. }
  85. check_changed () {
  86. #$1 = filename
  87. if cmp $1.deblob $1 > /dev/null; then
  88. rm $1.deblob
  89. die $1 did not change, something is wrong && return 1
  90. fi
  91. mv $1.deblob $1
  92. }
  93. clean_blob () {
  94. #$1 = filename
  95. filetest $1 || return
  96. if $have_check; then
  97. name=$1
  98. set fnord "$@" -d
  99. shift 2
  100. $check "$@" -i linux-$kver $name > $name.deblob
  101. check_changed $name && echo $name: removed blobs
  102. else
  103. clean_file $1
  104. fi
  105. }
  106. dummy_blob () {
  107. #$1 = filename
  108. if test -f $1; then
  109. die $1 exists, something is wrong && return
  110. elif test ! -f firmware/Makefile; then
  111. die firmware/Makefile does not exist, something is wrong && return
  112. fi
  113. clean_sed "s,`echo $1 | sed s,^firmware/,,`,\$(DEBLOBBED),g" \
  114. firmware/Makefile "dropped $1"
  115. }
  116. clean_fw () {
  117. #$1 = firmware text input, $2 = firmware output
  118. filetest $1 || return
  119. if test -f $2; then
  120. die $2 exists, something is wrong && return
  121. fi
  122. clean_blob $1 -s 4
  123. dummy_blob $2
  124. }
  125. drop_fw_file () {
  126. #$1 = firmware text input, $2 = firmware output
  127. filetest $1 || return
  128. if test -f $2; then
  129. die $2 exists, something is wrong && return
  130. fi
  131. clean_file $1
  132. dummy_blob $2
  133. }
  134. clean_kconfig () {
  135. #$1 = filename $2 = things to remove
  136. case $1 in
  137. -f)
  138. shift
  139. ;;
  140. *)
  141. if $have_check; then
  142. return
  143. fi
  144. ;;
  145. esac
  146. filetest $1 || return
  147. sed "/^config \\($2\\)\$/{p;i\
  148. depends on NONFREE
  149. d;}" $1 > $1.deblob
  150. check_changed $1 && echo $1: marked config $2 as depending on NONFREE
  151. }
  152. clean_mk () {
  153. #$1 = config $2 = Makefile name
  154. # We don't clean up Makefiles any more --lxoliva
  155. # sed -i "/\\($1\\)/d" $2
  156. # echo $2: removed $1 support
  157. # check_changed $2
  158. filetest $2 || return
  159. if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
  160. :
  161. else
  162. die $2 does not contain matches for $1
  163. fi
  164. }
  165. clean_sed () {
  166. #$1 = sed-script $2 = file $3 = comment
  167. filetest $2 || return
  168. sed -e "$1" "$2" > "$2".deblob || {
  169. die $2: failed: ${3-applied sed script $1} && return 1; }
  170. check_changed $2 && echo $2: ${3-applied sed script $1}
  171. }
  172. reject_firmware () {
  173. #$1 = file $2 = pre sed pattern
  174. filetest $1 || return
  175. clean_sed "$2"'
  176. s,request\(_ihex\)\?_firmware\(_nowait\)\?,reject_firmware\2,g
  177. ' "$1" 'disabled non-Free firmware-loading machinery'
  178. }
  179. maybe_reject_firmware () {
  180. #$1 = file $2 = pre sed pattern
  181. filetest $1 || return
  182. clean_sed "$2"'
  183. s,request_firmware\(_nowait\)\?,maybe_reject_firmware\1,g
  184. ' "$1" 'retain Free firmware-loading machinery, disabling non-Free one'
  185. }
  186. undefine_macro () {
  187. #$1 - macro name
  188. #$2 - substitution
  189. #$3 - message
  190. #rest - file names
  191. macro=$1 repl=$2 msg=$3; shift 3
  192. for f in "$@"; do
  193. clean_sed "
  194. s,^#define $macro .*\$,/*(DEBLOBBED)*/,;
  195. s,$macro,$repl,g;
  196. " "$f" "$msg"
  197. done
  198. }
  199. undefault_firmware () {
  200. #$1 - pattern such that $1_DEFAULT_FIRMWARE is #defined to non-Free firmware
  201. #$@ other than $1 - file names
  202. macro="$1"_DEFAULT_FIRMWARE; shift
  203. undefine_macro "$macro" "\"/*(DEBLOBBED)*/\"" \
  204. "disabled non-Free firmware" "$@"
  205. }
  206. # First, check that files that contain firmwares and their
  207. # corresponding sources are present.
  208. for f in \
  209. drivers/char/ser_a2232fw.h \
  210. drivers/char/ser_a2232fw.ax \
  211. drivers/net/ixp2000/ixp2400_rx.ucode \
  212. drivers/net/ixp2000/ixp2400_rx.uc \
  213. drivers/net/ixp2000/ixp2400_tx.ucode \
  214. drivers/net/ixp2000/ixp2400_rx.uc \
  215. drivers/net/wan/wanxlfw.inc_shipped \
  216. drivers/net/wan/wanxlfw.S \
  217. drivers/net/wireless/atmel.c \
  218. drivers/net/wireless/atmel.c \
  219. drivers/scsi/53c700_d.h_shipped \
  220. drivers/scsi/53c700.scr \
  221. drivers/scsi/aic7xxx/aic79xx_seq.h_shipped \
  222. drivers/scsi/aic7xxx/aic79xx.seq \
  223. drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped \
  224. drivers/scsi/aic7xxx/aic7xxx.seq \
  225. drivers/scsi/aic7xxx_old/aic7xxx_seq.c \
  226. drivers/scsi/aic7xxx_old/aic7xxx.seq \
  227. drivers/scsi/53c7xx_d.h_shipped \
  228. drivers/scsi/53c7xx.scr \
  229. drivers/scsi/sym53c8xx_2/sym_fw1.h \
  230. drivers/scsi/sym53c8xx_2/sym_fw1.h \
  231. drivers/scsi/sym53c8xx_2/sym_fw2.h \
  232. drivers/scsi/sym53c8xx_2/sym_fw2.h \
  233. firmware/dsp56k/bootstrap.bin.ihex \
  234. firmware/dsp56k/bootstrap.asm \
  235. firmware/keyspan_pda/keyspan_pda.HEX \
  236. firmware/keyspan_pda/keyspan_pda.S \
  237. firmware/keyspan_pda/xircom_pgs.HEX \
  238. firmware/keyspan_pda/xircom_pgs.S \
  239. sound/pci/cs46xx/imgs/cwcdma.h \
  240. sound/pci/cs46xx/imgs/cwcdma.asp \
  241. ; do
  242. if test ! $f; then
  243. die $f is not present, something is amiss && return
  244. fi
  245. done
  246. # Identify the tarball.
  247. grep -q 'EXTRAVERSION.*-gnu' Makefile ||
  248. clean_sed "s,^EXTRAVERSION.*,&-gnu$extra,
  249. " Makefile 'added -gnu to EXTRAVERSION'
  250. grep -q Linux-libre README ||
  251. clean_sed '
  252. 1,3 s,Linux kernel release.*kernel\.org.*,GNU Linux-libre <http://linux-libre.fsfla.org>,
  253. 2,5 s,Linux version [0-9.]*,GNU Linux-libre,
  254. 1,20 s,\(operating system \)\?Unix,Unix kernel,
  255. /WHAT IS LINUX/i\
  256. WHAT IS GNU Linux-libre?\
  257. \
  258. GNU Linux-libre is a Free version of the kernel Linux (see below),\
  259. suitable for use with the GNU Operating System in 100% Free\
  260. GNU/Linux-libre System Distributions.\
  261. http://www.gnu.org/distros/\
  262. \
  263. It removes non-Free components from Linux, that are disguised as\
  264. source code or distributed in separate files. It also disables\
  265. run-time requests for non-Free components, shipped separately or as\
  266. part of Linux, and documentation pointing to them, so as to avoid\
  267. (Free-)baiting users into the trap of non-Free Software.\
  268. http://www.fsfla.org/anuncio/2010-11-Linux-2.6.36-libre-debait\
  269. \
  270. Linux-libre started within the gNewSense GNU/Linux distribution.\
  271. It was later adopted by Jeff Moe, who coined its name, and in 2008\
  272. it became a project maintained by FSF Latin America. In 2012, it\
  273. became part of the GNU Project.\
  274. \
  275. The GNU Linux-libre project takes a minimal-changes approach to\
  276. cleaning up Linux, making no effort to substitute components that\
  277. need to be removed with functionally equivalent Free ones.\
  278. Nevertheless, we encourage and support efforts towards doing so.\
  279. http://libreplanet.org/wiki/LinuxLibre:Devices_that_require_non-free_firmware\
  280. \
  281. Our mascot is Freedo, a light-blue penguin that has just come out\
  282. of the shower. Although we like penguins, GNU is a much greater\
  283. contribution to the entire system, so its mascot deserves more\
  284. promotion. See our web page for their images.\
  285. http://linux-libre.fsfla.org/\
  286. ' README 'added blurb about GNU Linux-libre'
  287. # Add reject_firmware and maybe_reject_firmware
  288. grep -q _LINUX_LIBRE_FIRMWARE_H include/linux/firmware.h ||
  289. clean_sed '$i\
  290. #ifndef _LINUX_LIBRE_FIRMWARE_H\
  291. #define _LINUX_LIBRE_FIRMWARE_H\
  292. \
  293. #include <linux/device.h>\
  294. \
  295. #define NONFREE_FIRMWARE "/*(DEBLOBBED)*/"\
  296. \
  297. static inline int\
  298. report_missing_free_firmware(const char *name, const char *what)\
  299. {\
  300. printk(KERN_ERR "%s: Missing Free %s\\n", name,\
  301. what ? what : "firmware");\
  302. return -EINVAL;\
  303. }\
  304. static inline int\
  305. reject_firmware(const struct firmware **fw,\
  306. const char *name, struct device *device)\
  307. {\
  308. const struct firmware *xfw = NULL;\
  309. int retval;\
  310. report_missing_free_firmware(dev_name(device), NULL);\
  311. retval = request_firmware(&xfw, NONFREE_FIRMWARE, device);\
  312. if (!retval)\
  313. release_firmware(xfw);\
  314. return -EINVAL;\
  315. }\
  316. static inline int\
  317. maybe_reject_firmware(const struct firmware **fw,\
  318. const char *name, struct device *device)\
  319. {\
  320. if (strstr (name, NONFREE_FIRMWARE))\
  321. return reject_firmware(fw, name, device);\
  322. else\
  323. return request_firmware(fw, name, device);\
  324. }\
  325. static inline void\
  326. discard_rejected_firmware(const struct firmware *fw, void *context)\
  327. {\
  328. release_firmware(fw);\
  329. }\
  330. static inline int\
  331. reject_firmware_nowait(struct module *module, int uevent,\
  332. const char *name, struct device *device,\
  333. void *context,\
  334. void (*cont)(const struct firmware *fw,\
  335. void *context))\
  336. {\
  337. int retval;\
  338. report_missing_free_firmware(dev_name(device), NULL);\
  339. retval = request_firmware_nowait(module, uevent, NONFREE_FIRMWARE,\
  340. device, NULL,\
  341. discard_rejected_firmware);\
  342. if (retval)\
  343. return retval;\
  344. return -EINVAL;\
  345. }\
  346. static inline int\
  347. maybe_reject_firmware_nowait(struct module *module, int uevent,\
  348. const char *name, struct device *device,\
  349. void *context,\
  350. void (*cont)(const struct firmware *fw,\
  351. void *context))\
  352. {\
  353. if (strstr (name, NONFREE_FIRMWARE))\
  354. return reject_firmware_nowait(module, uevent, name,\
  355. device, context, cont);\
  356. else\
  357. return request_firmware_nowait(module, uevent, name,\
  358. device, context, cont);\
  359. }\
  360. \
  361. #endif /* _LINUX_LIBRE_FIRMWARE_H */\
  362. ' include/linux/firmware.h 'added non-Free firmware notification support'
  363. ########
  364. # Arch #
  365. ########
  366. # x86
  367. announce MICROCODE - "Intel IA32 CPU microcode support"
  368. reject_firmware arch/x86/kernel/microcode.c
  369. clean_blob arch/x86/kernel/microcode.c
  370. clean_kconfig arch/x86/Kconfig 'MICROCODE'
  371. clean_mk CONFIG_MICROCODE arch/x86/kernel/Makefile
  372. # arm
  373. announce IXP4XX_NPE - "IXP4xx Network Processor Engine support"
  374. reject_firmware arch/arm/mach-ixp4xx/ixp4xx_npe.c
  375. clean_blob Documentation/arm/IXP4xx
  376. announce ARCH_NETX - "Hilscher NetX based"
  377. clean_sed '
  378. s,\([" ]\)request_firmware(,\1reject_firmware(,
  379. ' arch/arm/mach-netx/xc.c 'disabled non-Free firmware-loading machinery'
  380. clean_blob arch/arm/mach-netx/xc.c
  381. clean_kconfig arch/arm/Kconfig 'ARCH_NETX'
  382. clean_mk CONFIG_ARCH_NETX arch/arm/Makefile
  383. #######
  384. # ATM #
  385. #######
  386. announce ATM_AMBASSADOR - "Madge Ambassador, Collage PCI 155 Server"
  387. reject_firmware drivers/atm/ambassador.c
  388. clean_blob drivers/atm/ambassador.c
  389. clean_fw firmware/atmsar11.HEX firmware/atmsar11.fw
  390. clean_kconfig drivers/atm/Kconfig 'ATM_AMBASSADOR'
  391. clean_mk CONFIG_ATM_AMBASSADOR drivers/atm/Makefile
  392. announce ATM_FORE200E - "FORE Systems 200E-series"
  393. reject_firmware drivers/atm/fore200e.c
  394. clean_blob drivers/atm/fore200e.c
  395. clean_blob Documentation/networking/fore200e.txt
  396. clean_blob drivers/atm/.gitignore
  397. clean_blob Documentation/dontdiff
  398. clean_kconfig drivers/atm/Kconfig 'ATM_FORE200E'
  399. clean_mk CONFIG_ATM_FORE200E drivers/atm/Makefile
  400. ########
  401. # char #
  402. ########
  403. announce COMPUTONE - "Computone IntelliPort Plus serial"
  404. drop_fw_file firmware/intelliport2.bin.ihex firmware/intelliport2.bin
  405. reject_firmware drivers/char/ip2/ip2main.c
  406. clean_blob drivers/char/ip2/ip2main.c
  407. clean_kconfig drivers/char/Kconfig 'COMPUTONE'
  408. clean_mk CONFIG_COMPUTONE drivers/char/Makefile
  409. announce CYCLADES - "Cyclades async mux support"
  410. reject_firmware drivers/char/cyclades.c
  411. clean_blob drivers/char/cyclades.c
  412. clean_kconfig drivers/char/Kconfig 'CYCLADES'
  413. clean_mk CONFIG_CYCLADES drivers/char/Makefile
  414. announce ISI - "Multi-Tech multiport card support"
  415. reject_firmware drivers/char/isicom.c
  416. clean_blob drivers/char/isicom.c
  417. clean_kconfig drivers/char/Kconfig 'ISI'
  418. clean_mk CONFIG_ISI drivers/char/Makefile
  419. announce MOXA_INTELLIO - "Moxa Intellio support"
  420. reject_firmware drivers/char/moxa.c
  421. clean_blob drivers/char/moxa.c
  422. clean_kconfig drivers/char/Kconfig 'MOXA_INTELLIO'
  423. clean_mk CONFIG_MOXA_INTELLIO drivers/char/Makefile
  424. # gpu drm
  425. announce DRM_MGA - "Matrox g200/g400"
  426. clean_blob drivers/gpu/drm/mga/mga_ucode.h
  427. clean_blob drivers/gpu/drm/mga/mga_warp.c
  428. clean_kconfig -f drivers/gpu/drm/Kconfig 'DRM_MGA'
  429. clean_mk CONFIG_DRM_MGA drivers/gpu/drm/Makefile
  430. announce DRM_R128 - "ATI Rage 128"
  431. clean_sed '
  432. /^static void r128_cce_load_microcode(drm_r128_private_t \* dev_priv)/i\
  433. #define r128_cce_load_microcode(dev_priv) \\\
  434. do { \\\
  435. DRM_ERROR("Missing Free microcode!\\n"); \\\
  436. dev->dev_private = (void *)dev_priv; \\\
  437. r128_do_cleanup_cce(dev); \\\
  438. return -EINVAL; \\\
  439. } while (0)
  440. ' drivers/gpu/drm/r128/r128_cce.c 'report missing Free microcode'
  441. clean_blob drivers/gpu/drm/r128/r128_cce.c
  442. clean_kconfig -f drivers/gpu/drm/Kconfig 'DRM_R128'
  443. clean_mk CONFIG_DRM_R128 drivers/gpu/drm/Makefile
  444. announce DRM_RADEON - "ATI Radeon"
  445. clean_sed '
  446. /^static void radeon_cp_load_microcode(drm_radeon_private_t \* dev_priv)/i\
  447. #define radeon_cp_load_microcode(dev_priv) \\\
  448. do { \\\
  449. DRM_ERROR("Missing Free microcode!\\n"); \\\
  450. radeon_do_cleanup_cp(dev); \\\
  451. return -EINVAL; \\\
  452. } while (0)
  453. ' drivers/gpu/drm/radeon/radeon_cp.c 'report missing Free microcode'
  454. clean_blob drivers/gpu/drm/radeon/radeon_cp.c
  455. clean_blob drivers/gpu/drm/radeon/radeon_microcode.h
  456. clean_kconfig -f drivers/gpu/drm/Kconfig 'DRM_RADEON'
  457. clean_mk CONFIG_DRM_RADEON drivers/gpu/drm/Makefile
  458. #########
  459. # Media #
  460. #########
  461. # media/tuner
  462. announce MEDIA_TUNER_XC2028 - "XCeive xc2028/xc3028 tuners"
  463. undefault_firmware 'XC\(2028\|3028L\)' \
  464. drivers/media/common/tuners/tuner-xc2028.h \
  465. drivers/media/video/saa7134/saa7134-cards.c \
  466. drivers/media/video/ivtv/ivtv-driver.c \
  467. drivers/media/video/cx18/cx18-driver.c \
  468. drivers/media/video/cx88/cx88-cards.c \
  469. drivers/media/video/em28xx/em28xx-cards.c \
  470. drivers/media/dvb/dvb-usb/dib0700_devices.c
  471. reject_firmware drivers/media/common/tuners/tuner-xc2028.c
  472. clean_kconfig drivers/media/common/tuners/Kconfig 'MEDIA_TUNER_XC2028'
  473. clean_mk CONFIG_MEDIA_TUNER_XC2028 drivers/media/common/tuners/Makefile
  474. announce MEDIA_TUNER_XC5000 - "Xceive XC5000 silicon tuner"
  475. undefine_macro 'XC5000_DEFAULT_FIRMWARE_SIZE' 0 \
  476. 'removed non-Free firmware size' drivers/media/common/tuners/xc5000.c
  477. undefault_firmware 'XC5000' drivers/media/common/tuners/xc5000.c
  478. reject_firmware drivers/media/common/tuners/xc5000.c
  479. clean_kconfig drivers/media/common/tuners/Kconfig 'MEDIA_TUNER_XC5000'
  480. clean_mk CONFIG_MEDIA_TUNER_XC5000 drivers/media/common/tuners/Makefile
  481. announce DVB_USB - "Support for various USB DVB devices"
  482. reject_firmware drivers/media/dvb/dvb-usb/dvb-usb-firmware.c
  483. clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB'
  484. clean_mk CONFIG_DVB_USB drivers/media/dvb/dvb-usb/Makefile
  485. announce DVB_USB_AF9005 - "Afatech AF9005 DVB-T USB1.1"
  486. clean_file drivers/media/dvb/dvb-usb/af9005-script.h
  487. clean_sed '
  488. s,^ deb_info("load init script\\n");$, {\n err("Missing Free init script\\n");\n return scriptlen = ret = -EINVAL;\n ,;
  489. ' drivers/media/dvb/dvb-usb/af9005-fe.c 'report missing Free init script'
  490. clean_blob drivers/media/dvb/dvb-usb/af9005-fe.c
  491. clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_AF9005'
  492. clean_mk CONFIG_DVB_USB_AF9005 drivers/media/dvb/dvb-usb/Makefile
  493. announce DVB_B2C2_FLEXCOP - "Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters"
  494. reject_firmware drivers/media/dvb/b2c2/flexcop-fe-tuner.c
  495. announce DVB_BT8XX - "BT8xx based PCI cards"
  496. reject_firmware drivers/media/dvb/bt8xx/dvb-bt8xx.c
  497. announce DVB_USB_A800 - "AVerMedia AverTV DVB-T USB 2.0 (A800)"
  498. clean_blob drivers/media/dvb/dvb-usb/a800.c
  499. clean_kconfig drivers/media/dvb/dvb-usb/Kconfig 'DVB_USB_A800'
  500. clean_mk CONFIG_DVB_USB_A800 drivers/media/dvb/dvb-usb/Makefile
  501. announce DVB_USB_AF9005 - "Afatech AF9005 DVB-T USB1.1 support"
  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