File tree Expand file tree Collapse file tree 6 files changed +1099
-1
lines changed Expand file tree Collapse file tree 6 files changed +1099
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,10 @@ zephyr_library_sources_ifdef(CONFIG_ETH_SMSC91X eth_smsc91x.c)
3939zephyr_library_sources_ifdef(CONFIG_ETH_IVSHMEM eth_ivshmem.c eth_ivshmem_queue.c)
4040zephyr_library_sources_ifdef(CONFIG_ETH_ADIN2111 eth_adin2111.c)
4141zephyr_library_sources_ifdef(CONFIG_ETH_LAN865X eth_lan865x.c oa_tc6.c)
42- zephyr_library_sources_ifdef(CONFIG_ETH_XMC4XXX eth_xmc4xxx.c)
42+ zephyr_library_sources_ifdef(CONFIG_ETH_XMC4XXX eth_xmc4xxx.c)
43+ zephyr_library_sources_ifdef(CONFIG_ETH_TEST eth_test.c)
44+ zephyr_library_sources_ifdef(CONFIG_ETH_RENESAS_RA eth_renesas_ra.c)
45+ zephyr_library_sources_ifdef(CONFIG_ETH_LAN9250 eth_lan9250.c)
4346
4447if (CONFIG_ETH_NXP_S32_NETC)
4548 zephyr_library_sources(eth_nxp_s32_netc.c)
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ source "drivers/ethernet/Kconfig.adin2111"
7373source "drivers/ethernet/Kconfig.numaker"
7474source "drivers/ethernet/Kconfig.lan865x"
7575source "drivers/ethernet/Kconfig.xmc4xxx"
76+ source "drivers/ethernet/Kconfig.lan9250"
7677
7778source "drivers/ethernet/eth_nxp_enet_qos/Kconfig"
7879
Original file line number Diff line number Diff line change 1+ # LAN9250 Stand-alone Ethernet Controller configuration options
2+
3+ # Copyright (c) 2024 Mario Paja
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+
7+ menuconfig 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+
16+ if ETH_LAN9250
17+
18+ config 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+
25+ config 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+
32+ config 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+
40+ endif
You can’t perform that action at this time.
0 commit comments