Kconfig 2.2 KB

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