forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.xmc4xxx
57 lines (48 loc) · 1.68 KB
/
Kconfig.xmc4xxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ETH_XMC4XXX Ethernet driver configuration options
# Copyright (c) 2023 SLB
# SPDX-License-Identifier: Apache-2.0
menuconfig ETH_XMC4XXX
bool "XMC4XXX Ethernet driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_ETHERNET_ENABLED
select PINCTRL
help
Enable XMC4XXX Ethernet driver.
if ETH_XMC4XXX
config ETH_XMC4XXX_TX_FRAME_POOL_SIZE
int "Number of TX frames in the pool size"
default 4
help
Number of TX frames which can be buffered in the driver.
config ETH_XMC4XXX_NUM_TX_DMA_DESCRIPTORS
int "Number of TX DMA descriptors"
default 32
help
Number of TX DMA descriptors. Each descriptor stores the memory address of a
data fragment and its size.
config ETH_XMC4XXX_NUM_RX_DMA_DESCRIPTORS
int "Number of RX DMA descriptors"
default 12
help
Number of RX DMA descriptors. Each descriptor stores the memory address of a
data fragment and its size. The data fragments are pre-allocated from the rx
network buffers (CONFIG_NET_BUF_RX_COUNT). When a frame is received, it is
forwarded to the network stack without copying the data. The buffers
in the descriptors are replaced by new pre-allocated buffers.
config ETH_XMC4XXX_VLAN_HW_FILTER
bool "Hardware filter VLAN frames"
default y if NET_VLAN_COUNT=1
depends on NET_VLAN
help
Hardware filter VLAN frames in hardware. Only ethernet frames with
a tag configured using vlan_setup() call will be received.
The filtering can only be done on one vlan tag. If vlan_setup() is
called multiple times, the filtering will be done on the latest
tag.
config PTP_CLOCK_XMC4XXX
bool "XMC4XXX PTP clock driver support"
default y
depends on PTP_CLOCK
help
Enable XMC4XXX PTP Clock support.
endif # ETH_XMC4XXX