xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Tulip family network device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig NET_TULIP
7*4882a593Smuzhiyun	bool "DEC - Tulip devices"
8*4882a593Smuzhiyun	depends on (PCI || EISA || CARDBUS)
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  This selects the "Tulip" family of EISA/PCI network cards.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunif NET_TULIP
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig DE2104X
15*4882a593Smuzhiyun	tristate "Early DECchip Tulip (dc2104x) PCI support"
16*4882a593Smuzhiyun	depends on PCI
17*4882a593Smuzhiyun	select CRC32
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  This driver is developed for the SMC EtherPower series Ethernet
20*4882a593Smuzhiyun	  cards and also works with cards based on the DECchip
21*4882a593Smuzhiyun	  21040 (Tulip series) chips.  Some LinkSys PCI cards are
22*4882a593Smuzhiyun	  of this type.  (If your card is NOT SMC EtherPower 10/100 PCI
23*4882a593Smuzhiyun	  (smc9332dst), you can also try the driver for "Generic DECchip"
24*4882a593Smuzhiyun	  cards, below.  However, most people with a network card of this type
25*4882a593Smuzhiyun	  will say Y here.)
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module will
28*4882a593Smuzhiyun	  be called de2104x.
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig DE2104X_DSL
31*4882a593Smuzhiyun	int "Descriptor Skip Length in 32 bit longwords"
32*4882a593Smuzhiyun	depends on DE2104X
33*4882a593Smuzhiyun	range 0 31
34*4882a593Smuzhiyun	default 0
35*4882a593Smuzhiyun	help
36*4882a593Smuzhiyun	  Setting this value allows to align ring buffer descriptors into their
37*4882a593Smuzhiyun	  own cache lines. Value of 4 corresponds to the typical 32 byte line
38*4882a593Smuzhiyun	  (the descriptor is 16 bytes). This is necessary on systems that lack
39*4882a593Smuzhiyun	  cache coherence, an example is PowerMac 5500. Otherwise 0 is safe.
40*4882a593Smuzhiyun	  Default is 0, and range is 0 to 31.
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunconfig TULIP
43*4882a593Smuzhiyun	tristate "DECchip Tulip (dc2114x) PCI support"
44*4882a593Smuzhiyun	depends on PCI
45*4882a593Smuzhiyun	select CRC32
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  This driver is developed for the SMC EtherPower series Ethernet
48*4882a593Smuzhiyun	  cards and also works with cards based on the DECchip
49*4882a593Smuzhiyun	  21140 (Tulip series) chips.  Some LinkSys PCI cards are
50*4882a593Smuzhiyun	  of this type.  (If your card is NOT SMC EtherPower 10/100 PCI
51*4882a593Smuzhiyun	  (smc9332dst), you can also try the driver for "Generic DECchip"
52*4882a593Smuzhiyun	  cards, above.  However, most people with a network card of this type
53*4882a593Smuzhiyun	  will say Y here.)
54*4882a593Smuzhiyun
55*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module will
56*4882a593Smuzhiyun	  be called tulip.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyunconfig TULIP_MWI
59*4882a593Smuzhiyun	bool "New bus configuration"
60*4882a593Smuzhiyun	depends on TULIP
61*4882a593Smuzhiyun	help
62*4882a593Smuzhiyun	  This configures your Tulip card specifically for the card and
63*4882a593Smuzhiyun	  system cache line size type you are using.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun	  This is experimental code, not yet tested on many boards.
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun	  If unsure, say N.
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunconfig TULIP_MMIO
70*4882a593Smuzhiyun	bool "Use PCI shared mem for NIC registers"
71*4882a593Smuzhiyun	depends on TULIP
72*4882a593Smuzhiyun	help
73*4882a593Smuzhiyun	  Use PCI shared memory for the NIC registers, rather than going through
74*4882a593Smuzhiyun	  the Tulip's PIO (programmed I/O ports).  Faster, but could produce
75*4882a593Smuzhiyun	  obscure bugs if your mainboard has memory controller timing issues.
76*4882a593Smuzhiyun	  If in doubt, say N.
77*4882a593Smuzhiyun
78*4882a593Smuzhiyunconfig TULIP_NAPI
79*4882a593Smuzhiyun	bool "Use RX polling (NAPI)"
80*4882a593Smuzhiyun	depends on TULIP
81*4882a593Smuzhiyun	help
82*4882a593Smuzhiyun	  NAPI is a new driver API designed to reduce CPU and interrupt load
83*4882a593Smuzhiyun	  when the driver is receiving lots of packets from the card. It is
84*4882a593Smuzhiyun	  still somewhat experimental and thus not yet enabled by default.
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun	  If your estimated Rx load is 10kpps or more, or if the card will be
87*4882a593Smuzhiyun	  deployed on potentially unfriendly networks (e.g. in a firewall),
88*4882a593Smuzhiyun	  then say Y here.
89*4882a593Smuzhiyun
90*4882a593Smuzhiyun	  If in doubt, say N.
91*4882a593Smuzhiyun
92*4882a593Smuzhiyunconfig TULIP_NAPI_HW_MITIGATION
93*4882a593Smuzhiyun	bool "Use Interrupt Mitigation"
94*4882a593Smuzhiyun	depends on TULIP_NAPI
95*4882a593Smuzhiyun	help
96*4882a593Smuzhiyun	  Use HW to reduce RX interrupts. Not strictly necessary since NAPI
97*4882a593Smuzhiyun	  reduces RX interrupts by itself. Interrupt mitigation reduces RX
98*4882a593Smuzhiyun	  interrupts even at low levels of traffic at the cost of a small
99*4882a593Smuzhiyun	  latency.
100*4882a593Smuzhiyun
101*4882a593Smuzhiyun	  If in doubt, say Y.
102*4882a593Smuzhiyun
103*4882a593Smuzhiyunconfig TULIP_DM910X
104*4882a593Smuzhiyun	def_bool y
105*4882a593Smuzhiyun	depends on TULIP && SPARC
106*4882a593Smuzhiyun
107*4882a593Smuzhiyunconfig DE4X5
108*4882a593Smuzhiyun	tristate "Generic DECchip & DIGITAL EtherWORKS PCI/EISA"
109*4882a593Smuzhiyun	depends on (PCI || EISA)
110*4882a593Smuzhiyun	depends on VIRT_TO_BUS || ALPHA || PPC || SPARC
111*4882a593Smuzhiyun	select CRC32
112*4882a593Smuzhiyun	help
113*4882a593Smuzhiyun	  This is support for the DIGITAL series of PCI/EISA Ethernet cards.
114*4882a593Smuzhiyun	  These include the DE425, DE434, DE435, DE450 and DE500 models.  If
115*4882a593Smuzhiyun	  you have a network card of this type, say Y.  More specific
116*4882a593Smuzhiyun	  information is contained in
117*4882a593Smuzhiyun	  <file:Documentation/networking/device_drivers/ethernet/dec/de4x5.rst>.
118*4882a593Smuzhiyun
119*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module will
120*4882a593Smuzhiyun	  be called de4x5.
121*4882a593Smuzhiyun
122*4882a593Smuzhiyunconfig WINBOND_840
123*4882a593Smuzhiyun	tristate "Winbond W89c840 Ethernet support"
124*4882a593Smuzhiyun	depends on PCI
125*4882a593Smuzhiyun	select CRC32
126*4882a593Smuzhiyun	select MII
127*4882a593Smuzhiyun	help
128*4882a593Smuzhiyun	  This driver is for the Winbond W89c840 chip.  It also works with
129*4882a593Smuzhiyun	  the TX9882 chip on the Compex RL100-ATX board.
130*4882a593Smuzhiyun	  More specific information and updates are available from
131*4882a593Smuzhiyun	  <http://www.scyld.com/network/drivers.html>.
132*4882a593Smuzhiyun
133*4882a593Smuzhiyunconfig DM9102
134*4882a593Smuzhiyun	tristate "Davicom DM910x/DM980x support"
135*4882a593Smuzhiyun	depends on PCI
136*4882a593Smuzhiyun	select CRC32
137*4882a593Smuzhiyun	help
138*4882a593Smuzhiyun	  This driver is for DM9102(A)/DM9132/DM9801 compatible PCI cards from
139*4882a593Smuzhiyun	  Davicom (<http://www.davicom.com.tw/>).  If you have such a network
140*4882a593Smuzhiyun	  (Ethernet) card, say Y.  Some information is contained in the file
141*4882a593Smuzhiyun	  <file:Documentation/networking/device_drivers/ethernet/dec/dmfe.rst>.
142*4882a593Smuzhiyun
143*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module will
144*4882a593Smuzhiyun	  be called dmfe.
145*4882a593Smuzhiyun
146*4882a593Smuzhiyunconfig ULI526X
147*4882a593Smuzhiyun	tristate "ULi M526x controller support"
148*4882a593Smuzhiyun	depends on PCI
149*4882a593Smuzhiyun	select CRC32
150*4882a593Smuzhiyun	help
151*4882a593Smuzhiyun	  This driver is for ULi M5261/M5263 10/100M Ethernet Controller
152*4882a593Smuzhiyun	  (<http://www.nvidia.com/page/uli_drivers.html>).
153*4882a593Smuzhiyun
154*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module will
155*4882a593Smuzhiyun	  be called uli526x.
156*4882a593Smuzhiyun
157*4882a593Smuzhiyunconfig PCMCIA_XIRCOM
158*4882a593Smuzhiyun	tristate "Xircom CardBus support"
159*4882a593Smuzhiyun	depends on CARDBUS
160*4882a593Smuzhiyun	help
161*4882a593Smuzhiyun	  This driver is for the Digital "Tulip" Ethernet CardBus adapters.
162*4882a593Smuzhiyun	  It should work with most DEC 21*4*-based chips/ethercards, as well
163*4882a593Smuzhiyun	  as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
164*4882a593Smuzhiyun	  ASIX.
165*4882a593Smuzhiyun
166*4882a593Smuzhiyun	  To compile this driver as a module, choose M here. The module will
167*4882a593Smuzhiyun	  be called xircom_cb.  If unsure, say N.
168*4882a593Smuzhiyun
169*4882a593Smuzhiyunendif # NET_TULIP
170