From patchwork Thu Oct 28 09:12:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Walter Goldens X-Patchwork-Id: 287202 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9S9Cq4P025276 for ; Thu, 28 Oct 2010 09:12:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752680Ab0J1JMv (ORCPT ); Thu, 28 Oct 2010 05:12:51 -0400 Received: from web56807.mail.re3.yahoo.com ([66.196.97.81]:39760 "HELO web56807.mail.re3.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752525Ab0J1JMu (ORCPT ); Thu, 28 Oct 2010 05:12:50 -0400 Received: (qmail 40407 invoked by uid 60001); 28 Oct 2010 09:12:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1288257168; bh=7sLIdEENBXC/pGiL1KMDJqDHYaHizcSQXG3VgTotKVA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=e49T9YalqAdoO3tN6PpsbEuKi5U4Um1q1YgIgiKuUuqPwttUDIfumEbIYHLDEcNr4SM7ckRJByJ1gquQVkJrbkCBj+hhBc/tYvBkN1jOz2GYO6Z9/HgER+lfys7hpwnzVSOCpNzM9+LGDq83ojUTezMt3mEbtVDOdrDC8W0A7ks= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=Q9pK3ZABzMLMI+EhjanPbifP4j5aWYY/s5q+WfDtOu+GNVCVjuv7zUR4XQuEUEvY6wtod1D+KC/aCnTqcRVblTm5mTkmJfgpIllF0nwvEJGtoPqYL97hWBRG9AzleZdJALY5HJFX/y5dpzv2dj4Nsn/kg2GYcDhzB8hE7ugnNVo=; Message-ID: <879667.39110.qm@web56807.mail.re3.yahoo.com> X-YMail-OSG: KOHZocgVM1lJy6VdQ5bbIqPcgsQa0rum6AHqsNSIJWZVGgj 4DS2SLrsCa0uQoBFY.1LIIHPBAN3KKNhDONlsTlPpo9HFyT6kotEFJt4Megu tnPfRvgBt8_ELljUjJCIb_5GZsslrk3LFfybvbDNn4l9IPzY3xU5lePj1PQz Wu9SwRO96FOV9j5.h4.veKWKMtYTwkW47Oi29le9.H4fQtMM1LKrJDqBp3BQ StarkIGj0da1GhEifvnf7aXIBEv6R4IgRedTUMXbKcSCEiA5Lt3kg0YCnaSP UpiB5L1RnJLAMcSGHWKNGLJY0XT.2ByOtYRFX_JI0GxW34Ut_1TWLutshhK3 YYzslgQ-- Received: from [80.72.74.234] by web56807.mail.re3.yahoo.com via HTTP; Thu, 28 Oct 2010 02:12:48 PDT X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.284920 Date: Thu, 28 Oct 2010 02:12:48 -0700 (PDT) From: Walter Goldens Subject: [PATCH 1/2] compat-wireless: disable update-initramfs except for b4xx/ssb To: "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 28 Oct 2010 09:12:53 +0000 (UTC) --- a/scripts/driver-select +++ b/scripts/driver-select @@ -169,6 +169,7 @@ function disable_bt_usb_ethernet_var { disable_ethernet disable_var_03 disable_bt + disable_update-initramfs } function enable_only_ethernet { @@ -187,6 +188,7 @@ function disable_var { disable_ssb disable_usbnet disable_eeprom + disable_update-initramfs } function disable_var_01 { @@ -199,6 +201,7 @@ function disable_var_02 { disable_lib80211 disable_ssb disable_usbnet + disable_update-initramfs } function disable_staging { @@ -216,6 +219,12 @@ function disable_brcm80211 { perl -i -ne 'print if ! /brcm80211/ ' Makefile } +function disable_update-initramfs +{ + backup_file Makefile + perl -i -ne 'print if ! /update-initramfs/' Makefile +} + function select_ath_driver { backup_file $ATH_MAKEFILE @@ -408,6 +417,7 @@ case $1 in select_drivers CONFIG_ATL1 CONFIG_ATL2 CONFIG_ATL1E CONFIG_ATL1C enable_only_ethernet disable_b44 + disable_update-initramfs ;; bt) select_driver CONFIG_BT