summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-28 21:42:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-28 21:42:44 +0200
commitcec6dce6e80cd747fc37c5f4ca69dc868233ae52 (patch)
treeccf04fd31484454b148a4e0a3bb59e24724d8037
parent40eacf9cd715b3c2285baefaaf9adcd0d2bd7376 (diff)
realize rfkill as module
-rw-r--r--mk/modules.mk3
-rw-r--r--target/linux/config/Config.in.misc3
-rw-r--r--target/linux/config/Config.in.netdevice5
-rw-r--r--target/linux/config/Config.in.usb2
4 files changed, 8 insertions, 5 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 73ecb707c..c429f114e 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -62,6 +62,9 @@ $(eval $(call KMOD_template,R8169,r8169,\
#
# Wireless network devices
#
+$(eval $(call KMOD_template,RFKILL,rfkill,\
+ $(MODULES_DIR)/kernel/net/rfkill/rfkill \
+,10))
$(eval $(call KMOD_template,MAC80211,mac80211,\
$(MODULES_DIR)/kernel/net/wireless/cfg80211 \
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index b910eeec5..a351fa59b 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -1,6 +1,3 @@
-config ADK_KERNEL_RFKILL
- boolean
-
config ADK_KERNEL_I2C
boolean
diff --git a/target/linux/config/Config.in.netdevice b/target/linux/config/Config.in.netdevice
index a6251a71d..edd991f97 100644
--- a/target/linux/config/Config.in.netdevice
+++ b/target/linux/config/Config.in.netdevice
@@ -249,6 +249,9 @@ config ADK_KERNEL_WIRELESS
config ADK_KERNEL_WIRELESS_EXT
boolean
+config ADK_KPACKAGE_KMOD_RFKILL
+ tristate
+
config ADK_KERNEL_MAC80211_LEDS
boolean
select ADK_KPACKAGE_KMOD_LEDS_CLASS
@@ -293,7 +296,6 @@ config ADK_KERNEL_MAC80211_DEBUGFS
config ADK_KPACKAGE_KMOD_MAC80211
tristate
- select ADK_KERNEL_RFKILL
select ADK_KERNEL_WIRELESS
select ADK_KERNEL_WLAN_80211
select ADK_KERNEL_MOD_CFG80211
@@ -301,6 +303,7 @@ config ADK_KPACKAGE_KMOD_MAC80211
select ADK_KPACKAGE_KMOD_CRYPTO_AES
select ADK_KPACKAGE_KMOD_CRYPTO_ECB
select ADK_KPACKAGE_KMOD_CRYPTO_ARC4
+ select ADK_KPACKAGE_KMOD_RFKILL
config ADK_DEBUG_MAC80211
boolean
diff --git a/target/linux/config/Config.in.usb b/target/linux/config/Config.in.usb
index 6d1108953..2bc8d73db 100644
--- a/target/linux/config/Config.in.usb
+++ b/target/linux/config/Config.in.usb
@@ -200,7 +200,7 @@ config ADK_KPACKAGE_KMOD_USB_PEGASUS
config ADK_KPACKAGE_KMOD_USB_HSO
prompt "kmod-usb-hso...................... Support for USB HSO devices"
tristate
- select ADK_KERNEL_RFKILL
+ select ADK_KPACKAGE_KMOD_RFKILL
select ADK_KPACKAGE_KMOD_USB_STORAGE
default n
depends on ADK_PACKAGE_KMOD_USB_CONTROLLER