blob: b4d281626fb499d084b49bd8c5a1bd5571751573 [file] [log] [blame]
Mike Sinkovsky9899b812012-04-04 19:33:53 +00001#
2# WIZnet devices configuration
3#
4
5config NET_VENDOR_WIZNET
6 bool "WIZnet devices"
frank.blaschka@de.ibm.com9fafbd42012-07-24 22:34:27 +00007 depends on HAS_IOMEM
Mike Sinkovsky9899b812012-04-04 19:33:53 +00008 default y
9 ---help---
10 If you have a network (Ethernet) card belonging to this class, say Y
11 and read the Ethernet-HOWTO, available from
12 <http://www.tldp.org/docs.html#howto>.
13
14 Note that the answer to this question doesn't directly affect the
15 kernel: saying N will just cause the configurator to skip all
16 the questions about WIZnet devices. If you say Y, you will be asked
17 for your specific card in the following questions.
18
19if NET_VENDOR_WIZNET
20
Mike Sinkovsky8b1467a2012-04-04 19:33:54 +000021config WIZNET_W5100
22 tristate "WIZnet W5100 Ethernet support"
David S. Miller32ed53b2012-04-10 09:25:46 -040023 depends on HAS_IOMEM
Mike Sinkovsky8b1467a2012-04-04 19:33:54 +000024 ---help---
25 Support for WIZnet W5100 chips.
26
27 W5100 is a single chip with integrated 10/100 Ethernet MAC,
28 PHY and hardware TCP/IP stack, but this driver is limited to
29 the MAC and PHY functions only, onchip TCP/IP is unused.
30
31 To compile this driver as a module, choose M here: the module
32 will be called w5100.
33
Mike Sinkovsky9899b812012-04-04 19:33:53 +000034config WIZNET_W5300
35 tristate "WIZnet W5300 Ethernet support"
David S. Miller32ed53b2012-04-10 09:25:46 -040036 depends on HAS_IOMEM
Mike Sinkovsky9899b812012-04-04 19:33:53 +000037 ---help---
38 Support for WIZnet W5300 chips.
39
40 W5300 is a single chip with integrated 10/100 Ethernet MAC,
41 PHY and hardware TCP/IP stack, but this driver is limited to
42 the MAC and PHY functions only, onchip TCP/IP is unused.
43
44 To compile this driver as a module, choose M here: the module
45 will be called w5300.
46
47choice
48 prompt "WIZnet interface mode"
David S. Miller32ed53b2012-04-10 09:25:46 -040049 depends on WIZNET_W5100 || WIZNET_W5300
Mike Sinkovsky9899b812012-04-04 19:33:53 +000050 default WIZNET_BUS_ANY
51
52config WIZNET_BUS_DIRECT
53 bool "Direct address bus mode"
54 ---help---
55 In direct address mode host system can directly access all registers
56 after mapping to Memory-Mapped I/O space.
57
58config WIZNET_BUS_INDIRECT
59 bool "Indirect address bus mode"
60 ---help---
61 In indirect address mode host system indirectly accesses registers
62 using Indirect Mode Address Register and Indirect Mode Data Register,
63 which are directly mapped to Memory-Mapped I/O space.
64
65config WIZNET_BUS_ANY
66 bool "Select interface mode in runtime"
67 ---help---
68 If interface mode is unknown in compile time, it can be selected
69 in runtime from board/platform resources configuration.
70
71 Performance may decrease compared to explicitly selected bus mode.
72endchoice
73
Mike Sinkovsky9899b812012-04-04 19:33:53 +000074endif # NET_VENDOR_WIZNET