diff options
author | Oliver Hartkopp <oliver.hartkopp@volkswagen.de> | 2007-11-16 18:53:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:54:10 -0500 |
commit | c18ce101f2e47d97ace125033e2896895a6db3dd (patch) | |
tree | 9e85bb469d1a756f7f270bde67a681972fdf8097 /net/can/Kconfig | |
parent | 0d66548a10cbbe0ef256852d63d30603f0f73f9b (diff) |
[CAN]: Add raw protocol
This patch adds the CAN raw protocol.
Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/Kconfig')
-rw-r--r-- | net/can/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/can/Kconfig b/net/can/Kconfig index 8b92790747e5..4718d1f50ab3 100644 --- a/net/can/Kconfig +++ b/net/can/Kconfig | |||
@@ -15,3 +15,14 @@ menuconfig CAN | |||
15 | 15 | ||
16 | If you want CAN support you should say Y here and also to the | 16 | If you want CAN support you should say Y here and also to the |
17 | specific driver for your controller(s) below. | 17 | specific driver for your controller(s) below. |
18 | |||
19 | config CAN_RAW | ||
20 | tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" | ||
21 | depends on CAN | ||
22 | default N | ||
23 | ---help--- | ||
24 | The raw CAN protocol option offers access to the CAN bus via | ||
25 | the BSD socket API. You probably want to use the raw socket in | ||
26 | most cases where no higher level protocol is being used. The raw | ||
27 | socket has several filter options e.g. ID masking / error frames. | ||
28 | To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW. | ||