~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/can/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /net/can/Kconfig (Version linux-6.12-rc7) and /net/can/Kconfig (Version linux-5.13.19)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 #                                                   2 #
  3 # Controller Area Network (CAN) network layer       3 # Controller Area Network (CAN) network layer core configuration
  4 #                                                   4 #
  5                                                     5 
  6 menuconfig CAN                                      6 menuconfig CAN
  7         tristate "CAN bus subsystem support"        7         tristate "CAN bus subsystem support"
  8         help                                        8         help
  9           Controller Area Network (CAN) is a s      9           Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
 10           communications protocol. Development     10           communications protocol. Development of the CAN bus started in
 11           1983 at Robert Bosch GmbH, and the p     11           1983 at Robert Bosch GmbH, and the protocol was officially
 12           released in 1986. The CAN bus was or     12           released in 1986. The CAN bus was originally mainly for automotive,
 13           but is now widely used in marine (NM     13           but is now widely used in marine (NMEA2000), industrial, and medical
 14           applications. More information on th     14           applications. More information on the CAN network protocol family
 15           PF_CAN is contained in <Documentatio     15           PF_CAN is contained in <Documentation/networking/can.rst>.
 16                                                    16 
 17           If you want CAN support you should s     17           If you want CAN support you should say Y here and also to the
 18           specific driver for your controller( !!  18           specific driver for your controller(s) below.
 19           support section.                     << 
 20                                                    19 
 21 if CAN                                             20 if CAN
 22                                                    21 
 23 config CAN_RAW                                     22 config CAN_RAW
 24         tristate "Raw CAN Protocol (raw access     23         tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
 25         default y                                  24         default y
 26         help                                       25         help
 27           The raw CAN protocol option offers a     26           The raw CAN protocol option offers access to the CAN bus via
 28           the BSD socket API. You probably wan     27           the BSD socket API. You probably want to use the raw socket in
 29           most cases where no higher level pro     28           most cases where no higher level protocol is being used. The raw
 30           socket has several filter options e.     29           socket has several filter options e.g. ID masking / error frames.
 31           To receive/send raw CAN messages, us     30           To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.
 32                                                    31 
 33 config CAN_BCM                                     32 config CAN_BCM
 34         tristate "Broadcast Manager CAN Protoc     33         tristate "Broadcast Manager CAN Protocol (with content filtering)"
 35         default y                                  34         default y
 36         help                                       35         help
 37           The Broadcast Manager offers content     36           The Broadcast Manager offers content filtering, timeout monitoring,
 38           sending of RTR frames, and cyclic CA     37           sending of RTR frames, and cyclic CAN messages without permanent user
 39           interaction. The BCM can be 'program     38           interaction. The BCM can be 'programmed' via the BSD socket API and
 40           informs you on demand e.g. only on c     39           informs you on demand e.g. only on content updates / timeouts.
 41           You probably want to use the bcm soc     40           You probably want to use the bcm socket in most cases where cyclic
 42           CAN messages are used on the bus (e.     41           CAN messages are used on the bus (e.g. in automotive environments).
 43           To use the Broadcast Manager, use AF     42           To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM.
 44                                                    43 
 45 config CAN_GW                                      44 config CAN_GW
 46         tristate "CAN Gateway/Router (with net     45         tristate "CAN Gateway/Router (with netlink configuration)"
 47         default y                                  46         default y
 48         help                                       47         help
 49           The CAN Gateway/Router is used to ro     48           The CAN Gateway/Router is used to route (and modify) CAN frames.
 50           It is based on the PF_CAN core infra     49           It is based on the PF_CAN core infrastructure for msg filtering and
 51           msg sending and can optionally modif     50           msg sending and can optionally modify routed CAN frames on the fly.
 52           CAN frames can be routed between CAN     51           CAN frames can be routed between CAN network interfaces (one hop).
 53           They can be modified with AND/OR/XOR     52           They can be modified with AND/OR/XOR/SET operations as configured
 54           by the netlink configuration interfa     53           by the netlink configuration interface known e.g. from iptables.
 55                                                    54 
 56 source "net/can/j1939/Kconfig"                     55 source "net/can/j1939/Kconfig"
 57                                                    56 
 58 config CAN_ISOTP                                   57 config CAN_ISOTP
 59         tristate "ISO 15765-2 CAN transport pr !!  58         tristate "ISO 15765-2:2016 CAN transport protocol"
 60         help                                       59         help
 61           CAN Transport Protocols offer suppor     60           CAN Transport Protocols offer support for segmented Point-to-Point
 62           communication between CAN nodes via      61           communication between CAN nodes via two defined CAN Identifiers.
 63           This protocol driver implements segm << 
 64           (aka Classical CAN, CAN 2.0B) and CA << 
 65           introduced with ISO 15765-2:2016.    << 
 66           As CAN frames can only transport a s     62           As CAN frames can only transport a small amount of data bytes
 67           (max. 8 bytes for CAN CC and max. 64 !!  63           (max. 8 bytes for 'classic' CAN and max. 64 bytes for CAN FD) this
 68           segmentation is needed to transport      64           segmentation is needed to transport longer Protocol Data Units (PDU)
 69           as needed e.g. for vehicle diagnosis     65           as needed e.g. for vehicle diagnosis (UDS, ISO 14229) or IP-over-CAN
 70           traffic.                                 66           traffic.
                                                   >>  67           This protocol driver implements data transfers according to
                                                   >>  68           ISO 15765-2:2016 for 'classic' CAN and CAN FD frame types.
                                                   >>  69           If you want to perform automotive vehicle diagnostic services (UDS),
                                                   >>  70           say 'y'.
                                                   >>  71 
                                                   >>  72 source "drivers/net/can/Kconfig"
 71                                                    73 
 72 endif                                              74 endif
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php