drivers/ieee802154: Cleanup Kconfig

A very old reference to former net stack was still lurking around.
Removing it.

Taking the opportunity to clear up dependencies.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2017-12-05 10:50:10 +01:00 committed by Anas Nashif
parent 17fcbc3f9b
commit 5195ddf472
5 changed files with 11 additions and 12 deletions

View file

@ -11,11 +11,6 @@ menu "Device Drivers"
source "drivers/bluetooth/Kconfig"
config IEEE802154
bool
default n
default y if NETWORKING_WITH_15_4 || NET_L2_IEEE802154
source "drivers/ieee802154/Kconfig"
source "drivers/console/Kconfig"

View file

@ -9,11 +9,15 @@
#
# IEEE 802.15.4 options
#
menu "IEEE 802.15.4 drivers options"
menuconfig IEEE802154
bool "IEEE 802.15.4 drivers options"
default n
default y if NET_L2_IEEE802154
if IEEE802154
config SYS_LOG_IEEE802154_DRIVER_LEVEL
int
prompt "IEEE802154 driver log level"
int "IEEE802154 driver log level"
depends on SYS_LOG
default 0
help
@ -51,8 +55,7 @@ source "drivers/ieee802154/Kconfig.nrf5"
menuconfig IEEE802154_UPIPE
bool "UART PIPE fake radio driver support for QEMU"
depends on BOARD_QEMU_X86
select NETWORKING
depends on BOARD_QEMU_X86 && NETWORKING
select UART_PIPE
default n
@ -61,4 +64,4 @@ config IEEE802154_UPIPE_DRV_NAME
default "IEEE802154_UPIPE"
depends on IEEE802154_UPIPE
endmenu
endif # IEEE802154

View file

@ -9,7 +9,6 @@
menuconfig IEEE802154_KW41Z
bool "NXP KW41Z Driver support"
depends on NETWORKING
select NET_L2_IEEE802154
select NEWLIB_LIBC
default n

View file

@ -9,6 +9,7 @@ CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
CONFIG_IEEE802154=y
CONFIG_IEEE802154_RAW_MODE=y
CONFIG_IEEE802154_CC2520=y
CONFIG_NET_BUF=y

View file

@ -11,6 +11,7 @@ CONFIG_NETWORKING=y
CONFIG_NET_PKT_TX_COUNT=4
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_IEEE802154=y
CONFIG_IEEE802154_RAW_MODE=y
CONFIG_IEEE802154_CC2520=y