obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/
obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/
+
+ifeq ($(CONFIG_STAGING_EXCLUDE_BUILD),)
+obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/ath6kl/
+endif
+
+
else
export PWD := $(shell pwd)
CONFIG_CFG80211_WEXT=y
endif
+ifneq ($(CONFIG_STAGING),)
+CONFIG_COMPAT_STAGING=m
+endif
+
# mac80211 test driver
CONFIG_MAC80211_HWSIM=m
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_MRVL_SDIO=m
+ifneq ($(CONFIG_COMPAT_STAGING),)
+CONFIG_ATH6KL_CFG80211=y
+CONFIG_ATH6KL_DEBUG=y
+# CONFIG_ATH6KL_DISABLE_TARGET_DBGLOGS is not set
+# CONFIG_ATH6KL_ENABLE_COEXISTENCE is not set
+# CONFIG_ATH6KL_ENABLE_HOST_DEBUG is not set
+CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS=y
+# CONFIG_ATH6KL_HCI_BRIDGE is not set
+# CONFIG_ATH6KL_HTC_RAW_INTERFACE is not set
+# CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK is not set
+CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER=y
+CONFIG_ATH6K_LEGACY=m
+endif
+
+
endif # end of SDIO driver list
# Common rt2x00 requirements
DRIVERS="$DRIVERS drivers/net/wireless/iwmc3200wifi"
DRIVERS="$DRIVERS drivers/net/wireless/orinoco"
+# Staging drivers
+STAGING_DRIVERS="drivers/staging/ath6kl"
+
# Ethernet drivers
DRIVERS="$DRIVERS drivers/net/atl1c"
DRIVERS="$DRIVERS drivers/net/atl1e"
rm -f $i/*.mod.c
done
+# Staging drivers in their own directory
+rm -rf drivers/staging/
+mkdir -p drivers/staging/
+for i in $STAGING_DRIVERS; do
+ if [ ! -d $GIT_TREE/$i ]; then
+ continue
+ fi
+ rm -rf $i
+ echo -e "Copying ${RED}STAGING${NORMAL} $GIT_TREE/$i/*.[ch]"
+ # staging drivers tend to have their own subdirs...
+ cp -a $GIT_TREE/$i drivers/staging/
+ rm -f $i/*.mod.c
+done
+
for i in $DRIVERS_BT; do
mkdir -p $i
echo "Copying $GIT_TREE/$i/*.[ch]"
UNDERLINE="\033[02m"
SUPPORTED_80211_DRIVERS="ath5k ath9k ath9k_htc ar9170 b43 zd1211rw rt2x00"
+
+if [ -d drivers/staging/ath6kl ]; then
+ SUPPORTED_80211_DRIVERS="$SUPPORTED_80211_DRIVERS ath6kl"
+fi
+
# b43 needs some more work for driver-select, the SSB stuff, plus
# what if you update b44 but not b43? It will bust.
SUPPORTED_ETH_DRIVERS="atl1 atl2 atl1e atl1c"
select_driver CONFIG_ATH_COMMON
select_ath9k_driver
;;
+ ath6kl)
+ disable_bt_usb_ethernet_var
+ select_driver CONFIG_NOTHING
+ sed -e 's|net/mac80211/||' Makefile > Makefile.ath6kl
+ mv Makefile.ath6kl Makefile
+ ;;
rtl818x)
select_drivers CONFIG_RTL8180 CONFIG_RTL8187
disable_var_02