Add wl12xx group to driver-select (NOTE: android users)
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 7 Aug 2009 19:39:52 +0000 (12:39 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 7 Aug 2009 19:39:52 +0000 (12:39 -0700)
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 <lrodriguez@atheros.com>
scripts/driver-select

index 6e31fa09a5408dba9472c46e0d27ed9dea49f5d5..e0d73050aeb9c41b357fd7ca3b340c0ee810466f 100755 (executable)
@@ -32,16 +32,19 @@ SUPPORTED_DRIVERS="ath5k ath9k ar9170 zd1211rw"
 function usage {
        echo -e "${GREEN}Usage${NORMAL}: ${CYAN}$0${NORMAL} [ ${PURPLE}<driver-name>${NORMAL} | ${PURPLE}<driver-group-name>${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