18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# WIZnet devices configuration 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciconfig NET_VENDOR_WIZNET 78c2ecf20Sopenharmony_ci bool "WIZnet devices" 88c2ecf20Sopenharmony_ci depends on HAS_IOMEM 98c2ecf20Sopenharmony_ci default y 108c2ecf20Sopenharmony_ci help 118c2ecf20Sopenharmony_ci If you have a network (Ethernet) card belonging to this class, say Y. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci Note that the answer to this question doesn't directly affect the 148c2ecf20Sopenharmony_ci kernel: saying N will just cause the configurator to skip all 158c2ecf20Sopenharmony_ci the questions about WIZnet devices. If you say Y, you will be asked 168c2ecf20Sopenharmony_ci for your specific card in the following questions. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciif NET_VENDOR_WIZNET 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciconfig WIZNET_W5100 218c2ecf20Sopenharmony_ci tristate "WIZnet W5100 Ethernet support" 228c2ecf20Sopenharmony_ci depends on HAS_IOMEM 238c2ecf20Sopenharmony_ci help 248c2ecf20Sopenharmony_ci Support for WIZnet W5100 chips. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci W5100 is a single chip with integrated 10/100 Ethernet MAC, 278c2ecf20Sopenharmony_ci PHY and hardware TCP/IP stack, but this driver is limited to 288c2ecf20Sopenharmony_ci the MAC and PHY functions only, onchip TCP/IP is unused. 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the module 318c2ecf20Sopenharmony_ci will be called w5100. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciconfig WIZNET_W5300 348c2ecf20Sopenharmony_ci tristate "WIZnet W5300 Ethernet support" 358c2ecf20Sopenharmony_ci depends on HAS_IOMEM 368c2ecf20Sopenharmony_ci help 378c2ecf20Sopenharmony_ci Support for WIZnet W5300 chips. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci W5300 is a single chip with integrated 10/100 Ethernet MAC, 408c2ecf20Sopenharmony_ci PHY and hardware TCP/IP stack, but this driver is limited to 418c2ecf20Sopenharmony_ci the MAC and PHY functions only, onchip TCP/IP is unused. 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the module 448c2ecf20Sopenharmony_ci will be called w5300. 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_cichoice 478c2ecf20Sopenharmony_ci prompt "WIZnet interface mode" 488c2ecf20Sopenharmony_ci depends on WIZNET_W5100 || WIZNET_W5300 498c2ecf20Sopenharmony_ci default WIZNET_BUS_ANY 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ciconfig WIZNET_BUS_DIRECT 528c2ecf20Sopenharmony_ci bool "Direct address bus mode" 538c2ecf20Sopenharmony_ci help 548c2ecf20Sopenharmony_ci In direct address mode host system can directly access all registers 558c2ecf20Sopenharmony_ci after mapping to Memory-Mapped I/O space. 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ciconfig WIZNET_BUS_INDIRECT 588c2ecf20Sopenharmony_ci bool "Indirect address bus mode" 598c2ecf20Sopenharmony_ci help 608c2ecf20Sopenharmony_ci In indirect address mode host system indirectly accesses registers 618c2ecf20Sopenharmony_ci using Indirect Mode Address Register and Indirect Mode Data Register, 628c2ecf20Sopenharmony_ci which are directly mapped to Memory-Mapped I/O space. 638c2ecf20Sopenharmony_ci 648c2ecf20Sopenharmony_ciconfig WIZNET_BUS_ANY 658c2ecf20Sopenharmony_ci bool "Select interface mode in runtime" 668c2ecf20Sopenharmony_ci help 678c2ecf20Sopenharmony_ci If interface mode is unknown in compile time, it can be selected 688c2ecf20Sopenharmony_ci in runtime from board/platform resources configuration. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ci Performance may decrease compared to explicitly selected bus mode. 718c2ecf20Sopenharmony_ciendchoice 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ciconfig WIZNET_W5100_SPI 748c2ecf20Sopenharmony_ci tristate "WIZnet W5100/W5200/W5500 Ethernet support for SPI mode" 758c2ecf20Sopenharmony_ci depends on WIZNET_BUS_ANY && WIZNET_W5100 768c2ecf20Sopenharmony_ci depends on SPI 778c2ecf20Sopenharmony_ci help 788c2ecf20Sopenharmony_ci In SPI mode host system accesses registers using SPI protocol 798c2ecf20Sopenharmony_ci (mode 0) on the SPI bus. 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ci Performance decreases compared to other bus interface mode. 828c2ecf20Sopenharmony_ci In W5100 SPI mode, burst READ/WRITE processing are not provided. 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the module 858c2ecf20Sopenharmony_ci will be called w5100-spi. 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ciendif # NET_VENDOR_WIZNET 88