zephyr/drivers/ethernet/Kconfig.w5500
Kumar Gala d36125654e drivers: ethernet: Update Kconfig
* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers
* Move to using 'select SPI' instead of 'depends on'
  (see commit df81fef944 for
   more details)

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-15 14:32:45 +02:00

40 lines
1 KiB
Plaintext

# W5500 Ethernet driver configuration options
# Copyright (c) 2020 Linumiz
# Author: Parthiban Nallathambi <parthiban@linumiz.com>
# SPDX-License-Identifier: Apache-2.0
menuconfig ETH_W5500
bool "W5500 Ethernet Controller"
default y
depends on DT_HAS_WIZNET_W5500_ENABLED
select SPI
help
W5500 Stand-Alone Ethernet Controller
with SPI Interface
config ETH_W5500_RX_THREAD_STACK_SIZE
int "Stack size for internal incoming packet handler"
depends on ETH_W5500
default 800
help
Size of the stack used for internal thread which is ran for
incoming packet processing.
config ETH_W5500_RX_THREAD_PRIO
int "Priority for internal incoming packet handler"
depends on ETH_W5500
default 2
help
Priority level for internal thread which is ran for incoming
packet processing.
config ETH_W5500_TIMEOUT
int "IP buffer timeout"
depends on ETH_W5500
default 100
help
Given timeout in milliseconds. Maximum amount of time
that the driver will wait from the IP stack to get
a memory buffer before the Ethernet frame is dropped.