Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 2 | # |
| 3 | # WIZnet devices configuration |
| 4 | # |
| 5 | |
| 6 | config NET_VENDOR_WIZNET |
| 7 | bool "WIZnet devices" |
frank.blaschka@de.ibm.com | 9fafbd4 | 2012-07-24 22:34:27 +0000 | [diff] [blame] | 8 | depends on HAS_IOMEM |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 9 | default y |
| 10 | ---help--- |
Paul Gortmaker | 138b15e | 2015-06-21 16:28:02 -0400 | [diff] [blame] | 11 | If you have a network (Ethernet) card belonging to this class, say Y. |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 12 | |
| 13 | Note that the answer to this question doesn't directly affect the |
| 14 | kernel: saying N will just cause the configurator to skip all |
| 15 | the questions about WIZnet devices. If you say Y, you will be asked |
| 16 | for your specific card in the following questions. |
| 17 | |
| 18 | if NET_VENDOR_WIZNET |
| 19 | |
Mike Sinkovsky | 8b1467a | 2012-04-04 19:33:54 +0000 | [diff] [blame] | 20 | config WIZNET_W5100 |
| 21 | tristate "WIZnet W5100 Ethernet support" |
David S. Miller | 32ed53b | 2012-04-10 09:25:46 -0400 | [diff] [blame] | 22 | depends on HAS_IOMEM |
Mike Sinkovsky | 8b1467a | 2012-04-04 19:33:54 +0000 | [diff] [blame] | 23 | ---help--- |
| 24 | 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 to |
| 28 | the MAC and PHY functions only, onchip TCP/IP is unused. |
| 29 | |
| 30 | To compile this driver as a module, choose M here: the module |
| 31 | will be called w5100. |
| 32 | |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 33 | config WIZNET_W5300 |
| 34 | tristate "WIZnet W5300 Ethernet support" |
David S. Miller | 32ed53b | 2012-04-10 09:25:46 -0400 | [diff] [blame] | 35 | depends on HAS_IOMEM |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 36 | ---help--- |
| 37 | 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 to |
| 41 | the MAC and PHY functions only, onchip TCP/IP is unused. |
| 42 | |
| 43 | To compile this driver as a module, choose M here: the module |
| 44 | will be called w5300. |
| 45 | |
| 46 | choice |
| 47 | prompt "WIZnet interface mode" |
David S. Miller | 32ed53b | 2012-04-10 09:25:46 -0400 | [diff] [blame] | 48 | depends on WIZNET_W5100 || WIZNET_W5300 |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 49 | default WIZNET_BUS_ANY |
| 50 | |
| 51 | config WIZNET_BUS_DIRECT |
| 52 | bool "Direct address bus mode" |
| 53 | ---help--- |
| 54 | In direct address mode host system can directly access all registers |
| 55 | after mapping to Memory-Mapped I/O space. |
| 56 | |
| 57 | config WIZNET_BUS_INDIRECT |
| 58 | bool "Indirect address bus mode" |
| 59 | ---help--- |
| 60 | In indirect address mode host system indirectly accesses registers |
| 61 | using Indirect Mode Address Register and Indirect Mode Data Register, |
| 62 | which are directly mapped to Memory-Mapped I/O space. |
| 63 | |
| 64 | config WIZNET_BUS_ANY |
| 65 | bool "Select interface mode in runtime" |
| 66 | ---help--- |
| 67 | If interface mode is unknown in compile time, it can be selected |
| 68 | in runtime from board/platform resources configuration. |
| 69 | |
| 70 | Performance may decrease compared to explicitly selected bus mode. |
| 71 | endchoice |
| 72 | |
Akinobu Mita | 630cf09 | 2016-04-15 00:11:32 +0900 | [diff] [blame] | 73 | config WIZNET_W5100_SPI |
Akinobu Mita | 35ef7d6 | 2016-04-27 05:43:48 +0900 | [diff] [blame] | 74 | tristate "WIZnet W5100/W5200/W5500 Ethernet support for SPI mode" |
Arnd Bergmann | b67d1df | 2016-04-18 23:58:30 +0200 | [diff] [blame] | 75 | depends on WIZNET_BUS_ANY && WIZNET_W5100 |
Akinobu Mita | 630cf09 | 2016-04-15 00:11:32 +0900 | [diff] [blame] | 76 | depends on SPI |
| 77 | ---help--- |
| 78 | In SPI mode host system accesses registers using SPI protocol |
| 79 | (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 module |
| 85 | will be called w5100-spi. |
| 86 | |
Mike Sinkovsky | 9899b81 | 2012-04-04 19:33:53 +0000 | [diff] [blame] | 87 | endif # NET_VENDOR_WIZNET |