From: Luis R. Rodriguez Date: Wed, 5 Aug 2009 19:25:39 +0000 (-0700) Subject: Add intel and iwlwifi group drivers for driver-select X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0239a9e2a1a08b75b751ddcfe5d15ecfdf23c25a;p=openwrt%2Fstaging%2Fblogic.git Add intel and iwlwifi group drivers for driver-select Signed-off-by: Luis R. Rodriguez --- diff --git a/Makefile b/Makefile index ab97de0591a2..c1c3fb382289 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,6 @@ NOSTDINC_FLAGS := -I$(M)/include/ -include $(M)/include/net/compat.h $(CFLAGS) obj-y := net/wireless/ net/mac80211/ net/rfkill/ ifeq ($(ONLY_CORE),) obj-m += \ - drivers/ssb/ \ - drivers/misc/eeprom/ \ - drivers/net/usb/ \ drivers/net/wireless/ endif diff --git a/scripts/driver-select b/scripts/driver-select index e6f2ec32b77a..6e31fa09a540 100755 --- a/scripts/driver-select +++ b/scripts/driver-select @@ -40,7 +40,8 @@ function usage { 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}iwlwifi${NORMAL} < ${PURPLE} iwl3945 iwlagn${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 "Restoring compat-wireless:" echo -e "\t${GREEN}restore${NORMAL}: you can use this option to restore compat-wireless to the original state" @@ -79,7 +80,6 @@ function select_drivers CONFIGS="${CONFIGS}|$i" fi done - echo -e "Configs: $CONFIGS" egrep "$CONFIGS" $DRIVERS_MAKEFILE > ${DRIVERS_MAKEFILE}.tmp mv ${DRIVERS_MAKEFILE}.tmp ${DRIVERS_MAKEFILE} } @@ -113,13 +113,17 @@ function disable_usbnet perl -i -ne 'print if ! /drivers\/net\/usb\/ \\/' Makefile } -function disable_var_01 { - disable_lib80211 +function disable_var { disable_ssb disable_usbnet disable_eeprom } +function disable_var_01 { + disable_lib80211 + disable_var +} + function select_ath_driver { backup_file $ATH_MAKEFILE @@ -195,6 +199,15 @@ case $1 in select_drivers CONFIG_ATH_COMMON disable_var_01 ;; + intel) + select_drivers CONFIG_IWLWIFI \ + CONFIG_IPW + disable_var + ;; + iwlwifi) + select_driver CONFIG_IWLWIFI + disable_var_01 + ;; ath5k) select_driver CONFIG_ATH_COMMON select_ath_driver CONFIG_ATH5K