1# LAN9250 Stand-alone Ethernet Controller configuration options
2
3# Copyright (c) 2024 Mario Paja
4# SPDX-License-Identifier: Apache-2.0
5
6
7menuconfig ETH_LAN9250
8	bool "LAN9250 Ethernet Controller"
9	default y
10	depends on DT_HAS_MICROCHIP_LAN9250_ENABLED
11	select SPI
12	help
13	  LAN9250 Stand-Alone Ethernet Controller
14	  with SPI Interface
15
16if ETH_LAN9250
17
18config ETH_LAN9250_RX_THREAD_STACK_SIZE
19	int "Stack size for internal incoming packet handler"
20	default 800
21	help
22	  Size of the stack used for internal thread which is ran for
23	  incoming packet processing.
24
25config ETH_LAN9250_RX_THREAD_PRIO
26	int "Priority for internal incoming packet handler"
27	default 2
28	help
29	  Priority level for internal thread which is ran for incoming
30	  packet processing.
31
32config ETH_LAN9250_BUF_ALLOC_TIMEOUT
33	int "Network buffer allocation timeout"
34	default 100
35	help
36	  Given timeout in milliseconds. Maximum amount of time
37	  that the driver will wait from the IP stack to get
38	  a memory buffer before the Ethernet frame is dropped.
39
40endif
41