zephyr/drivers/ethernet/Kconfig.gecko
Kumar Gala b19cf0bed3 drivers: eth: Get Manual MAC address from devicetree
Move from a Kconfig to select/initialize the MAC address to using the
"local-mac-address" property in devicetree.  If the property is set the
drivers will initialize the mac-address from the devicetree (unless the
mac address is all 0's).  The MAC address might get overwritten by
either a driver specific means or by the setting of
"zephyr,random-mac-address" in the devicetree.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-05-09 16:29:57 +02:00

46 lines
1,023 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