xref: /linux/drivers/net/ethernet/wiznet/Kconfig (revision 9899b81e7ca5c285b825ff10ca9357dd18813d83)
1*9899b81eSMike Sinkovsky#
2*9899b81eSMike Sinkovsky# WIZnet devices configuration
3*9899b81eSMike Sinkovsky#
4*9899b81eSMike Sinkovsky
5*9899b81eSMike Sinkovskyconfig NET_VENDOR_WIZNET
6*9899b81eSMike Sinkovsky	bool "WIZnet devices"
7*9899b81eSMike Sinkovsky	default y
8*9899b81eSMike Sinkovsky	---help---
9*9899b81eSMike Sinkovsky	  If you have a network (Ethernet) card belonging to this class, say Y
10*9899b81eSMike Sinkovsky	  and read the Ethernet-HOWTO, available from
11*9899b81eSMike Sinkovsky	  <http://www.tldp.org/docs.html#howto>.
12*9899b81eSMike Sinkovsky
13*9899b81eSMike Sinkovsky	  Note that the answer to this question doesn't directly affect the
14*9899b81eSMike Sinkovsky	  kernel: saying N will just cause the configurator to skip all
15*9899b81eSMike Sinkovsky	  the questions about WIZnet devices. If you say Y, you will be asked
16*9899b81eSMike Sinkovsky	  for your specific card in the following questions.
17*9899b81eSMike Sinkovsky
18*9899b81eSMike Sinkovskyif NET_VENDOR_WIZNET
19*9899b81eSMike Sinkovsky
20*9899b81eSMike Sinkovskyconfig WIZNET_W5300
21*9899b81eSMike Sinkovsky	tristate "WIZnet W5300 Ethernet support"
22*9899b81eSMike Sinkovsky	---help---
23*9899b81eSMike Sinkovsky	  Support for WIZnet W5300 chips.
24*9899b81eSMike Sinkovsky
25*9899b81eSMike Sinkovsky	  W5300 is a single chip with integrated 10/100 Ethernet MAC,
26*9899b81eSMike Sinkovsky	  PHY and hardware TCP/IP stack, but this driver is limited to
27*9899b81eSMike Sinkovsky	  the MAC and PHY functions only, onchip TCP/IP is unused.
28*9899b81eSMike Sinkovsky
29*9899b81eSMike Sinkovsky	  To compile this driver as a module, choose M here: the module
30*9899b81eSMike Sinkovsky	  will be called w5300.
31*9899b81eSMike Sinkovsky
32*9899b81eSMike Sinkovskychoice
33*9899b81eSMike Sinkovsky	prompt "WIZnet interface mode"
34*9899b81eSMike Sinkovsky	default WIZNET_BUS_ANY
35*9899b81eSMike Sinkovsky
36*9899b81eSMike Sinkovskyconfig WIZNET_BUS_DIRECT
37*9899b81eSMike Sinkovsky	bool "Direct address bus mode"
38*9899b81eSMike Sinkovsky	---help---
39*9899b81eSMike Sinkovsky	  In direct address mode host system can directly access all registers
40*9899b81eSMike Sinkovsky	  after mapping to Memory-Mapped I/O space.
41*9899b81eSMike Sinkovsky
42*9899b81eSMike Sinkovskyconfig WIZNET_BUS_INDIRECT
43*9899b81eSMike Sinkovsky	bool "Indirect address bus mode"
44*9899b81eSMike Sinkovsky	---help---
45*9899b81eSMike Sinkovsky	  In indirect address mode host system indirectly accesses registers
46*9899b81eSMike Sinkovsky	  using Indirect Mode Address Register and Indirect Mode Data Register,
47*9899b81eSMike Sinkovsky	  which are directly mapped to Memory-Mapped I/O space.
48*9899b81eSMike Sinkovsky
49*9899b81eSMike Sinkovskyconfig WIZNET_BUS_ANY
50*9899b81eSMike Sinkovsky	bool "Select interface mode in runtime"
51*9899b81eSMike Sinkovsky	---help---
52*9899b81eSMike Sinkovsky	  If interface mode is unknown in compile time, it can be selected
53*9899b81eSMike Sinkovsky	  in runtime from board/platform resources configuration.
54*9899b81eSMike Sinkovsky
55*9899b81eSMike Sinkovsky	  Performance may decrease compared to explicitly selected bus mode.
56*9899b81eSMike Sinkovskyendchoice
57*9899b81eSMike Sinkovsky
58*9899b81eSMike Sinkovskyconfig WIZNET_TX_FLOW
59*9899b81eSMike Sinkovsky	bool "Use transmit flow control"
60*9899b81eSMike Sinkovsky	default y
61*9899b81eSMike Sinkovsky	help
62*9899b81eSMike Sinkovsky	  This enables transmit flow control for WIZnet chips.
63*9899b81eSMike Sinkovsky	  If unsure, say Y.
64*9899b81eSMike Sinkovsky
65*9899b81eSMike Sinkovskyendif # NET_VENDOR_WIZNET
66