Kconfig 2.6 KB

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