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