1#
2# WIZnet devices configuration
3#
4
5config NET_VENDOR_WIZNET
6	bool "WIZnet devices"
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
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
18if NET_VENDOR_WIZNET
19
20config WIZNET_W5100
21	tristate "WIZnet W5100 Ethernet support"
22	depends on HAS_IOMEM
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
33config WIZNET_W5300
34	tristate "WIZnet W5300 Ethernet support"
35	depends on HAS_IOMEM
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
46choice
47	prompt "WIZnet interface mode"
48	depends on WIZNET_W5100 || WIZNET_W5300
49	default WIZNET_BUS_ANY
50
51config 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
57config 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
64config 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.
71endchoice
72
73endif # NET_VENDOR_WIZNET
74