2019-11-01 20:45:29 +08:00
|
|
|
# ETH_ENC28J60 Ethernet driver configuration options
|
2016-07-09 03:52:03 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-07-09 03:52:03 +08:00
|
|
|
|
|
|
|
menuconfig ETH_ENC28J60
|
|
|
|
bool "ENC28J60C Ethernet Controller"
|
|
|
|
depends on SPI
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
ENC28J60C Stand-Alone Ethernet Controller
|
|
|
|
with SPI Interface
|
2016-07-09 03:52:03 +08:00
|
|
|
|
2016-12-06 17:33:17 +08:00
|
|
|
config ETH_ENC28J60_RX_THREAD_STACK_SIZE
|
|
|
|
int "Stack size for internal incoming packet handler"
|
|
|
|
depends on ETH_ENC28J60
|
|
|
|
default 800
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Size of the stack used for internal thread which is ran for
|
|
|
|
incoming packet processing.
|
2016-12-06 17:33:17 +08:00
|
|
|
|
|
|
|
config ETH_ENC28J60_RX_THREAD_PRIO
|
|
|
|
int "Priority for internal incoming packet handler"
|
|
|
|
depends on ETH_ENC28J60
|
|
|
|
default 2
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Priority level for internal thread which is ran for incoming
|
|
|
|
packet processing.
|
2016-12-06 17:33:17 +08:00
|
|
|
|
2019-03-05 23:38:51 +08:00
|
|
|
config ETH_ENC28J60_TIMEOUT
|
2017-03-03 00:42:16 +08:00
|
|
|
int "IP buffer timeout"
|
|
|
|
depends on ETH_ENC28J60
|
|
|
|
default 100
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
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.
|
2017-03-03 00:42:16 +08:00
|
|
|
|
2016-07-09 03:52:03 +08:00
|
|
|
config ETH_ENC28J60_0
|
|
|
|
bool "ENC28J60C Ethernet port 0"
|
|
|
|
depends on ETH_ENC28J60
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Include port 0 driver
|
2016-07-09 03:52:03 +08:00
|
|
|
|
|
|
|
if ETH_ENC28J60 && ETH_ENC28J60_0
|
2019-03-05 23:38:51 +08:00
|
|
|
config ETH_ENC28J60_0_FULL_DUPLEX
|
2016-09-09 01:07:11 +08:00
|
|
|
bool "ENC28J60 full duplex"
|
|
|
|
default y
|
|
|
|
help
|
2018-02-15 21:36:16 +08:00
|
|
|
Enable Full Duplex. Device is configured half duplex
|
|
|
|
when disabled.
|
2016-09-09 01:07:11 +08:00
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # ETH_ENC28J60 && ETH_ENC28J60_0
|