1# Copyright 2024 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig ETH_NXP_ENET_QOS 5 bool "NXP ENET QOS Ethernet Module Driver" 6 default y 7 depends on DT_HAS_NXP_ENET_QOS_ENABLED 8 select MDIO if DT_HAS_NXP_ENET_QOS_MDIO_ENABLED 9 help 10 Enable NXP ENET Ethernet Module Driver. This driver 11 handles IP module level tasks. 12 13if ETH_NXP_ENET_QOS 14 15config ETH_NXP_ENET_QOS_MAC 16 bool "NXP ENET QOS Ethernet MAC Driver" 17 default y 18 depends on DT_HAS_NXP_ENET_QOS_MAC_ENABLED 19 depends on NET_BUF_FIXED_DATA_SIZE 20 help 21 Enable NXP ENET QOS Ethernet MAC Driver. 22 23if ETH_NXP_ENET_QOS_MAC 24 25config ETH_NXP_ENET_QOS_TX_BUFFER_DESCRIPTORS 26 int "Number of tx buffer descriptors" 27 default 4 28 range 4 1024 29 help 30 Number of TX buffer descriptors. 31 32config ETH_NXP_ENET_QOS_RX_BUFFER_DESCRIPTORS 33 int "Number of rx buffer descriptors" 34 default 4 35 range 4 1024 36 help 37 Number of RX buffer descriptors. 38 39config ETH_NXP_ENET_QOS_DMA_RESET_WAIT_TIME 40 int "Time in microseconds to wait for software reset" 41 default 10 42 range 0 1000 43 help 44 Time in us microseconds allow for software reset. 45 Value of 0 will allow the driver to wait unlimited time. 46 47config ETH_NXP_ENET_QOS_RX_THREAD_STACK_SIZE 48 int "Size of ENET QOS RX thread stack" 49 default 1024 50 help 51 Size in bytes of the ENET QOS RX thread stack. 52 53config ETH_NXP_ENET_QOS_RX_THREAD_PRIORITY 54 int "Cooperative priority of the ENET QOS RX thread" 55 default 3 56 help 57 Cooperative priority of the ENET QOS RX thread 58 59endif # ETH_NXP_ENET_QOS_MAC 60endif # ETH_NXP_ENET_QOS 61