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:
parent
6679663647
commit
9a4a4ea537
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user