Improve deblobbing of SXG driver.
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Sat, 13 Jun 2009 00:00:49 +0000 (00:00 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Sat, 13 Jun 2009 00:00:49 +0000 (00:00 +0000)
git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@5272 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-2.6.29

index bb29ac7950ecae3a2128adabd37c990593af62f4..80cc87fb1b33f4ff8c9d37b3719489fd4f8f15eb 100755 (executable)
@@ -44,7 +44,7 @@
 
 # For each kver release, start extra with an empty string, then count
 # from 1 if changes are needed that require rebuilding the tarball.
-kver=2.6.29 extra=1
+kver=2.6.29 extra=1++
 
 fatal () {
   echo "$@"
@@ -969,6 +969,13 @@ clean_mk CONFIG_SPIDER_NET drivers/net/Makefile
 announce SXG - "Alacritech SLIC Technology Non-Accelerated 10Gbe cards"
 clean_blob drivers/staging/sxg/saharadbgdownload.h
 clean_blob drivers/staging/sxg/sxgphycode.h
+clean_sed '
+/^static int sxg_phy_init(/,/^}$/{
+  /for (p = PhyUcode/i\
+               printk("%s: missing Free firmware\n");\
+               return (STATUS_FAILURE);\
+#define PhyUcode NULL          
+}' drivers/staging/sxg/sxg.c
 clean_kconfig drivers/staging/sxg/Kconfig 'SXG'
 clean_mk CONFIG_SXG drivers/staging/sxg/Makefile