xref: /openbmc/linux/drivers/net/arcnet/Kconfig (revision a7f7f624)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Arcnet configuration
4#
5
6menuconfig ARCNET
7	depends on NETDEVICES && (ISA || PCI || PCMCIA)
8	tristate "ARCnet support"
9	help
10	  If you have a network card of this type, say Y and check out the
11	  (arguably) beautiful poetry in
12	  <file:Documentation/networking/arcnet.rst>.
13
14	  You need both this driver, and the driver for the particular ARCnet
15	  chipset of your card. If you don't know, then it's probably a
16	  COM90xx type card, so say Y (or M) to "ARCnet COM90xx chipset
17	  support" below.
18
19	  To compile this driver as a module, choose M here. The module will
20	  be called arcnet.
21
22if ARCNET
23
24config ARCNET_1201
25	tristate "Enable standard ARCNet packet format (RFC 1201)"
26	help
27	  This allows you to use RFC1201 with your ARCnet card via the virtual
28	  arc0 device.  You need to say Y here to communicate with
29	  industry-standard RFC1201 implementations, like the arcether.com
30	  packet driver or most DOS/Windows ODI drivers.  Please read the
31	  ARCnet documentation in <file:Documentation/networking/arcnet.rst>
32	  for more information about using arc0.
33
34config ARCNET_1051
35	tristate "Enable old ARCNet packet format (RFC 1051)"
36	help
37	  This allows you to use RFC1051 with your ARCnet card via the virtual
38	  arc0s device. You only need arc0s if you want to talk to ARCnet
39	  software complying with the "old" standard, specifically, the DOS
40	  arcnet.com packet driver, Amigas running AmiTCP, and some variants
41	  of NetBSD. You do not need to say Y here to communicate with
42	  industry-standard RFC1201 implementations, like the arcether.com
43	  packet driver or most DOS/Windows ODI drivers. RFC1201 is included
44	  automatically as the arc0 device. Please read the ARCnet
45	  documentation in <file:Documentation/networking/arcnet.rst> for more
46	  information about using arc0e and arc0s.
47
48config ARCNET_RAW
49	tristate "Enable raw mode packet interface"
50	help
51	  ARCnet "raw mode" packet encapsulation, no soft headers.  Unlikely
52	  to work unless talking to a copy of the same Linux arcnet driver,
53	  but perhaps marginally faster in that case.
54
55config ARCNET_CAP
56	tristate "Enable CAP mode packet interface"
57	help
58	  ARCnet "cap mode" packet encapsulation. Used to get the hardware
59	  acknowledge back to userspace. After the initial protocol byte every
60	  packet is stuffed with an extra 4 byte "cookie" which doesn't
61	  actually appear on the network. After transmit the driver will send
62	  back a packet with protocol byte 0 containing the status of the
63	  transmission:
64	     0=no hardware acknowledge
65	     1=excessive nak
66	     2=transmission accepted by the receiver hardware
67
68	  Received packets are also stuffed with the extra 4 bytes but it will
69	  be random data.
70
71	  Cap only listens to protocol 1-8.
72
73config ARCNET_COM90xx
74	tristate "ARCnet COM90xx (normal) chipset driver"
75	help
76	  This is the chipset driver for the standard COM90xx cards. If you
77	  have always used the old ARCnet driver without knowing what type of
78	  card you had, this is probably the one for you.
79
80	  To compile this driver as a module, choose M here. The module will
81	  be called com90xx.
82
83config ARCNET_COM90xxIO
84	tristate "ARCnet COM90xx (IO mapped) chipset driver"
85	help
86	  This is the chipset driver for the COM90xx cards, using them in
87	  IO-mapped mode instead of memory-mapped mode. This is slower than
88	  the normal driver. Only use it if your card doesn't support shared
89	  memory.
90
91	  To compile this driver as a module, choose M here. The module will
92	  be called com90io.
93
94config ARCNET_RIM_I
95	tristate "ARCnet COM90xx (RIM I) chipset driver"
96	help
97	  This is yet another chipset driver for the COM90xx cards, but this
98	  time only using memory-mapped mode, and no IO ports at all. This
99	  driver is completely untested, so if you have one of these cards,
100	  please mail <dwmw2@infradead.org>, especially if it works!
101
102	  To compile this driver as a module, choose M here. The module will
103	  be called arc-rimi.
104
105config ARCNET_COM20020
106	tristate "ARCnet COM20020 chipset driver"
107	depends on LEDS_CLASS
108	help
109	  This is the driver for the new COM20020 chipset. It supports such
110	  things as promiscuous mode, so packet sniffing is possible, and
111	  extra diagnostic information.
112
113	  To compile this driver as a module, choose M here. The module will
114	  be called com20020.
115
116config ARCNET_COM20020_ISA
117	tristate "Support for COM20020 on ISA"
118	depends on ARCNET_COM20020 && ISA
119
120config ARCNET_COM20020_PCI
121	tristate "Support for COM20020 on PCI"
122	depends on ARCNET_COM20020 && PCI
123
124config ARCNET_COM20020_CS
125	tristate "COM20020 ARCnet PCMCIA support"
126	depends on ARCNET_COM20020 && PCMCIA
127	help
128	  Say Y here if you intend to attach this type of ARCnet PCMCIA card
129	  to your computer.
130
131	  To compile this driver as a module, choose M here: the module will be
132	  called com20020_cs.  If unsure, say N.
133
134endif # ARCNET
135