#!/bin/sh
#
# Copyright (C) 2008 Jeff Moe
+# Copyright (C) 2008 Alexandre Oliva <lxoliva@fsfla.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# http://www.blagblagblag.org/pub/BLAG/linux/kernel/v2.6
# ftp://ftp.blagblagblag.org/pub/BLAG/linux/kernel/v2.6
+# http://www.fsfla.org/svn/fsfla/software/linux-libre
#
# See also:
# http://wiki.debian.org/KernelFirmwareLicensing
# Thanks to Brian Brazil @ gnewsense
#
+# This version, suited for 2.6.25, avoids removing Free Software for
+# the sake of removing non-Free Software. Drivers that currently
+# require non-Free firmware are retained, but firmware included in
+# GPLed sources is replaced with /*(DEBLOBBED)*/ if the deblob-check
+# script, that knows how to do this, is present. -lxoliva
+
####################
# FOOOOO XXXXXX
# drivers/net/tokenring/Kconfig needs as last line:
EOF
clean_blob drivers/net/tg3.c
-
+sed -i 's:\(\/\*(DEBLOBBED)\*\/\),:\1:' drivers/net/tg3.c
# TYPHOON - 3cr990 series Typhoon
clean_blob drivers/net/typhoon-firmware.h