Blame view

net/can/Kconfig 3.02 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
0d66548a1   Oliver Hartkopp   [CAN]: Add PF_CAN...
2
3
4
5
6
7
8
  #
  # Controller Area Network (CAN) network layer core configuration
  #
  
  menuconfig CAN
  	depends on NET
  	tristate "CAN bus subsystem support"
a7f7f6248   Masahiro Yamada   treewide: replace...
9
  	help
0d66548a1   Oliver Hartkopp   [CAN]: Add PF_CAN...
10
  	  Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
26bca9fe5   Robert P. J. Day   can: Kconfig: cor...
11
12
13
14
15
16
  	  communications protocol. Development of the CAN bus started in
  	  1983 at Robert Bosch GmbH, and the protocol was officially
  	  released in 1986. The CAN bus was originally mainly for automotive,
  	  but is now widely used in marine (NMEA2000), industrial, and medical
  	  applications. More information on the CAN network protocol family
  	  PF_CAN is contained in <Documentation/networking/can.rst>.
0d66548a1   Oliver Hartkopp   [CAN]: Add PF_CAN...
17
18
19
  
  	  If you want CAN support you should say Y here and also to the
  	  specific driver for your controller(s) below.
c18ce101f   Oliver Hartkopp   [CAN]: Add raw pr...
20

77136836a   Marc Kleine-Budde   can: Kconfig: con...
21
  if CAN
c18ce101f   Oliver Hartkopp   [CAN]: Add raw pr...
22
23
  config CAN_RAW
  	tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
f66b0301f   Marc Kleine-Budde   can: Kconfig: swi...
24
  	default y
a7f7f6248   Masahiro Yamada   treewide: replace...
25
  	help
c18ce101f   Oliver Hartkopp   [CAN]: Add raw pr...
26
27
28
29
30
  	  The raw CAN protocol option offers access to the CAN bus via
  	  the BSD socket API. You probably want to use the raw socket in
  	  most cases where no higher level protocol is being used. The raw
  	  socket has several filter options e.g. ID masking / error frames.
  	  To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.
ffd980f97   Oliver Hartkopp   [CAN]: Add broadc...
31
32
33
  
  config CAN_BCM
  	tristate "Broadcast Manager CAN Protocol (with content filtering)"
f66b0301f   Marc Kleine-Budde   can: Kconfig: swi...
34
  	default y
a7f7f6248   Masahiro Yamada   treewide: replace...
35
  	help
ffd980f97   Oliver Hartkopp   [CAN]: Add broadc...
36
37
38
39
40
41
42
  	  The Broadcast Manager offers content filtering, timeout monitoring,
  	  sending of RTR frames, and cyclic CAN messages without permanent user
  	  interaction. The BCM can be 'programmed' via the BSD socket API and
  	  informs you on demand e.g. only on content updates / timeouts.
  	  You probably want to use the bcm socket in most cases where cyclic
  	  CAN messages are used on the bus (e.g. in automotive environments).
  	  To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM.
ccb296379   Oliver Hartkopp   [CAN]: Add virtua...
43

c1aabdf37   Oliver Hartkopp   can-gw: add netli...
44
45
  config CAN_GW
  	tristate "CAN Gateway/Router (with netlink configuration)"
f66b0301f   Marc Kleine-Budde   can: Kconfig: swi...
46
  	default y
a7f7f6248   Masahiro Yamada   treewide: replace...
47
  	help
c1aabdf37   Oliver Hartkopp   can-gw: add netli...
48
49
50
51
52
53
  	  The CAN Gateway/Router is used to route (and modify) CAN frames.
  	  It is based on the PF_CAN core infrastructure for msg filtering and
  	  msg sending and can optionally modify routed CAN frames on the fly.
  	  CAN frames can be routed between CAN network interfaces (one hop).
  	  They can be modified with AND/OR/XOR/SET operations as configured
  	  by the netlink configuration interface known e.g. from iptables.
ccb296379   Oliver Hartkopp   [CAN]: Add virtua...
54

9d71dd0c7   The j1939 authors   can: add support ...
55
  source "net/can/j1939/Kconfig"
e057dd3fc   Oliver Hartkopp   can: add ISO 1576...
56
57
  config CAN_ISOTP
  	tristate "ISO 15765-2:2016 CAN transport protocol"
e057dd3fc   Oliver Hartkopp   can: add ISO 1576...
58
59
60
61
62
  	help
  	  CAN Transport Protocols offer support for segmented Point-to-Point
  	  communication between CAN nodes via two defined CAN Identifiers.
  	  As CAN frames can only transport a small amount of data bytes
  	  (max. 8 bytes for 'classic' CAN and max. 64 bytes for CAN FD) this
5a7de2408   Geert Uytterhoeven   can: isotp: Expla...
63
64
65
  	  segmentation is needed to transport longer Protocol Data Units (PDU)
  	  as needed e.g. for vehicle diagnosis (UDS, ISO 14229) or IP-over-CAN
  	  traffic.
e057dd3fc   Oliver Hartkopp   can: add ISO 1576...
66
67
  	  This protocol driver implements data transfers according to
  	  ISO 15765-2:2016 for 'classic' CAN and CAN FD frame types.
ac911bfeb   Oliver Hartkopp   can: isotp: imple...
68
69
  	  If you want to perform automotive vehicle diagnostic services (UDS),
  	  say 'y'.
e057dd3fc   Oliver Hartkopp   can: add ISO 1576...
70

ccb296379   Oliver Hartkopp   [CAN]: Add virtua...
71
  source "drivers/net/can/Kconfig"
77136836a   Marc Kleine-Budde   can: Kconfig: con...
72
73
  
  endif