compat-drivers: add ar5523 to driver-select
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 9 Mar 2013 00:20:34 +0000 (16:20 -0800)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 9 Mar 2013 00:20:34 +0000 (16:20 -0800)
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
scripts/driver-select

index 22b4689ace2a28b3886ec430c235d8a969866330..862f43bff934ef71cbe9b8033446bca5ec3b273c 100755 (executable)
@@ -32,7 +32,7 @@ PURPLE="\033[35m"
 CYAN="\033[36m"
 UNDERLINE="\033[02m"
 
-SUPPORTED_80211_DRIVERS="ath5k ath9k ath9k_ap ath9k_htc carl9170 ath6kl wil6210 b43 zd1211rw rt2x00 wl1251 wl12xx brcmsmac brcmfmac mac80211_hwsim"
+SUPPORTED_80211_DRIVERS="ath5k ath9k ath9k_ap ath9k_htc carl9170 ath6kl ar5523 wil6210 b43 zd1211rw rt2x00 wl1251 wl12xx brcmsmac brcmfmac mac80211_hwsim"
 
 # b43 needs some more work for driver-select, the SSB stuff, plus
 # what if you update b44 but not b43? It will bust.
@@ -62,8 +62,8 @@ function usage {
 
        # These should match the switch below.
        echo -e "\nSupported group drivers:"
-       echo -e "\t${CYAN}atheros${NORMAL} < ${PURPLE} ath5k ath9k carl9170 zd1211rw ath6kl wil6210${NORMAL}>"
-       echo -e "\t${CYAN}ath${NORMAL} < ${PURPLE} ath5k ath9k carl9170 ath6kl wil6210${NORMAL}>"
+       echo -e "\t${CYAN}atheros${NORMAL} < ${PURPLE} ath5k ath9k carl9170 zd1211rw ath6kl wil6210 ar5523${NORMAL}>"
+       echo -e "\t${CYAN}ath${NORMAL} < ${PURPLE} ath5k ath9k carl9170 ath6kl wil6210 ar5523${NORMAL}>"
        echo -e "\t${CYAN}brcm80211${NORMAL} < ${PURPLE} brcmsmac brcmfmac ${NORMAL}>"
        echo -e "\t${CYAN}intel${NORMAL} < ${PURPLE} iwlwifi, iwlegacy ${NORMAL}>"
        echo -e "\t${CYAN}rtl818x${NORMAL} < ${PURPLE} rtl8180 rtl8187 ${NORMAL}>"
@@ -457,6 +457,12 @@ case $1 in
                select_drivers          CONFIG_ATH_CARDS
                select_ath_no_common    CONFIG_WIL6210
                ;;
+       ar5523)
+               disable_staging
+               disable_bt_usb_ethernet_var
+               select_drivers          CONFIG_ATH_CARDS
+               select_ath_no_common    CONFIG_AR5523
+               ;;
        brcmsmac)
                disable_staging
                disable_bt_usb_ethernet_var