2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2013-09-17 18:52:23 +02:00
|
|
|
|
2013-09-25 19:50:05 +02:00
|
|
|
comment "General Ethernet MAC Driver Options"
|
|
|
|
|
2015-08-24 16:25:08 +02:00
|
|
|
config NETDEV_LOOPBACK
|
2015-08-24 21:49:12 +02:00
|
|
|
bool
|
|
|
|
default n if !NET_LOOPBACK
|
|
|
|
default y if NET_LOOPBACK
|
2015-11-26 19:08:09 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2015-08-24 16:25:08 +02:00
|
|
|
---help---
|
2016-12-03 23:28:19 +01:00
|
|
|
Add support for the local network loopback device, lo.
|
2015-08-24 16:25:08 +02:00
|
|
|
|
2016-11-18 16:22:49 +01:00
|
|
|
if NETDEV_LOOPBACK
|
|
|
|
endif # NETDEV_LOOPBACK
|
|
|
|
|
2015-12-07 16:26:57 +01:00
|
|
|
config NETDEV_TELNET
|
|
|
|
bool "Telnet driver"
|
|
|
|
default n
|
|
|
|
depends on NET && NET_TCP
|
|
|
|
---help---
|
|
|
|
The Telnet driver generates a character driver instance to support a
|
|
|
|
Telnet session. This driver is used by the Telnet daemon. The
|
2018-07-09 02:24:45 +02:00
|
|
|
Telnet daemon will instantiate a new Telnet driver to support
|
2015-12-07 16:26:57 +01:00
|
|
|
standard I/O on the new Telnet session.
|
|
|
|
|
|
|
|
if NETDEV_TELNET
|
|
|
|
|
|
|
|
config TELNET_RXBUFFER_SIZE
|
|
|
|
int "Telnet RX buffer size"
|
|
|
|
default 256
|
|
|
|
|
|
|
|
config TELNET_TXBUFFER_SIZE
|
|
|
|
int "Telnet TX buffer size"
|
|
|
|
default 256
|
|
|
|
|
|
|
|
config TELNET_DUMPBUFFER
|
|
|
|
bool "Dump Telnet buffers"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_NET
|
|
|
|
|
2018-01-09 12:16:02 +01:00
|
|
|
config TELNET_CHARACTER_MODE
|
|
|
|
bool "Character mode"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The Telnet daemon works in character mode. In this case, the deamon
|
|
|
|
will echo a character which telnet client sent. By default, it works
|
|
|
|
in line mode.
|
|
|
|
|
2015-12-07 16:26:57 +01:00
|
|
|
endif # NETDEV_TELNET
|
|
|
|
|
2015-11-26 19:08:09 +01:00
|
|
|
config ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config NETDEV_STATISTICS
|
|
|
|
bool "Network device driver statistics"
|
|
|
|
depends on NET_STATISTICS && ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
---help---
|
|
|
|
Enable to collect statistics from the network drivers (if supported
|
|
|
|
by the network driver).
|
|
|
|
|
2015-07-17 15:20:16 +02:00
|
|
|
config NETDEV_LATEINIT
|
|
|
|
bool "Late driver initialization"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Normally, networking initialization occur in the later phase of the
|
|
|
|
boot process in the function up_initialize() when it calls the
|
|
|
|
driver initialization function, up_netintialize(). This
|
|
|
|
initialization occurs after a sufficient about of the OS has been
|
|
|
|
initialized so that driver registration can be performed, but
|
|
|
|
before the completion of OS initialization and before the first
|
|
|
|
application is started.
|
|
|
|
|
|
|
|
In a few situations, however, you may want to suppress this early
|
|
|
|
network driver initialization. As examples:
|
|
|
|
|
|
|
|
- If you are using SLIP or PPPD, then there will be no network
|
|
|
|
driver to be initialized,
|
|
|
|
- Certain multi-network configurations where a simple call to
|
|
|
|
up_netinitialize() may be insufficient, and
|
|
|
|
- Situations where there are other board-level hardware
|
|
|
|
dependencies so that the hardware is not in an appropriate
|
2015-07-17 16:31:21 +02:00
|
|
|
state for up_netinitialize() to be called.
|
2015-07-17 15:20:16 +02:00
|
|
|
|
|
|
|
Examples of this latter situation includes such things as network
|
|
|
|
drivers that required some setup via an I2C I/O expander, or network
|
|
|
|
drivers that depend on USB, SPI, I2C, PCI, serial, or other
|
|
|
|
interfaces that may not be ready when up_netiniailize() is normally
|
|
|
|
called.
|
|
|
|
|
2013-09-25 19:50:05 +02:00
|
|
|
config NET_DUMPPACKET
|
|
|
|
bool "Enable packet dumping"
|
2016-06-11 22:14:08 +02:00
|
|
|
depends on DEBUG_FEATURES
|
2013-09-25 19:50:05 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Some Ethernet MAC drivers supporting dumping of received and
|
|
|
|
transmitted packets as a debug option. This setting enables that
|
2016-06-11 22:14:08 +02:00
|
|
|
debug option. Also needs CONFIG_DEBUG_FEATURES.
|
2013-09-25 19:50:05 +02:00
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
comment "External Ethernet MAC Device Support"
|
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
menuconfig NET_DM90x0
|
2012-04-13 16:27:44 +02:00
|
|
|
bool "Davicom dm9000/dm9010 support"
|
|
|
|
default n
|
2015-11-26 19:08:09 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2012-04-13 16:27:44 +02:00
|
|
|
---help---
|
|
|
|
References: Davicom data sheets (DM9000-DS-F03-041906.pdf,
|
|
|
|
DM9010-DS-F01-103006.pdf) and looking at lots of other DM90x0
|
|
|
|
drivers.
|
|
|
|
|
2014-03-05 19:16:02 +01:00
|
|
|
if NET_DM90x0
|
|
|
|
|
|
|
|
config DM9X_BASE
|
|
|
|
hex "DM90x0 base address"
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
config DM9X_IRQ
|
|
|
|
int "DM90x0 IRQ number"
|
|
|
|
default 0
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "DM90x0 bus width"
|
|
|
|
default DM9X_BUSWIDTH16
|
|
|
|
|
|
|
|
config DM9X_BUSWIDTH8
|
|
|
|
bool "8-bits"
|
|
|
|
|
|
|
|
config DM9X_BUSWIDTH16
|
|
|
|
bool "16-bits"
|
|
|
|
|
|
|
|
config DM9X_BUSWIDTH32
|
|
|
|
bool "32-bits"
|
|
|
|
|
|
|
|
endchoice # DM90x0 bus width
|
|
|
|
|
|
|
|
config DM9X_CHECKSUM
|
|
|
|
bool "Checksum enable"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DM9X_ETRANS
|
|
|
|
bool "TX poll"
|
|
|
|
default n
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "DM90x0 mode"
|
|
|
|
default DM9X_MODE_AUTO
|
|
|
|
|
|
|
|
config DM9X_MODE_AUTO
|
2018-07-09 02:24:45 +02:00
|
|
|
bool "Autonegotiation"
|
2014-03-05 19:16:02 +01:00
|
|
|
|
|
|
|
config DM9X_MODE_10MHD
|
|
|
|
bool "10BaseT half duplex"
|
|
|
|
|
|
|
|
config DM9X_MODE_10MFD
|
|
|
|
bool "10BaseT full duplex"
|
|
|
|
|
|
|
|
config DM9X_MODE_100MHD
|
|
|
|
bool "100BaseT half duplex"
|
|
|
|
|
|
|
|
config DM9X_MODE_100MFD
|
|
|
|
bool "100BaseT full duplex"
|
|
|
|
|
|
|
|
endchoice # DM90x0 mode
|
|
|
|
|
|
|
|
config DM9X_NINTERFACES
|
2018-07-09 02:24:45 +02:00
|
|
|
int "Number of DM90x0 interfaces"
|
2014-03-05 19:16:02 +01:00
|
|
|
default 1
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
|
2016-12-03 18:42:15 +01:00
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default DM9X_LPWORK if SCHED_LPWORK
|
|
|
|
default DM9X_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
|
|
|
Work queue support is required to use the Ethernet driver. If the
|
|
|
|
low priority work queue is available, then it should be used by the
|
|
|
|
driver.
|
|
|
|
|
|
|
|
config DM9X_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config DM9X_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
|
2015-11-26 19:08:09 +01:00
|
|
|
endif # NET_DM90x0
|
2014-03-05 19:16:02 +01:00
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
menuconfig ENC28J60
|
2012-04-13 16:27:44 +02:00
|
|
|
bool "Microchip ENC28J60 support"
|
|
|
|
default n
|
|
|
|
select SPI
|
2015-11-26 19:08:09 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2012-04-13 16:27:44 +02:00
|
|
|
---help---
|
|
|
|
References:
|
|
|
|
ENC28J60 Data Sheet, Stand-Alone Ethernet Controller with SPI Interface,
|
|
|
|
DS39662C, 2008 Microchip Technology Inc.
|
2012-09-17 20:35:37 +02:00
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
if ENC28J60
|
2015-08-06 22:32:12 +02:00
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config ENC28J60_NINTERFACES
|
|
|
|
int "Number of physical ENC28J60"
|
|
|
|
default 1
|
2017-10-06 23:14:09 +02:00
|
|
|
range 1 1
|
2012-04-13 16:27:44 +02:00
|
|
|
---help---
|
|
|
|
Specifies the number of physical ENC28J60
|
|
|
|
devices that will be supported.
|
|
|
|
|
|
|
|
config ENC28J60_SPIMODE
|
|
|
|
int "SPI mode"
|
2012-09-12 16:07:13 +02:00
|
|
|
default 0
|
2012-04-13 16:27:44 +02:00
|
|
|
---help---
|
2012-09-12 16:07:13 +02:00
|
|
|
Controls the SPI mode. The ENC28J60 spec says that it supports SPI
|
|
|
|
mode 0,0 only: "The implementation used on this device supports SPI
|
|
|
|
mode 0,0 only. In addition, the SPI port requires that SCK be at Idle
|
|
|
|
in a low state; selectable clock polarity is not supported."
|
|
|
|
However, sometimes you need to tinker with these things.
|
2012-04-13 16:27:44 +02:00
|
|
|
|
|
|
|
config ENC28J60_FREQUENCY
|
|
|
|
int "SPI frequency"
|
|
|
|
default 20000000
|
|
|
|
---help---
|
|
|
|
Define to use a different bus frequency
|
|
|
|
|
2016-11-18 15:41:27 +01:00
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default ENC28J60_LPWORK if SCHED_LPWORK
|
|
|
|
default ENC28J60_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
2016-11-19 16:20:01 +01:00
|
|
|
Work queue support is required to use the ENC28J60 driver. If the
|
|
|
|
low priority work queue is available, then it should be used by the
|
|
|
|
ENC28J60 driver.
|
2016-11-18 15:41:27 +01:00
|
|
|
|
|
|
|
config ENC28J60_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config ENC28J60_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config ENC28J60_HALFDUPPLEX
|
|
|
|
bool "Enable half dupplex"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Default is full duplex
|
2012-09-17 20:35:37 +02:00
|
|
|
|
|
|
|
config ENC28J60_DUMPPACKET
|
|
|
|
bool "Dump Packets"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If selected, the ENC28J60 driver will dump the contents of each
|
|
|
|
packet to the console.
|
|
|
|
|
2012-09-18 01:02:58 +02:00
|
|
|
config ENC28J60_REGDEBUG
|
|
|
|
bool "Register-Level Debug"
|
|
|
|
default n
|
2016-06-11 22:14:08 +02:00
|
|
|
depends on DEBUG_FEATURES && DEBUG_NET
|
2012-09-18 01:02:58 +02:00
|
|
|
---help---
|
2016-06-11 22:14:08 +02:00
|
|
|
Enable very low-level register access debug. Depends on
|
|
|
|
CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_NET.
|
2012-09-18 01:02:58 +02:00
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
endif # ENC28J60
|
2012-09-18 01:02:58 +02:00
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
menuconfig ENCX24J600
|
2013-08-25 19:21:54 +02:00
|
|
|
bool "Microchip ENCX24J600 support"
|
|
|
|
default n
|
|
|
|
select SPI
|
2015-11-26 19:08:09 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2013-08-25 19:21:54 +02:00
|
|
|
---help---
|
|
|
|
References:
|
|
|
|
ENC424J600/624J600 Data Sheet Stand-Alone 10/100 Ethernet Controller
|
|
|
|
with SPI or Parallel Interface DS39935B, 2009 Microchip Technology Inc.
|
|
|
|
|
|
|
|
if ENCX24J600
|
2015-08-06 22:32:12 +02:00
|
|
|
|
2013-08-25 19:21:54 +02:00
|
|
|
config ENC28J60_NINTERFACES
|
|
|
|
int "Number of physical ENCX24J600"
|
|
|
|
default 1
|
2017-10-06 23:14:09 +02:00
|
|
|
range 1 1
|
2013-08-25 19:21:54 +02:00
|
|
|
---help---
|
|
|
|
Specifies the number of physical ENCX24J600
|
|
|
|
devices that will be supported.
|
|
|
|
|
|
|
|
config ENCX24J600_SPIMODE
|
|
|
|
int "SPI mode"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Controls the SPI mode. The ENCX24J600 spec says that it supports SPI
|
|
|
|
mode 0,0 only: "The implementation used on this device supports SPI
|
|
|
|
mode 0,0 only. In addition, the SPI port requires that SCK be at Idle
|
|
|
|
in a low state; selectable clock polarity is not supported."
|
|
|
|
However, sometimes you need to tinker with these things.
|
|
|
|
|
|
|
|
config ENCX24J600_FREQUENCY
|
|
|
|
int "SPI frequency"
|
|
|
|
default 14000000
|
|
|
|
---help---
|
|
|
|
Define to use a different bus frequency
|
|
|
|
|
2013-10-11 18:57:58 +02:00
|
|
|
config ENCX24J600_NRXDESCR
|
2013-09-24 17:03:16 +02:00
|
|
|
int "Descriptor Count"
|
2013-10-11 18:57:58 +02:00
|
|
|
default 8
|
2013-09-24 17:03:16 +02:00
|
|
|
---help---
|
|
|
|
Defines how many descriptors are preallocated for the
|
|
|
|
transmission and reception queues.
|
|
|
|
The ENC has a relative large packet buffer of 24kB which can
|
2018-07-09 02:24:45 +02:00
|
|
|
be used to buffer multiple packets simutaneously
|
2013-09-24 17:03:16 +02:00
|
|
|
|
2016-11-18 16:22:49 +01:00
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default ENCX24J600_LPWORK if SCHED_LPWORK
|
|
|
|
default ENCX24J600_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
2016-11-19 16:20:01 +01:00
|
|
|
Work queue support is required to use the ENCX24J600 driver. If the
|
|
|
|
low priority work queue is available, then it should be used by the
|
|
|
|
ENCX24J600 driver.
|
2016-11-18 16:22:49 +01:00
|
|
|
|
|
|
|
config ENCX24J600_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config ENCX24J600_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
|
2013-08-25 19:21:54 +02:00
|
|
|
config ENCX24J600_DUMPPACKET
|
|
|
|
bool "Dump Packets"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If selected, the ENCX24J600 driver will dump the contents of each
|
|
|
|
packet to the console.
|
|
|
|
|
|
|
|
config ENCX24J600_REGDEBUG
|
|
|
|
bool "Register-Level Debug"
|
|
|
|
default n
|
2016-06-11 22:14:08 +02:00
|
|
|
depends on DEBUG_FEATURES && DEBUG_NET
|
2013-08-25 19:21:54 +02:00
|
|
|
---help---
|
2016-06-11 22:14:08 +02:00
|
|
|
Enable very low-level register access debug. Depends on
|
|
|
|
CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_NET.
|
2013-08-25 19:21:54 +02:00
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
endif # ENCX24J600
|
2013-08-25 19:21:54 +02:00
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
menuconfig NET_SLIP
|
2012-04-13 16:27:44 +02:00
|
|
|
bool "SLIP (serial line) support"
|
|
|
|
default n
|
2015-11-26 19:08:09 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2013-08-25 19:21:54 +02:00
|
|
|
---help---
|
2012-04-13 16:27:44 +02:00
|
|
|
Reference: RFC 1055
|
|
|
|
|
2015-08-06 22:32:12 +02:00
|
|
|
if NET_SLIP
|
|
|
|
|
|
|
|
config NET_SLIP_STACKSIZE
|
|
|
|
int "Daemon stack size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
Provides the stack size for SLIP RX and TX.
|
|
|
|
|
|
|
|
config NET_SLIP_DEFPRIO
|
|
|
|
int "Daemon priority"
|
|
|
|
default 128
|
|
|
|
---help---
|
|
|
|
Provides the priority for SLIP RX and TX threads.
|
|
|
|
|
2015-08-06 23:08:15 +02:00
|
|
|
config NET_SLIP_NINTERFACES
|
2015-08-06 22:32:12 +02:00
|
|
|
int "Number of SLIP interfaces"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Determines the number of physical interfaces that will be supported.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
menuconfig NET_FTMAC100
|
2015-07-29 23:57:58 +02:00
|
|
|
bool "Faraday 10/100 Ethernet"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Faraday 10/100 Ethernet support.
|
|
|
|
|
|
|
|
if NET_FTMAC100
|
|
|
|
|
|
|
|
config FTMAC100_BASE
|
|
|
|
hex "FTMAC100 base address"
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
config FTMAC100_IRQ
|
|
|
|
int "FTMAC100 IRQ number"
|
|
|
|
default 0
|
|
|
|
|
|
|
|
config FTMAC100_RX_DESC
|
|
|
|
int "Number of RX descriptors"
|
|
|
|
default 64
|
|
|
|
|
|
|
|
config FTMAC100_TX_DESC
|
|
|
|
int "Number of TX descriptors"
|
|
|
|
default 32
|
|
|
|
|
|
|
|
config FTMAC100_MAC0_ENV_ADDR
|
|
|
|
hex "MAC0 address location"
|
|
|
|
default 0
|
|
|
|
|
2016-11-18 16:22:49 +01:00
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default FTMAC100_LPWORK if SCHED_LPWORK
|
|
|
|
default FTMAC100_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
2016-11-19 16:20:01 +01:00
|
|
|
Work queue support is required to use the FTMAC100 driver. If the
|
|
|
|
low priority work queue is available, then it should be used by the
|
|
|
|
FTMAC100 driver.
|
2016-11-18 16:22:49 +01:00
|
|
|
|
|
|
|
config FTMAC100_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config FTMAC100_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
|
2015-07-29 23:57:58 +02:00
|
|
|
endif # NET_FTMAC100
|
|
|
|
|
2018-08-24 19:07:07 +02:00
|
|
|
menuconfig NET_LAN91C111
|
|
|
|
bool "Microchip LAN91C111 Support"
|
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
---help---
|
|
|
|
References:
|
|
|
|
LAN91C111 Data Sheet, 10/100 Non-PCI Ethernet Single Chip MAC + PHY
|
|
|
|
DS00002276A, 2016 Microchip Technology Inc.
|
|
|
|
|
|
|
|
if NET_LAN91C111
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default LAN91C111_LPWORK if SCHED_LPWORK
|
|
|
|
default LAN91C111_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
|
|
|
Work queue support is required to use the Ethernet driver. If the
|
|
|
|
low priority work queue is available, then it should be used by the
|
|
|
|
driver.
|
|
|
|
|
|
|
|
config LAN91C111_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config LAN91C111_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
|
|
|
|
endif # NET_LAN91C111
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
if ARCH_HAVE_PHY
|
|
|
|
|
|
|
|
comment "External Ethernet PHY Device Support"
|
|
|
|
|
2014-08-16 16:34:36 +02:00
|
|
|
config ARCH_PHY_INTERRUPT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
choice
|
|
|
|
prompt "Board PHY Selection (ETH0)"
|
|
|
|
default ETH0_PHY_NONE
|
|
|
|
---help---
|
|
|
|
Identify the PHY on your board. This setting is not used by all Ethernet
|
|
|
|
drivers nor do all Ethernet drivers support all PHYs.
|
|
|
|
|
|
|
|
config ETH0_PHY_NONE
|
|
|
|
bool "No PHY support"
|
|
|
|
|
2014-03-03 18:40:29 +01:00
|
|
|
config ETH0_PHY_AM79C874
|
|
|
|
bool "AMD Am79C874 PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH0_PHY_KS8721
|
|
|
|
bool "Micrel KS8721 PHY"
|
|
|
|
|
2015-06-04 01:34:36 +02:00
|
|
|
config ETH0_PHY_KSZ8041
|
|
|
|
bool "Micrel KSZ8041 PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH0_PHY_KSZ8051
|
|
|
|
bool "Micrel KSZ8051 PHY"
|
|
|
|
|
2015-03-16 20:51:37 +01:00
|
|
|
config ETH0_PHY_KSZ8061
|
|
|
|
bool "Micrel KSZ8061 PHY"
|
|
|
|
|
2014-06-11 20:23:31 +02:00
|
|
|
config ETH0_PHY_KSZ8081
|
|
|
|
bool "Micrel KSZ8081 PHY"
|
|
|
|
|
2013-09-26 23:55:21 +02:00
|
|
|
config ETH0_PHY_KSZ90x1
|
|
|
|
bool "Micrel KSZ9021/31 PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH0_PHY_DP83848C
|
2017-03-01 12:56:15 +01:00
|
|
|
bool "National Semiconductor DP83848C PHY"
|
2013-09-17 18:52:23 +02:00
|
|
|
|
|
|
|
config ETH0_PHY_LAN8720
|
|
|
|
bool "SMSC LAN8720 PHY"
|
|
|
|
|
2015-03-23 22:34:10 +01:00
|
|
|
config ETH0_PHY_LAN8740
|
|
|
|
bool "SMSC LAN8740 PHY"
|
|
|
|
|
2015-03-29 15:05:30 +02:00
|
|
|
config ETH0_PHY_LAN8740A
|
|
|
|
bool "SMSC LAN8740A PHY"
|
|
|
|
|
2015-07-19 21:09:48 +02:00
|
|
|
config ETH0_PHY_LAN8742A
|
|
|
|
bool "SMSC LAN8742A PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH0_PHY_DM9161
|
|
|
|
bool "Davicom DM9161 PHY"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Board PHY Selection (ETH1)"
|
|
|
|
default ETH1_PHY_NONE
|
|
|
|
---help---
|
|
|
|
Identify the PHY on your board. This setting is not used by all Ethernet
|
|
|
|
drivers nor do all Ethernet drivers support all PHYs.
|
|
|
|
|
|
|
|
config ETH1_PHY_NONE
|
|
|
|
bool "No PHY support"
|
|
|
|
|
2014-03-03 18:40:29 +01:00
|
|
|
config ETH1_PHY_AM79C874
|
|
|
|
bool "AMD Am79C874 PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH1_PHY_KS8721
|
|
|
|
bool "Micrel KS8721 PHY"
|
|
|
|
|
2015-06-04 01:34:36 +02:00
|
|
|
config ETH1_PHY_KSZ8041
|
|
|
|
bool "Micrel KSZ8041 PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH1_PHY_KSZ8051
|
|
|
|
bool "Micrel KSZ8051 PHY"
|
|
|
|
|
2014-06-11 20:23:31 +02:00
|
|
|
config ETH1_PHY_KSZ8081
|
|
|
|
bool "Micrel KSZ8081 PHY"
|
|
|
|
|
2013-09-26 23:55:21 +02:00
|
|
|
config ETH1_PHY_KSZ90x1
|
|
|
|
bool "Micrel KSZ9021/31 PHY"
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
config ETH1_PHY_DP83848C
|
2017-03-01 12:56:15 +01:00
|
|
|
bool "National Semiconductor DP83848C PHY"
|
2013-09-17 18:52:23 +02:00
|
|
|
|
|
|
|
config ETH1_PHY_LAN8720
|
|
|
|
bool "SMSC LAN8720 PHY"
|
|
|
|
|
|
|
|
config ETH1_PHY_DM9161
|
|
|
|
bool "Davicom DM9161 PHY"
|
|
|
|
|
|
|
|
endchoice
|
2014-08-17 22:07:53 +02:00
|
|
|
|
|
|
|
config NETDEV_PHY_DEBUG
|
|
|
|
bool "PHY debug"
|
|
|
|
default n
|
2016-06-11 22:14:08 +02:00
|
|
|
depends on DEBUG_FEATURES
|
2014-08-17 22:07:53 +02:00
|
|
|
---help---
|
|
|
|
Normally debug output is controlled by DEBUG_NET. However, that
|
2016-06-11 19:50:18 +02:00
|
|
|
may generate a LOT of debug output, especially if CONFIG_DEBUG_INFO is
|
2014-08-17 22:07:53 +02:00
|
|
|
also selected. This option is intended to force VERVOSE debug
|
2016-06-11 19:50:18 +02:00
|
|
|
output from certain PHY-related even if DEBUG_NET or CONFIG_DEBUG_INFO
|
2014-08-17 22:07:53 +02:00
|
|
|
are not selected. This allows for focused, unit-level debug of
|
|
|
|
the NSH network initialization logic.
|
|
|
|
|
2013-09-17 18:52:23 +02:00
|
|
|
endif # ARCH_HAVE_PHY
|