162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# WIZnet devices configuration 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciconfig NET_VENDOR_WIZNET 762306a36Sopenharmony_ci bool "WIZnet devices" 862306a36Sopenharmony_ci depends on HAS_IOMEM 962306a36Sopenharmony_ci default y 1062306a36Sopenharmony_ci help 1162306a36Sopenharmony_ci If you have a network (Ethernet) card belonging to this class, say Y. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci Note that the answer to this question doesn't directly affect the 1462306a36Sopenharmony_ci kernel: saying N will just cause the configurator to skip all 1562306a36Sopenharmony_ci the questions about WIZnet devices. If you say Y, you will be asked 1662306a36Sopenharmony_ci for your specific card in the following questions. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciif NET_VENDOR_WIZNET 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciconfig WIZNET_W5100 2162306a36Sopenharmony_ci tristate "WIZnet W5100 Ethernet support" 2262306a36Sopenharmony_ci depends on HAS_IOMEM 2362306a36Sopenharmony_ci help 2462306a36Sopenharmony_ci Support for WIZnet W5100 chips. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci W5100 is a single chip with integrated 10/100 Ethernet MAC, 2762306a36Sopenharmony_ci PHY and hardware TCP/IP stack, but this driver is limited to 2862306a36Sopenharmony_ci the MAC and PHY functions only, onchip TCP/IP is unused. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 3162306a36Sopenharmony_ci will be called w5100. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciconfig WIZNET_W5300 3462306a36Sopenharmony_ci tristate "WIZnet W5300 Ethernet support" 3562306a36Sopenharmony_ci depends on HAS_IOMEM 3662306a36Sopenharmony_ci help 3762306a36Sopenharmony_ci Support for WIZnet W5300 chips. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci W5300 is a single chip with integrated 10/100 Ethernet MAC, 4062306a36Sopenharmony_ci PHY and hardware TCP/IP stack, but this driver is limited to 4162306a36Sopenharmony_ci the MAC and PHY functions only, onchip TCP/IP is unused. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 4462306a36Sopenharmony_ci will be called w5300. 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_cichoice 4762306a36Sopenharmony_ci prompt "WIZnet interface mode" 4862306a36Sopenharmony_ci depends on WIZNET_W5100 || WIZNET_W5300 4962306a36Sopenharmony_ci default WIZNET_BUS_ANY 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciconfig WIZNET_BUS_DIRECT 5262306a36Sopenharmony_ci bool "Direct address bus mode" 5362306a36Sopenharmony_ci help 5462306a36Sopenharmony_ci In direct address mode host system can directly access all registers 5562306a36Sopenharmony_ci after mapping to Memory-Mapped I/O space. 5662306a36Sopenharmony_ci 5762306a36Sopenharmony_ciconfig WIZNET_BUS_INDIRECT 5862306a36Sopenharmony_ci bool "Indirect address bus mode" 5962306a36Sopenharmony_ci help 6062306a36Sopenharmony_ci In indirect address mode host system indirectly accesses registers 6162306a36Sopenharmony_ci using Indirect Mode Address Register and Indirect Mode Data Register, 6262306a36Sopenharmony_ci which are directly mapped to Memory-Mapped I/O space. 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ciconfig WIZNET_BUS_ANY 6562306a36Sopenharmony_ci bool "Select interface mode in runtime" 6662306a36Sopenharmony_ci help 6762306a36Sopenharmony_ci If interface mode is unknown in compile time, it can be selected 6862306a36Sopenharmony_ci in runtime from board/platform resources configuration. 6962306a36Sopenharmony_ci 7062306a36Sopenharmony_ci Performance may decrease compared to explicitly selected bus mode. 7162306a36Sopenharmony_ciendchoice 7262306a36Sopenharmony_ci 7362306a36Sopenharmony_ciconfig WIZNET_W5100_SPI 7462306a36Sopenharmony_ci tristate "WIZnet W5100/W5200/W5500 Ethernet support for SPI mode" 7562306a36Sopenharmony_ci depends on WIZNET_BUS_ANY && WIZNET_W5100 7662306a36Sopenharmony_ci depends on SPI 7762306a36Sopenharmony_ci help 7862306a36Sopenharmony_ci In SPI mode host system accesses registers using SPI protocol 7962306a36Sopenharmony_ci (mode 0) on the SPI bus. 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci Performance decreases compared to other bus interface mode. 8262306a36Sopenharmony_ci In W5100 SPI mode, burst READ/WRITE processing are not provided. 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 8562306a36Sopenharmony_ci will be called w5100-spi. 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ciendif # NET_VENDOR_WIZNET 88