#! /bin/sh
-# deblob-check version 2008-08-05
+# deblob-check version 2008-08-05.1
# Inspired in gNewSense's find-firmware script.
# Written by Alexandre Oliva <lxoliva@fsfla.org>
accept ' '"'"'0x[^\n]*[\n]\([^\n]*[\n]\)* \]\(, [0-9]\+ => \[\)\?'"$eol"
initnc 'const u\(8\|16\|32\) b43_ntab_\(\(adjustpower\|estimatepowerlt\|gainctl\|iqlt\|loftlt\|noisevar1\|tdi[24]0a\)[01]\|channelest\|frame\(lookup\|struct\)\|mcs\|pilot\|tdtrn\|tmap\)\[\] ='
;;
- */nouveau-drm*.patch)
- initnc '\(static uint32_t\|}\) nv04_graph_ctx_regs \[\] ='
- initnc 'static int nv10_graph_ctx_regs \[\] ='
+ */*drm*.patch)
+ # linux-2.6-drm-i915-modeset.patch, nouveau-drm*.patch,
+ # drm-fedora9-rollup.patch
+ initnc 'static const u32 filter_table\[\] =' drivers/char/drm/intel_tv.c
+ initnc '\(static uint32_t\|}\) nv04_graph_ctx_regs \[\] =' drivers/char/drm/nv04_graph.c
+ initnc 'static int nv10_graph_ctx_regs \[\] =' drivers/char/drm/nv10_graph.c
# Although the developers of the drivers are not trying to stop
# anyone from modifying it or understanding it, they acknowledge
# of the blobs have power to stop others from modifying them.
# Non-Free software, for sure.
- # initnc 'static uint32_t nv\(4[013467ace]\|49_4b\|8[46]\)_ctx_\(voodoo\|prog\)\[\] ='
+ # initnc 'static uint32_t nv\(4[013467ace]\|49_4b\|8[46]\)_ctx_\(voodoo\|prog\)\[\] =' 'drivers/char/drm/nv40_graph.c|.*'
;;
*/linux-2.6-lirc.patch)
initnc 'const unsigned char map_table\[\] ='
accept ' sudo modprobe ath5k debug=0x00000400[\n][ ]*[\n]\([ ]*Band[^\n]*[\n]\([ ]*\(\(channels\|rates\):\|[- 0-9a-f]*\|\[\.\.\. etc \]\)[\n]\)\+\)\+ 540 000c 0000 0000'
oprepline ' { 1, MODULATION_XR, 3000, 1, 150, 3 },'
;;
- */linux-2.6-drm-i915-modeset.patch)
- initnc 'static const u32 filter_table\[\] ='
- ;;
*/linux-2.6-netdev-e1000e*.patch)
# drivers/net/e1000e/phy.c
initnc 'static const u16 e1000_igp_2_cable_length_table\[\] ='