162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Arcnet configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenuconfig ARCNET
762306a36Sopenharmony_ci	depends on NETDEVICES && (ISA || PCI || PCMCIA)
862306a36Sopenharmony_ci	tristate "ARCnet support"
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  If you have a network card of this type, say Y and check out the
1162306a36Sopenharmony_ci	  (arguably) beautiful poetry in
1262306a36Sopenharmony_ci	  <file:Documentation/networking/arcnet.rst>.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  You need both this driver, and the driver for the particular ARCnet
1562306a36Sopenharmony_ci	  chipset of your card. If you don't know, then it's probably a
1662306a36Sopenharmony_ci	  COM90xx type card, so say Y (or M) to "ARCnet COM90xx chipset
1762306a36Sopenharmony_ci	  support" below.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module will
2062306a36Sopenharmony_ci	  be called arcnet.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciif ARCNET
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig ARCNET_1201
2562306a36Sopenharmony_ci	tristate "Enable standard ARCNet packet format (RFC 1201)"
2662306a36Sopenharmony_ci	help
2762306a36Sopenharmony_ci	  This allows you to use RFC1201 with your ARCnet card via the virtual
2862306a36Sopenharmony_ci	  arc0 device.  You need to say Y here to communicate with
2962306a36Sopenharmony_ci	  industry-standard RFC1201 implementations, like the arcether.com
3062306a36Sopenharmony_ci	  packet driver or most DOS/Windows ODI drivers.  Please read the
3162306a36Sopenharmony_ci	  ARCnet documentation in <file:Documentation/networking/arcnet.rst>
3262306a36Sopenharmony_ci	  for more information about using arc0.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig ARCNET_1051
3562306a36Sopenharmony_ci	tristate "Enable old ARCNet packet format (RFC 1051)"
3662306a36Sopenharmony_ci	help
3762306a36Sopenharmony_ci	  This allows you to use RFC1051 with your ARCnet card via the virtual
3862306a36Sopenharmony_ci	  arc0s device. You only need arc0s if you want to talk to ARCnet
3962306a36Sopenharmony_ci	  software complying with the "old" standard, specifically, the DOS
4062306a36Sopenharmony_ci	  arcnet.com packet driver, Amigas running AmiTCP, and some variants
4162306a36Sopenharmony_ci	  of NetBSD. You do not need to say Y here to communicate with
4262306a36Sopenharmony_ci	  industry-standard RFC1201 implementations, like the arcether.com
4362306a36Sopenharmony_ci	  packet driver or most DOS/Windows ODI drivers. RFC1201 is included
4462306a36Sopenharmony_ci	  automatically as the arc0 device. Please read the ARCnet
4562306a36Sopenharmony_ci	  documentation in <file:Documentation/networking/arcnet.rst> for more
4662306a36Sopenharmony_ci	  information about using arc0e and arc0s.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig ARCNET_RAW
4962306a36Sopenharmony_ci	tristate "Enable raw mode packet interface"
5062306a36Sopenharmony_ci	help
5162306a36Sopenharmony_ci	  ARCnet "raw mode" packet encapsulation, no soft headers.  Unlikely
5262306a36Sopenharmony_ci	  to work unless talking to a copy of the same Linux arcnet driver,
5362306a36Sopenharmony_ci	  but perhaps marginally faster in that case.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciconfig ARCNET_CAP
5662306a36Sopenharmony_ci	tristate "Enable CAP mode packet interface"
5762306a36Sopenharmony_ci	help
5862306a36Sopenharmony_ci	  ARCnet "cap mode" packet encapsulation. Used to get the hardware
5962306a36Sopenharmony_ci	  acknowledge back to userspace. After the initial protocol byte every
6062306a36Sopenharmony_ci	  packet is stuffed with an extra 4 byte "cookie" which doesn't
6162306a36Sopenharmony_ci	  actually appear on the network. After transmit the driver will send
6262306a36Sopenharmony_ci	  back a packet with protocol byte 0 containing the status of the
6362306a36Sopenharmony_ci	  transmission:
6462306a36Sopenharmony_ci	     0=no hardware acknowledge
6562306a36Sopenharmony_ci	     1=excessive nak
6662306a36Sopenharmony_ci	     2=transmission accepted by the receiver hardware
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ci	  Received packets are also stuffed with the extra 4 bytes but it will
6962306a36Sopenharmony_ci	  be random data.
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ci	  Cap only listens to protocol 1-8.
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ciconfig ARCNET_COM90xx
7462306a36Sopenharmony_ci	tristate "ARCnet COM90xx (normal) chipset driver"
7562306a36Sopenharmony_ci	help
7662306a36Sopenharmony_ci	  This is the chipset driver for the standard COM90xx cards. If you
7762306a36Sopenharmony_ci	  have always used the old ARCnet driver without knowing what type of
7862306a36Sopenharmony_ci	  card you had, this is probably the one for you.
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module will
8162306a36Sopenharmony_ci	  be called com90xx.
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ciconfig ARCNET_COM90xxIO
8462306a36Sopenharmony_ci	tristate "ARCnet COM90xx (IO mapped) chipset driver"
8562306a36Sopenharmony_ci	help
8662306a36Sopenharmony_ci	  This is the chipset driver for the COM90xx cards, using them in
8762306a36Sopenharmony_ci	  IO-mapped mode instead of memory-mapped mode. This is slower than
8862306a36Sopenharmony_ci	  the normal driver. Only use it if your card doesn't support shared
8962306a36Sopenharmony_ci	  memory.
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module will
9262306a36Sopenharmony_ci	  be called com90io.
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ciconfig ARCNET_RIM_I
9562306a36Sopenharmony_ci	tristate "ARCnet COM90xx (RIM I) chipset driver"
9662306a36Sopenharmony_ci	help
9762306a36Sopenharmony_ci	  This is yet another chipset driver for the COM90xx cards, but this
9862306a36Sopenharmony_ci	  time only using memory-mapped mode, and no IO ports at all. This
9962306a36Sopenharmony_ci	  driver is completely untested, so if you have one of these cards,
10062306a36Sopenharmony_ci	  please mail <dwmw2@infradead.org>, especially if it works!
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module will
10362306a36Sopenharmony_ci	  be called arc-rimi.
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ciconfig ARCNET_COM20020
10662306a36Sopenharmony_ci	tristate "ARCnet COM20020 chipset driver"
10762306a36Sopenharmony_ci	depends on LEDS_CLASS
10862306a36Sopenharmony_ci	help
10962306a36Sopenharmony_ci	  This is the driver for the new COM20020 chipset. It supports such
11062306a36Sopenharmony_ci	  things as promiscuous mode, so packet sniffing is possible, and
11162306a36Sopenharmony_ci	  extra diagnostic information.
11262306a36Sopenharmony_ci
11362306a36Sopenharmony_ci	  To compile this driver as a module, choose M here. The module will
11462306a36Sopenharmony_ci	  be called com20020.
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ciconfig ARCNET_COM20020_ISA
11762306a36Sopenharmony_ci	tristate "Support for COM20020 on ISA"
11862306a36Sopenharmony_ci	depends on ARCNET_COM20020 && ISA
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ciconfig ARCNET_COM20020_PCI
12162306a36Sopenharmony_ci	tristate "Support for COM20020 on PCI"
12262306a36Sopenharmony_ci	depends on ARCNET_COM20020 && PCI
12362306a36Sopenharmony_ci
12462306a36Sopenharmony_ciconfig ARCNET_COM20020_CS
12562306a36Sopenharmony_ci	tristate "COM20020 ARCnet PCMCIA support"
12662306a36Sopenharmony_ci	depends on ARCNET_COM20020 && PCMCIA
12762306a36Sopenharmony_ci	help
12862306a36Sopenharmony_ci	  Say Y here if you intend to attach this type of ARCnet PCMCIA card
12962306a36Sopenharmony_ci	  to your computer.
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module will be
13262306a36Sopenharmony_ci	  called com20020_cs.  If unsure, say N.
13362306a36Sopenharmony_ci
13462306a36Sopenharmony_ciendif # ARCNET
135