From defbb02596ee321f697f0d4576b86c9e43ef2267 Mon Sep 17 00:00:00 2001 From: lxoliva Date: Sat, 13 Jun 2009 00:00:49 +0000 Subject: [PATCH] Improve deblobbing of SXG driver. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@5272 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-2.6.29 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deblob-2.6.29 b/deblob-2.6.29 index bb29ac7950e..80cc87fb1b3 100755 --- a/deblob-2.6.29 +++ b/deblob-2.6.29 @@ -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 -- 2.31.1