xref: /linux/drivers/net/ethernet/dec/tulip/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Tulip family network device configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6a88394cfSJeff Kirsherconfig NET_TULIP
7a88394cfSJeff Kirsher	bool "DEC - Tulip devices"
8a88394cfSJeff Kirsher	depends on (PCI || EISA || CARDBUS)
9a7f7f624SMasahiro Yamada	help
101da177e4SLinus Torvalds	  This selects the "Tulip" family of EISA/PCI network cards.
111da177e4SLinus Torvalds
12d1c0a65fSJan Engelhardtif NET_TULIP
13d1c0a65fSJan Engelhardt
141da177e4SLinus Torvaldsconfig DE2104X
159812cb12SOndrej Zary	tristate "Early DECchip Tulip (dc2104x) PCI support"
169812cb12SOndrej Zary	depends on PCI
171da177e4SLinus Torvalds	select CRC32
18a7f7f624SMasahiro Yamada	help
191da177e4SLinus Torvalds	  This driver is developed for the SMC EtherPower series Ethernet
201da177e4SLinus Torvalds	  cards and also works with cards based on the DECchip
211da177e4SLinus Torvalds	  21040 (Tulip series) chips.  Some LinkSys PCI cards are
221da177e4SLinus Torvalds	  of this type.  (If your card is NOT SMC EtherPower 10/100 PCI
231da177e4SLinus Torvalds	  (smc9332dst), you can also try the driver for "Generic DECchip"
241da177e4SLinus Torvalds	  cards, below.  However, most people with a network card of this type
25138b15edSPaul Gortmaker	  will say Y here.)
261da177e4SLinus Torvalds
2757ce45ddSAdrian Bunk	  To compile this driver as a module, choose M here. The module will
281da177e4SLinus Torvalds	  be called de2104x.
291da177e4SLinus Torvalds
30b77e5228SRisto Suominenconfig DE2104X_DSL
31b77e5228SRisto Suominen	int "Descriptor Skip Length in 32 bit longwords"
32b77e5228SRisto Suominen	depends on DE2104X
33b77e5228SRisto Suominen	range 0 31
34b77e5228SRisto Suominen	default 0
35a7f7f624SMasahiro Yamada	help
36b77e5228SRisto Suominen	  Setting this value allows to align ring buffer descriptors into their
37b77e5228SRisto Suominen	  own cache lines. Value of 4 corresponds to the typical 32 byte line
38b77e5228SRisto Suominen	  (the descriptor is 16 bytes). This is necessary on systems that lack
39b77e5228SRisto Suominen	  cache coherence, an example is PowerMac 5500. Otherwise 0 is safe.
40b77e5228SRisto Suominen	  Default is 0, and range is 0 to 31.
41b77e5228SRisto Suominen
421da177e4SLinus Torvaldsconfig TULIP
431da177e4SLinus Torvalds	tristate "DECchip Tulip (dc2114x) PCI support"
44d1c0a65fSJan Engelhardt	depends on PCI
451da177e4SLinus Torvalds	select CRC32
46a7f7f624SMasahiro Yamada	help
471da177e4SLinus Torvalds	  This driver is developed for the SMC EtherPower series Ethernet
481da177e4SLinus Torvalds	  cards and also works with cards based on the DECchip
491da177e4SLinus Torvalds	  21140 (Tulip series) chips.  Some LinkSys PCI cards are
501da177e4SLinus Torvalds	  of this type.  (If your card is NOT SMC EtherPower 10/100 PCI
511da177e4SLinus Torvalds	  (smc9332dst), you can also try the driver for "Generic DECchip"
521da177e4SLinus Torvalds	  cards, above.  However, most people with a network card of this type
53138b15edSPaul Gortmaker	  will say Y here.)
541da177e4SLinus Torvalds
5557ce45ddSAdrian Bunk	  To compile this driver as a module, choose M here. The module will
561da177e4SLinus Torvalds	  be called tulip.
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldsconfig TULIP_MWI
59cb40390bSKees Cook	bool "New bus configuration"
60cb40390bSKees Cook	depends on TULIP
61a7f7f624SMasahiro Yamada	help
621da177e4SLinus Torvalds	  This configures your Tulip card specifically for the card and
631da177e4SLinus Torvalds	  system cache line size type you are using.
641da177e4SLinus Torvalds
651da177e4SLinus Torvalds	  This is experimental code, not yet tested on many boards.
661da177e4SLinus Torvalds
671da177e4SLinus Torvalds	  If unsure, say N.
681da177e4SLinus Torvalds
691da177e4SLinus Torvaldsconfig TULIP_MMIO
701da177e4SLinus Torvalds	bool "Use PCI shared mem for NIC registers"
711da177e4SLinus Torvalds	depends on TULIP
72a7f7f624SMasahiro Yamada	help
731da177e4SLinus Torvalds	  Use PCI shared memory for the NIC registers, rather than going through
741da177e4SLinus Torvalds	  the Tulip's PIO (programmed I/O ports).  Faster, but could produce
751da177e4SLinus Torvalds	  obscure bugs if your mainboard has memory controller timing issues.
761da177e4SLinus Torvalds	  If in doubt, say N.
771da177e4SLinus Torvalds
781da177e4SLinus Torvaldsconfig TULIP_NAPI
79bf45abebSRandy Dunlap	bool "Use RX polling (NAPI)"
801da177e4SLinus Torvalds	depends on TULIP
81a7f7f624SMasahiro Yamada	help
821da177e4SLinus Torvalds	  NAPI is a new driver API designed to reduce CPU and interrupt load
831da177e4SLinus Torvalds	  when the driver is receiving lots of packets from the card. It is
841da177e4SLinus Torvalds	  still somewhat experimental and thus not yet enabled by default.
851da177e4SLinus Torvalds
861da177e4SLinus Torvalds	  If your estimated Rx load is 10kpps or more, or if the card will be
871da177e4SLinus Torvalds	  deployed on potentially unfriendly networks (e.g. in a firewall),
881da177e4SLinus Torvalds	  then say Y here.
891da177e4SLinus Torvalds
901da177e4SLinus Torvalds	  If in doubt, say N.
911da177e4SLinus Torvalds
921da177e4SLinus Torvaldsconfig TULIP_NAPI_HW_MITIGATION
931da177e4SLinus Torvalds	bool "Use Interrupt Mitigation"
941da177e4SLinus Torvalds	depends on TULIP_NAPI
95a7f7f624SMasahiro Yamada	help
96bf45abebSRandy Dunlap	  Use HW to reduce RX interrupts. Not strictly necessary since NAPI
97bf45abebSRandy Dunlap	  reduces RX interrupts by itself. Interrupt mitigation reduces RX
98bf45abebSRandy Dunlap	  interrupts even at low levels of traffic at the cost of a small
99bf45abebSRandy Dunlap	  latency.
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvalds	  If in doubt, say Y.
1021da177e4SLinus Torvalds
1034d907069SBen Hutchingsconfig TULIP_DM910X
1044d907069SBen Hutchings	def_bool y
1054d907069SBen Hutchings	depends on TULIP && SPARC
1064d907069SBen Hutchings
1071da177e4SLinus Torvaldsconfig WINBOND_840
1081da177e4SLinus Torvalds	tristate "Winbond W89c840 Ethernet support"
109d1c0a65fSJan Engelhardt	depends on PCI
1101da177e4SLinus Torvalds	select CRC32
1111da177e4SLinus Torvalds	select MII
112a7f7f624SMasahiro Yamada	help
1131da177e4SLinus Torvalds	  This driver is for the Winbond W89c840 chip.  It also works with
1141da177e4SLinus Torvalds	  the TX9882 chip on the Compex RL100-ATX board.
1151da177e4SLinus Torvalds	  More specific information and updates are available from
1161da177e4SLinus Torvalds	  <http://www.scyld.com/network/drivers.html>.
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvaldsconfig DM9102
1191da177e4SLinus Torvalds	tristate "Davicom DM910x/DM980x support"
120d1c0a65fSJan Engelhardt	depends on PCI
1211da177e4SLinus Torvalds	select CRC32
122a7f7f624SMasahiro Yamada	help
1231da177e4SLinus Torvalds	  This driver is for DM9102(A)/DM9132/DM9801 compatible PCI cards from
1241da177e4SLinus Torvalds	  Davicom (<http://www.davicom.com.tw/>).  If you have such a network
1251da177e4SLinus Torvalds	  (Ethernet) card, say Y.  Some information is contained in the file
126*132db935SJakub Kicinski	  <file:Documentation/networking/device_drivers/ethernet/dec/dmfe.rst>.
1271da177e4SLinus Torvalds
12857ce45ddSAdrian Bunk	  To compile this driver as a module, choose M here. The module will
1291da177e4SLinus Torvalds	  be called dmfe.
1301da177e4SLinus Torvalds
1314689ced9SPeer Chenconfig ULI526X
1324689ced9SPeer Chen	tristate "ULi M526x controller support"
133d1c0a65fSJan Engelhardt	depends on PCI
1344689ced9SPeer Chen	select CRC32
135a7f7f624SMasahiro Yamada	help
1364689ced9SPeer Chen	  This driver is for ULi M5261/M5263 10/100M Ethernet Controller
137631dd1a8SJustin P. Mattock	  (<http://www.nvidia.com/page/uli_drivers.html>).
1384689ced9SPeer Chen
13957ce45ddSAdrian Bunk	  To compile this driver as a module, choose M here. The module will
1404689ced9SPeer Chen	  be called uli526x.
1414689ced9SPeer Chen
1421da177e4SLinus Torvaldsconfig PCMCIA_XIRCOM
143fa6557afSAdrian Bunk	tristate "Xircom CardBus support"
144d1c0a65fSJan Engelhardt	depends on CARDBUS
145a7f7f624SMasahiro Yamada	help
1461da177e4SLinus Torvalds	  This driver is for the Digital "Tulip" Ethernet CardBus adapters.
1471da177e4SLinus Torvalds	  It should work with most DEC 21*4*-based chips/ethercards, as well
1481da177e4SLinus Torvalds	  as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
1491da177e4SLinus Torvalds	  ASIX.
1501da177e4SLinus Torvalds
15157ce45ddSAdrian Bunk	  To compile this driver as a module, choose M here. The module will
1521da177e4SLinus Torvalds	  be called xircom_cb.  If unsure, say N.
1531da177e4SLinus Torvalds
154d1c0a65fSJan Engelhardtendif # NET_TULIP
155