diff mbox

compat-wireless: rt2x00 added to driver-select

Message ID 946956.98853.qm@web56807.mail.re3.yahoo.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Walter Goldens May 5, 2010, 9:44 a.m. UTC
None
diff mbox

Patch

--- a/scripts/driver-select	2010-05-05 12:02:23.000000000 +0300
+++ b/scripts/driver-select	2010-05-05 12:02:01.000000000 +0300
@@ -7,6 +7,7 @@ 
 DRIVERS_MAKEFILE="drivers/net/wireless/Makefile"
 ATH_MAKEFILE="drivers/net/wireless/ath/Makefile"
 ATH9K_MAKEFILE="drivers/net/wireless/ath/ath9k/Makefile"
+RT2X00_MAKEFILE="drivers/net/wireless/rt2x00/Makefile"
 NET_WIRELESS_MAKEFILE="net/wireless/Makefile"
 EEPROM_MAKEFILE="drivers/misc/eeprom/Makefile"
 DRIVERS_NET="drivers/net/Makefile"
@@ -29,7 +30,7 @@  PURPLE="\033[35m"
 CYAN="\033[36m"
 UNDERLINE="\033[02m"
 
-SUPPORTED_DRIVERS="ath5k ath9k ath9k_htc ar9170 b43 zd1211rw"
+SUPPORTED_DRIVERS="ath5k ath9k ath9k_htc ar9170 b43 zd1211rw rt2x00"
 
 function usage {
 	echo -e "${GREEN}Usage${NORMAL}: ${CYAN}$0${NORMAL} [ ${PURPLE}<driver-name>${NORMAL} | ${PURPLE}<driver-group-name>${NORMAL} | ${GREEN}restore${NORMAL} ]"
@@ -293,6 +294,10 @@  case $1 in
 		disable_var_03
 		select_driver		CONFIG_B43
 		;;
+	rt2x00)
+		select_driver		CONFIG_RT2X00
+		disable_var_02
+		;;
 	*)
 		echo "Unsupported driver"
 		exit