1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 18:12:46 +01:00

drivers/netdev: model netdev_eth in Kconfig

This commit is contained in:
Leandro Lanzieri 2022-03-02 10:08:27 +01:00
parent 6679663647
commit 9a4a4ea537
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 29 additions and 3 deletions

View File

@ -6,7 +6,6 @@
menu "Drivers" menu "Drivers"
rsource "netdev/Kconfig"
rsource "saul/Kconfig" rsource "saul/Kconfig"
menu "Actuator Device Drivers" menu "Actuator Device Drivers"

View File

@ -5,6 +5,9 @@
# directory for more details. # directory for more details.
menu "Network Device Drivers" menu "Network Device Drivers"
rsource "netdev/Kconfig"
rsource "at86rf215/Kconfig" rsource "at86rf215/Kconfig"
rsource "ata8520e/Kconfig" rsource "ata8520e/Kconfig"
rsource "can_trx/Kconfig" rsource "can_trx/Kconfig"

View File

@ -1,13 +1,17 @@
# Copyright (c) 2022 Otto-von-Guericke-Universität Magdeburg # 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 # 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 # General Public License v2.1. See the file LICENSE in the top level
# directory for more details. # directory for more details.
menu "Network Device Drivers" if TEST_KCONFIG
config MODULE_NETDEV_DEFAULT config MODULE_NETDEV_DEFAULT
bool "Enable default network devices on the platform" 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" menu "IEEE 802.15.4 Device Drivers"
visible if MODULE_NETDEV_IEEE802154 visible if MODULE_NETDEV_IEEE802154
@ -17,4 +21,24 @@ config MODULE_NETDEV_IEEE802154_RX_TIMESTAMP
endmenu # IEEE 802.15.4 Device Drivers 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