1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# WIZnet devices configuration 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun 6*4882a593Smuzhiyunconfig NET_VENDOR_WIZNET 7*4882a593Smuzhiyun bool "WIZnet devices" 8*4882a593Smuzhiyun depends on HAS_IOMEM 9*4882a593Smuzhiyun default y 10*4882a593Smuzhiyun help 11*4882a593Smuzhiyun If you have a network (Ethernet) card belonging to this class, say Y. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun Note that the answer to this question doesn't directly affect the 14*4882a593Smuzhiyun kernel: saying N will just cause the configurator to skip all 15*4882a593Smuzhiyun the questions about WIZnet devices. If you say Y, you will be asked 16*4882a593Smuzhiyun for your specific card in the following questions. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunif NET_VENDOR_WIZNET 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunconfig WIZNET_W5100 21*4882a593Smuzhiyun tristate "WIZnet W5100 Ethernet support" 22*4882a593Smuzhiyun depends on HAS_IOMEM 23*4882a593Smuzhiyun help 24*4882a593Smuzhiyun Support for WIZnet W5100 chips. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun W5100 is a single chip with integrated 10/100 Ethernet MAC, 27*4882a593Smuzhiyun PHY and hardware TCP/IP stack, but this driver is limited to 28*4882a593Smuzhiyun the MAC and PHY functions only, onchip TCP/IP is unused. 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun To compile this driver as a module, choose M here: the module 31*4882a593Smuzhiyun will be called w5100. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunconfig WIZNET_W5300 34*4882a593Smuzhiyun tristate "WIZnet W5300 Ethernet support" 35*4882a593Smuzhiyun depends on HAS_IOMEM 36*4882a593Smuzhiyun help 37*4882a593Smuzhiyun Support for WIZnet W5300 chips. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun W5300 is a single chip with integrated 10/100 Ethernet MAC, 40*4882a593Smuzhiyun PHY and hardware TCP/IP stack, but this driver is limited to 41*4882a593Smuzhiyun the MAC and PHY functions only, onchip TCP/IP is unused. 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun To compile this driver as a module, choose M here: the module 44*4882a593Smuzhiyun will be called w5300. 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunchoice 47*4882a593Smuzhiyun prompt "WIZnet interface mode" 48*4882a593Smuzhiyun depends on WIZNET_W5100 || WIZNET_W5300 49*4882a593Smuzhiyun default WIZNET_BUS_ANY 50*4882a593Smuzhiyun 51*4882a593Smuzhiyunconfig WIZNET_BUS_DIRECT 52*4882a593Smuzhiyun bool "Direct address bus mode" 53*4882a593Smuzhiyun help 54*4882a593Smuzhiyun In direct address mode host system can directly access all registers 55*4882a593Smuzhiyun after mapping to Memory-Mapped I/O space. 56*4882a593Smuzhiyun 57*4882a593Smuzhiyunconfig WIZNET_BUS_INDIRECT 58*4882a593Smuzhiyun bool "Indirect address bus mode" 59*4882a593Smuzhiyun help 60*4882a593Smuzhiyun In indirect address mode host system indirectly accesses registers 61*4882a593Smuzhiyun using Indirect Mode Address Register and Indirect Mode Data Register, 62*4882a593Smuzhiyun which are directly mapped to Memory-Mapped I/O space. 63*4882a593Smuzhiyun 64*4882a593Smuzhiyunconfig WIZNET_BUS_ANY 65*4882a593Smuzhiyun bool "Select interface mode in runtime" 66*4882a593Smuzhiyun help 67*4882a593Smuzhiyun If interface mode is unknown in compile time, it can be selected 68*4882a593Smuzhiyun in runtime from board/platform resources configuration. 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun Performance may decrease compared to explicitly selected bus mode. 71*4882a593Smuzhiyunendchoice 72*4882a593Smuzhiyun 73*4882a593Smuzhiyunconfig WIZNET_W5100_SPI 74*4882a593Smuzhiyun tristate "WIZnet W5100/W5200/W5500 Ethernet support for SPI mode" 75*4882a593Smuzhiyun depends on WIZNET_BUS_ANY && WIZNET_W5100 76*4882a593Smuzhiyun depends on SPI 77*4882a593Smuzhiyun help 78*4882a593Smuzhiyun In SPI mode host system accesses registers using SPI protocol 79*4882a593Smuzhiyun (mode 0) on the SPI bus. 80*4882a593Smuzhiyun 81*4882a593Smuzhiyun Performance decreases compared to other bus interface mode. 82*4882a593Smuzhiyun In W5100 SPI mode, burst READ/WRITE processing are not provided. 83*4882a593Smuzhiyun 84*4882a593Smuzhiyun To compile this driver as a module, choose M here: the module 85*4882a593Smuzhiyun will be called w5100-spi. 86*4882a593Smuzhiyun 87*4882a593Smuzhiyunendif # NET_VENDOR_WIZNET 88