Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / net / ethernet / wiznet / Kconfig
1 #
2 # WIZnet devices configuration
3 #
4
5 config NET_VENDOR_WIZNET
6         bool "WIZnet devices"
7         depends on HAS_IOMEM
8         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
19 if NET_VENDOR_WIZNET
20
21 config WIZNET_W5100
22         tristate "WIZnet W5100 Ethernet support"
23         depends on HAS_IOMEM
24         ---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
34 config WIZNET_W5300
35         tristate "WIZnet W5300 Ethernet support"
36         depends on HAS_IOMEM
37         ---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
47 choice
48         prompt "WIZnet interface mode"
49         depends on WIZNET_W5100 || WIZNET_W5300
50         default WIZNET_BUS_ANY
51
52 config 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
58 config 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
65 config 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.
72 endchoice
73
74 endif # NET_VENDOR_WIZNET