Kconfig 2.1 KB

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