xref: /linux/drivers/net/ethernet/wiznet/Kconfig (revision 32ed53b83ea5ec26a4dba90e18f5e0ff6c71eb48)
19899b81eSMike Sinkovsky#
29899b81eSMike Sinkovsky# WIZnet devices configuration
39899b81eSMike Sinkovsky#
49899b81eSMike Sinkovsky
59899b81eSMike Sinkovskyconfig NET_VENDOR_WIZNET
69899b81eSMike Sinkovsky	bool "WIZnet devices"
79899b81eSMike Sinkovsky	default y
89899b81eSMike Sinkovsky	---help---
99899b81eSMike Sinkovsky	  If you have a network (Ethernet) card belonging to this class, say Y
109899b81eSMike Sinkovsky	  and read the Ethernet-HOWTO, available from
119899b81eSMike Sinkovsky	  <http://www.tldp.org/docs.html#howto>.
129899b81eSMike Sinkovsky
139899b81eSMike Sinkovsky	  Note that the answer to this question doesn't directly affect the
149899b81eSMike Sinkovsky	  kernel: saying N will just cause the configurator to skip all
159899b81eSMike Sinkovsky	  the questions about WIZnet devices. If you say Y, you will be asked
169899b81eSMike Sinkovsky	  for your specific card in the following questions.
179899b81eSMike Sinkovsky
189899b81eSMike Sinkovskyif NET_VENDOR_WIZNET
199899b81eSMike Sinkovsky
208b1467a3SMike Sinkovskyconfig WIZNET_W5100
218b1467a3SMike Sinkovsky	tristate "WIZnet W5100 Ethernet support"
22*32ed53b8SDavid S. Miller	depends on HAS_IOMEM
238b1467a3SMike Sinkovsky	---help---
248b1467a3SMike Sinkovsky	  Support for WIZnet W5100 chips.
258b1467a3SMike Sinkovsky
268b1467a3SMike Sinkovsky	  W5100 is a single chip with integrated 10/100 Ethernet MAC,
278b1467a3SMike Sinkovsky	  PHY and hardware TCP/IP stack, but this driver is limited to
288b1467a3SMike Sinkovsky	  the MAC and PHY functions only, onchip TCP/IP is unused.
298b1467a3SMike Sinkovsky
308b1467a3SMike Sinkovsky	  To compile this driver as a module, choose M here: the module
318b1467a3SMike Sinkovsky	  will be called w5100.
328b1467a3SMike Sinkovsky
339899b81eSMike Sinkovskyconfig WIZNET_W5300
349899b81eSMike Sinkovsky	tristate "WIZnet W5300 Ethernet support"
35*32ed53b8SDavid S. Miller	depends on HAS_IOMEM
369899b81eSMike Sinkovsky	---help---
379899b81eSMike Sinkovsky	  Support for WIZnet W5300 chips.
389899b81eSMike Sinkovsky
399899b81eSMike Sinkovsky	  W5300 is a single chip with integrated 10/100 Ethernet MAC,
409899b81eSMike Sinkovsky	  PHY and hardware TCP/IP stack, but this driver is limited to
419899b81eSMike Sinkovsky	  the MAC and PHY functions only, onchip TCP/IP is unused.
429899b81eSMike Sinkovsky
439899b81eSMike Sinkovsky	  To compile this driver as a module, choose M here: the module
449899b81eSMike Sinkovsky	  will be called w5300.
459899b81eSMike Sinkovsky
469899b81eSMike Sinkovskychoice
479899b81eSMike Sinkovsky	prompt "WIZnet interface mode"
48*32ed53b8SDavid S. Miller	depends on WIZNET_W5100 || WIZNET_W5300
499899b81eSMike Sinkovsky	default WIZNET_BUS_ANY
509899b81eSMike Sinkovsky
519899b81eSMike Sinkovskyconfig WIZNET_BUS_DIRECT
529899b81eSMike Sinkovsky	bool "Direct address bus mode"
539899b81eSMike Sinkovsky	---help---
549899b81eSMike Sinkovsky	  In direct address mode host system can directly access all registers
559899b81eSMike Sinkovsky	  after mapping to Memory-Mapped I/O space.
569899b81eSMike Sinkovsky
579899b81eSMike Sinkovskyconfig WIZNET_BUS_INDIRECT
589899b81eSMike Sinkovsky	bool "Indirect address bus mode"
599899b81eSMike Sinkovsky	---help---
609899b81eSMike Sinkovsky	  In indirect address mode host system indirectly accesses registers
619899b81eSMike Sinkovsky	  using Indirect Mode Address Register and Indirect Mode Data Register,
629899b81eSMike Sinkovsky	  which are directly mapped to Memory-Mapped I/O space.
639899b81eSMike Sinkovsky
649899b81eSMike Sinkovskyconfig WIZNET_BUS_ANY
659899b81eSMike Sinkovsky	bool "Select interface mode in runtime"
669899b81eSMike Sinkovsky	---help---
679899b81eSMike Sinkovsky	  If interface mode is unknown in compile time, it can be selected
689899b81eSMike Sinkovsky	  in runtime from board/platform resources configuration.
699899b81eSMike Sinkovsky
709899b81eSMike Sinkovsky	  Performance may decrease compared to explicitly selected bus mode.
719899b81eSMike Sinkovskyendchoice
729899b81eSMike Sinkovsky
739899b81eSMike Sinkovskyconfig WIZNET_TX_FLOW
749899b81eSMike Sinkovsky	bool "Use transmit flow control"
75*32ed53b8SDavid S. Miller	depends on WIZNET_W5100 || WIZNET_W5300
769899b81eSMike Sinkovsky	default y
779899b81eSMike Sinkovsky	help
789899b81eSMike Sinkovsky	  This enables transmit flow control for WIZnet chips.
799899b81eSMike Sinkovsky	  If unsure, say Y.
809899b81eSMike Sinkovsky
819899b81eSMike Sinkovskyendif # NET_VENDOR_WIZNET
82