diff --git a/drivers/Kconfig b/drivers/Kconfig index 3efeedec0f..fafebeab74 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -6,7 +6,6 @@ menu "Drivers" -rsource "netdev/Kconfig" rsource "saul/Kconfig" menu "Actuator Device Drivers" diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 4f1f77439c..87c7937829 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -5,6 +5,9 @@ # directory for more details. menu "Network Device Drivers" + +rsource "netdev/Kconfig" + rsource "at86rf215/Kconfig" rsource "ata8520e/Kconfig" rsource "can_trx/Kconfig" diff --git a/drivers/netdev/Kconfig b/drivers/netdev/Kconfig index 5807707c68..8cd2bf8dd7 100644 --- a/drivers/netdev/Kconfig +++ b/drivers/netdev/Kconfig @@ -1,13 +1,17 @@ # Copyright (c) 2022 Otto-von-Guericke-Universität Magdeburg +# 2022 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. -menu "Network Device Drivers" +if TEST_KCONFIG config MODULE_NETDEV_DEFAULT bool "Enable default network devices on the platform" + help + Say y to enable the drivers for the default network devices present on + your platform. menu "IEEE 802.15.4 Device Drivers" visible if MODULE_NETDEV_IEEE802154 @@ -17,4 +21,24 @@ config MODULE_NETDEV_IEEE802154_RX_TIMESTAMP endmenu # IEEE 802.15.4 Device Drivers -endmenu # Network Device Drivers +config MODULE_NETDEV + bool + select MODULE_EUI_PROVIDER + help + Network device driver API. Netdev is a generic low-level network + interface that provides a uniform API for network stacks to interact + with network device drivers. + +config MODULE_NETDEV_ETH + bool + select MODULE_NETDEV + select MODULE_NETDEV_REGISTER + help + Common code for netdev ethernet drivers. + +config MODULE_NETDEV_REGISTER + bool + help + Network device registration. + +endif # TEST_KCONFIG