Match Fedora 8's kernel-xen git-wireless-dev.patch.
[releases.git] / deblob-check
index b5435a92a1e7f370dd9147f28d33049535f86cf2..2a5fb7f70428c722b382c0e110fd3a315d5bc0f1 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# deblob-check version 2008-10-09
+# deblob-check version 2008-10-28
 # Inspired in gNewSense's find-firmware script.
 # Written by Alexandre Oliva <lxoliva@fsfla.org>
 
@@ -1330,12 +1330,15 @@ set_except () {
 
     # 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)
+  */linux-2.6*-lirc.patch)
     initnc 'const unsigned char map_table\[\] ='
     ;;
   */linux-2.6-modsign-mpilib.patch)
     initnc 'const unsigned char __clz_tab\[\] ='
     ;;
+  */linux-2.6.27-net-r8169-2.6.28.patch)
+    defsnc '           *struct phy_reg phy_reg_init_[01]\[\] =' drivers/net/r8169.c
+    ;;
   */linux-2.6-wireless*.patch)
     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\)\[\] ='
     initnc 'static const s8 \(b43\(legacy\)\?\|bcm43xx\)_tssi2dbm_[bg]_table\[\] ='
@@ -1385,6 +1388,21 @@ set_except () {
     # drivers/net/e1000e/phy.c
     initnc 'static const u16 e1000_igp_2_cable_length_table\[\] ='
     ;;
+  */git-wireless-dev.patch)
+    # Fedora 8ish kernel-xen builds
+    initnc '   static const u8 log10\[\] ='
+    initnc 'static const u16 rtl8225bcd_rxgain\[\] ='
+    initnc 'static const u8 rtl8225_agc\[\] ='
+    initnc 'static const u8 rtl8225_tx_power_cck\[\] ='
+    initnc 'static const u8 rtl8225_tx_power_cck_ch14\[\] ='
+    initnc 'static const u16 rtl8225z2_rxgain\[\] ='
+    initnc 'static const u8 rtl8225z2_tx_gain_cck_ofdm\[\] ='
+    initnc 'static const s8 bcm43xx_tssi2dbm_[bg]_table\[\] ='
+    initnc 'static struct iwl_tx_power power_gain_table\[2\]\[IWL_MAX_GAIN_ENTRIES\] ='
+    initnc 'static const struct gain_entry gain_table\[2\]\[108\] ='
+    initnc 'static const u32 rf_vals_abg_5222\[\] ='
+    initnc '   static const u8 t\[\] ='
+    ;;
   esac
 }  
 
@@ -2022,7 +2040,7 @@ check () {
   *.tar*)
     cmd="tar -xf - --to-command='echo \";/*begin \$TAR_FILENAME*/;\"; cat; echo \";/**/;\"; echo \";/*end \$TAR_FILENAME*/;\"'"
     ;;
-  *.patch | */patch-* | *.diff)
+  *.patch | *.patch.*z* | */patch-* | *.diff | *.diff.*z*)
     if $reverse_patch; then
       s=- r=+
     else