brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · 4bac2ad Raw
88 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# WIZnet devices configuration4#5 6config NET_VENDOR_WIZNET7	bool "WIZnet devices"8	depends on HAS_IOMEM9	default y10	help11	  If you have a network (Ethernet) card belonging to this class, say Y.12 13	  Note that the answer to this question doesn't directly affect the14	  kernel: saying N will just cause the configurator to skip all15	  the questions about WIZnet devices. If you say Y, you will be asked16	  for your specific card in the following questions.17 18if NET_VENDOR_WIZNET19 20config WIZNET_W510021	tristate "WIZnet W5100 Ethernet support"22	depends on HAS_IOMEM23	help24	  Support for WIZnet W5100 chips.25 26	  W5100 is a single chip with integrated 10/100 Ethernet MAC,27	  PHY and hardware TCP/IP stack, but this driver is limited to28	  the MAC and PHY functions only, onchip TCP/IP is unused.29 30	  To compile this driver as a module, choose M here: the module31	  will be called w5100.32 33config WIZNET_W530034	tristate "WIZnet W5300 Ethernet support"35	depends on HAS_IOMEM36	help37	  Support for WIZnet W5300 chips.38 39	  W5300 is a single chip with integrated 10/100 Ethernet MAC,40	  PHY and hardware TCP/IP stack, but this driver is limited to41	  the MAC and PHY functions only, onchip TCP/IP is unused.42 43	  To compile this driver as a module, choose M here: the module44	  will be called w5300.45 46choice47	prompt "WIZnet interface mode"48	depends on WIZNET_W5100 || WIZNET_W530049	default WIZNET_BUS_ANY50 51config WIZNET_BUS_DIRECT52	bool "Direct address bus mode"53	help54	  In direct address mode host system can directly access all registers55	  after mapping to Memory-Mapped I/O space.56 57config WIZNET_BUS_INDIRECT58	bool "Indirect address bus mode"59	help60	  In indirect address mode host system indirectly accesses registers61	  using Indirect Mode Address Register and Indirect Mode Data Register,62	  which are directly mapped to Memory-Mapped I/O space.63 64config WIZNET_BUS_ANY65	bool "Select interface mode in runtime"66	help67	  If interface mode is unknown in compile time, it can be selected68	  in runtime from board/platform resources configuration.69 70	  Performance may decrease compared to explicitly selected bus mode.71endchoice72 73config WIZNET_W5100_SPI74	tristate "WIZnet W5100/W5200/W5500 Ethernet support for SPI mode"75	depends on WIZNET_BUS_ANY && WIZNET_W510076	depends on SPI77	help78	  In SPI mode host system accesses registers using SPI protocol79	  (mode 0) on the SPI bus.80 81	  Performance decreases compared to other bus interface mode.82	  In W5100 SPI mode, burst READ/WRITE processing are not provided.83 84	  To compile this driver as a module, choose M here: the module85	  will be called w5100-spi.86 87endif # NET_VENDOR_WIZNET88