1# ETH_ENC28J60 Ethernet driver configuration options 2 3# Copyright (c) 2015 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig ETH_ENC28J60 7 bool "ENC28J60C Ethernet Controller" 8 depends on SPI 9 help 10 ENC28J60C Stand-Alone Ethernet Controller 11 with SPI Interface 12 13config ETH_ENC28J60_RX_THREAD_STACK_SIZE 14 int "Stack size for internal incoming packet handler" 15 depends on ETH_ENC28J60 16 default 800 17 help 18 Size of the stack used for internal thread which is ran for 19 incoming packet processing. 20 21config ETH_ENC28J60_RX_THREAD_PRIO 22 int "Priority for internal incoming packet handler" 23 depends on ETH_ENC28J60 24 default 2 25 help 26 Priority level for internal thread which is ran for incoming 27 packet processing. 28 29config ETH_ENC28J60_TIMEOUT 30 int "IP buffer timeout" 31 depends on ETH_ENC28J60 32 default 100 33 help 34 Given timeout in milliseconds. Maximum amount of time 35 that the driver will wait from the IP stack to get 36 a memory buffer before the Ethernet frame is dropped. 37 38config ETH_ENC28J60_0 39 bool "ENC28J60C Ethernet port 0" 40 depends on ETH_ENC28J60 41 help 42 Include port 0 driver 43 44if ETH_ENC28J60 && ETH_ENC28J60_0 45config ETH_ENC28J60_0_FULL_DUPLEX 46 bool "ENC28J60 full duplex" 47 default y 48 help 49 Enable Full Duplex. Device is configured half duplex 50 when disabled. 51 52endif # ETH_ENC28J60 && ETH_ENC28J60_0 53