mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-22 06:25:20 +00:00
Clean up space errors and use a consistent style throughout the Kconfig files. This makes reading the Kconfig files more distraction-free, helps with grepping, and encourages the same style getting copied around everywhere (meaning another pass hopefully won't be needed). Go for the most common style: - Indent properties with a single tab, including for choices. Properties on choices work exactly the same syntactically as properties on symbols, so not sure how the no-indentation thing happened. - Indent help texts with a tab followed by two spaces - Put a space between 'config' and the symbol name, not a tab. This also helps when grepping for definitions. - Do '# A comment' instead of '#A comment' I tweaked Kconfiglib a bit to find most of the stuff. Some help texts were reflowed to 79 columns with 'gq' in Vim as well, though not all, because I was afraid I'd accidentally mess up formatting. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
# Kconfig - ETH_ENC28J60 Ethernet driver configuration options
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig ETH_ENC28J60
|
|
bool "ENC28J60C Ethernet Controller"
|
|
depends on SPI
|
|
help
|
|
ENC28J60C Stand-Alone Ethernet Controller
|
|
with SPI Interface
|
|
|
|
config ETH_ENC28J60_RX_THREAD_STACK_SIZE
|
|
int "Stack size for internal incoming packet handler"
|
|
depends on ETH_ENC28J60
|
|
default 800
|
|
help
|
|
Size of the stack used for internal thread which is ran for
|
|
incoming packet processing.
|
|
|
|
config ETH_ENC28J60_RX_THREAD_PRIO
|
|
int "Priority for internal incoming packet handler"
|
|
depends on ETH_ENC28J60
|
|
default 2
|
|
help
|
|
Priority level for internal thread which is ran for incoming
|
|
packet processing.
|
|
|
|
config ETH_ENC28J60_TIMEOUT
|
|
int "IP buffer timeout"
|
|
depends on ETH_ENC28J60
|
|
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.
|
|
|
|
config ETH_ENC28J60_0
|
|
bool "ENC28J60C Ethernet port 0"
|
|
depends on ETH_ENC28J60
|
|
help
|
|
Include port 0 driver
|
|
|
|
if ETH_ENC28J60 && ETH_ENC28J60_0
|
|
config ETH_ENC28J60_0_FULL_DUPLEX
|
|
bool "ENC28J60 full duplex"
|
|
default y
|
|
help
|
|
Enable Full Duplex. Device is configured half duplex
|
|
when disabled.
|
|
|
|
config ETH_ENC28J60_0_GPIO_SPI_CS
|
|
bool "Manage SPI CS through a GPIO pin"
|
|
help
|
|
This option is useful if one needs to manage SPI CS through a GPIO
|
|
pin to by-pass the SPI controller's CS logic.
|
|
|
|
endif # ETH_ENC28J60 && ETH_ENC28J60_0
|