deblob-2.6.28 73 KB

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