46 lines
1023 B
Plaintext
46 lines
1023 B
Plaintext
|
# Copyright (c) 2019 Interay Solutions B.V.
|
||
|
# Copyright (c) 2019 Oane Kingma
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
menuconfig ETH_GECKO
|
||
|
bool "SiLabs Gecko Ethernet driver"
|
||
|
help
|
||
|
Enable Ethernet driver for Silicon Labs Gecko chips.
|
||
|
|
||
|
if ETH_GECKO
|
||
|
|
||
|
config ETH_GECKO_NAME
|
||
|
string "Device name"
|
||
|
default "ETH_0"
|
||
|
help
|
||
|
Device name allows user to obtain a handle to the device object
|
||
|
required by all driver API functions. Device name has to be unique.
|
||
|
|
||
|
config ETH_GECKO_IRQ_PRI
|
||
|
int "Interrupt priority"
|
||
|
default 0
|
||
|
help
|
||
|
IRQ priority of Ethernet device
|
||
|
|
||
|
config ETH_GECKO_RX_THREAD_STACK_SIZE
|
||
|
int "RX thread stack size"
|
||
|
default 1500
|
||
|
help
|
||
|
RX thread stack size
|
||
|
|
||
|
config ETH_GECKO_RX_THREAD_PRIO
|
||
|
int "RX thread priority"
|
||
|
default 2
|
||
|
help
|
||
|
RX thread priority
|
||
|
|
||
|
config ETH_GECKO_CARRIER_CHECK_RX_IDLE_TIMEOUT_MS
|
||
|
int "Carrier check timeout period (ms)"
|
||
|
default 500
|
||
|
range 100 30000
|
||
|
help
|
||
|
Set the RX idle timeout period in milliseconds after which the
|
||
|
PHY's carrier status is re-evaluated.
|
||
|
|
||
|
endif # ETH_GECKO
|