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