From: Luis R. Rodriguez Date: Fri, 7 Aug 2009 19:39:52 +0000 (-0700) Subject: Add wl12xx group to driver-select (NOTE: android users) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5912243e2220d302a69b4e23ad4e6fa7d2700f5a;p=openwrt%2Fstaging%2Fblogic.git Add wl12xx group to driver-select (NOTE: android users) wl12xx now has support for wl1251 for both SPI and SDIO bus communication. On the android wl1251 is used over SDIO. The wl12xx group provides two modules: * wl1251 with SDIO and SPI support * wl1271 Signed-off-by: Luis R. Rodriguez --- diff --git a/scripts/driver-select b/scripts/driver-select index 6e31fa09a540..e0d73050aeb9 100755 --- a/scripts/driver-select +++ b/scripts/driver-select @@ -32,16 +32,19 @@ SUPPORTED_DRIVERS="ath5k ath9k ar9170 zd1211rw" function usage { echo -e "${GREEN}Usage${NORMAL}: ${CYAN}$0${NORMAL} [ ${PURPLE}${NORMAL} | ${PURPLE}${NORMAL} | ${GREEN}restore${NORMAL} ]" + # These should match the switch below. echo -e "Supported drivers:" for i in $SUPPORTED_DRIVERS; do echo -e "\t${PURPLE}${i}${NORMAL}" done + # These should match the switch below. echo -e "Supported group drivers:" echo -e "\t${CYAN}atheros${NORMAL} < ${PURPLE} ath5k ath9k ar9170 zd1211rw ${NORMAL}>" 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}wl12xx${NORMAL} < ${PURPLE} wl1251 (SPI and SDIO) wl1271 ${NORMAL}>" echo -e "Restoring compat-wireless:" echo -e "\t${GREEN}restore${NORMAL}: you can use this option to restore compat-wireless to the original state" @@ -208,6 +211,10 @@ case $1 in select_driver CONFIG_IWLWIFI disable_var_01 ;; + wl12xx) + select_drivers CONFIG_WL12XX + disable_var_01 + ;; ath5k) select_driver CONFIG_ATH_COMMON select_ath_driver CONFIG_ATH5K