]> rtime.felk.cvut.cz Git - socketcan-devel.git/blob - kernel/2.6/net/can/Kconfig
f0e946c5612c832be0d47d4b3c00f2002b0f4cd4
[socketcan-devel.git] / kernel / 2.6 / net / can / Kconfig
1 #
2 # CAN device configuration
3 #
4
5 menuconfig CAN
6         depends on NET
7         tristate "CAN bus subsystem support"
8         ---help---
9           Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
10           communications protocol was developed by Bosch at 1991 mainly for
11           automotive, but now widely used in marine (NMEA2000), industrial and
12           medical applications.
13           More information is contained in the directory <file:Documentation/can/>.
14
15           If you want CAN support, you should say Y here and also to the
16           specific driver for your controller(s) below.
17
18           This CAN support can also be built as a module.  If so, the module
19           will be called can.ko.
20
21 config CAN_RAW
22         tristate "Raw CAN Protocol"
23         depends on CAN
24         default N
25         ---help---
26           The Raw CAN protocol option offers access to the CAN bus via
27           the BSD socket API. You probably want to use the raw socket in
28           most cases where no higher level protocol is being used. The raw 
29           socket has several filter options e.g. ID-Masking / Errorframes.
30           To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.
31
32 config CAN_BCM
33         tristate "Broadcast Manager (BCM)"
34         depends on CAN
35         default N
36         ---help---
37           The Broadcast Manager offers content filtering, timeout monitoring,
38           sending of RTR-frames and cyclic CAN messages without permanent user
39           interaction. The BCM can be 'programmed' via the BSD socket API and
40           informs you on demand e.g. only on content updates / timeouts.
41           You probably want to use the bcm socket in most cases where cyclic
42           CAN messages are used on the bus (e.g. in automotive environments).
43           To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM.
44
45 config CAN_DEBUG_CORE
46        bool "CAN Core debugging messages"
47        depends on CAN
48        help
49          Say Y here if you want the CAN core to produce a bunch of debug
50          messages to the system log.  Select this if you are having a
51          problem with CAN support and want to see more of what is going on.
52
53
54 source "drivers/net/can/Kconfig"
55