diff options
-rw-r--r-- | net/wimax/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/wimax/Kconfig b/net/wimax/Kconfig index 0bdbb6928205..18495cdcd10d 100644 --- a/net/wimax/Kconfig +++ b/net/wimax/Kconfig | |||
@@ -1,9 +1,23 @@ | |||
1 | # | 1 | # |
2 | # WiMAX LAN device configuration | 2 | # WiMAX LAN device configuration |
3 | # | 3 | # |
4 | # Note the ugly 'depends on' on WIMAX: that disallows RFKILL to be a | ||
5 | # module if WIMAX is to be linked in. The WiMAX code is done in such a | ||
6 | # way that it doesn't require and explicit dependency on RFKILL in | ||
7 | # case an embedded system wants to rip it out. | ||
8 | # | ||
9 | # As well, enablement of the RFKILL code means we need the INPUT layer | ||
10 | # support to inject events coming from hw rfkill switches. That | ||
11 | # dependency could be killed if input.h provided appropiate means to | ||
12 | # work when input is disabled. | ||
13 | |||
14 | comment "WiMAX Wireless Broadband support requires CONFIG_INPUT enabled" | ||
15 | depends on INPUT = n && RFKILL != n | ||
4 | 16 | ||
5 | menuconfig WIMAX | 17 | menuconfig WIMAX |
6 | tristate "WiMAX Wireless Broadband support" | 18 | tristate "WiMAX Wireless Broadband support" |
19 | depends on (y && RFKILL != m) || m | ||
20 | depends on (INPUT && RFKILL != n) || RFKILL = n | ||
7 | help | 21 | help |
8 | 22 | ||
9 | Select to configure support for devices that provide | 23 | Select to configure support for devices that provide |