From patchwork Tue Sep 15 02:16:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hin-Tak Leung X-Patchwork-Id: 47561 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8F2HZOv027897 for ; Tue, 15 Sep 2009 02:17:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754504AbZIOCQ4 (ORCPT ); Mon, 14 Sep 2009 22:16:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756600AbZIOCQ4 (ORCPT ); Mon, 14 Sep 2009 22:16:56 -0400 Received: from mail-ew0-f206.google.com ([209.85.219.206]:62144 "EHLO mail-ew0-f206.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754379AbZIOCQz (ORCPT ); Mon, 14 Sep 2009 22:16:55 -0400 Received: by ewy2 with SMTP id 2so68663ewy.17 for ; Mon, 14 Sep 2009 19:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=h+j5zcZI4hsuDjcswArzXJ2SqBNowofeSUBdK4KYDNs=; b=AbfgLlh0lWtR4g5o66ktWZuU710Zs5XTYRBQbdM+6qMhAR+LrBZdBTdgFP9lS/nb78 NYrdK/780yjqxfGkGRzE3zaEUuL0KbhA/j1seIwreA7DDywoj23P1s+fDYLuH87rw1mV gChgVwwj5th4S4fOn4TBr0hm1oy3oZ6XdFwPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=G/rcOz5AvKcN9ulI6KDgKF0Ie3YZYAMy0XQ02UZKH/grDkrGbECrQcNnAsXtY6zZk6 zoFwgyX/mJaTYAJWZ6bB1eIxJyCzuzRankE2cgnxK7xuzDyi3Sg9KMtsqKPlsnzaPAMS l7MWYQXWkWOH1CgfkwdSCzkDjQv4c7MFNqNBI= Received: by 10.211.129.8 with SMTP id g8mr7678319ebn.71.1252981018297; Mon, 14 Sep 2009 19:16:58 -0700 (PDT) Received: from localhost.localdomain (cpc3-cmbg5-0-0-cust408.cmbg.cable.ntl.com [81.101.129.153]) by mx.google.com with ESMTPS id 7sm433864eyg.4.2009.09.14.19.16.56 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Sep 2009 19:16:57 -0700 (PDT) From: Hin-Tak Leung To: linux-wireless@vger.kernel.org, mcgrof@winlab.rutgers.edu Cc: Hin-Tak Leung , Hin-Tak Leung Subject: [PATCH] compat-2.6: adding driver-select script support for rtl818x Date: Tue, 15 Sep 2009 03:16:53 +0100 Message-Id: <1252981013-11685-1-git-send-email-HinTak.Leung@gmail.com> X-Mailer: git-send-email 1.6.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org adding driver-select script support for rtl818x Signed-off-by: Hin-Tak Leung --- scripts/driver-select | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/scripts/driver-select b/scripts/driver-select index e0d7305..dcb777c 100755 --- a/scripts/driver-select +++ b/scripts/driver-select @@ -44,6 +44,7 @@ function usage { echo -e "\t${CYAN}ath${NORMAL} < ${PURPLE} ath5k ath9k ar9170 ${NORMAL}>" echo -e "\t${CYAN}intel${NORMAL} < ${PURPLE} iwl3945 iwlagn ipw2100 ipw2200 ${NORMAL}>" echo -e "\t${CYAN}iwlwifi${NORMAL} < ${PURPLE} iwl3945 iwlagn ${NORMAL}>" + echo -e "\t${CYAN}rtl818x${NORMAL} < ${PURPLE} rtl8180 rtl8187 ${NORMAL}>" echo -e "\t${CYAN}wl12xx${NORMAL} < ${PURPLE} wl1251 (SPI and SDIO) wl1271 ${NORMAL}>" echo -e "Restoring compat-wireless:" @@ -127,6 +128,13 @@ function disable_var_01 { disable_var } +function disable_var_02 { + #var_01 with eeprom not disabled + disable_lib80211 + disable_ssb + disable_usbnet +} + function select_ath_driver { backup_file $ATH_MAKEFILE @@ -227,6 +235,10 @@ case $1 in select_driver CONFIG_ATH_COMMON select_ath_driver CONFIG_AR9170_USB ;; + rtl818x) + select_drivers CONFIG_RTL8180 CONFIG_RTL8187 + disable_var_02 + ;; zd1211rw) select_driver CONFIG_ZD1211RW disable_var_01