diff options
author | Oliver Hartkopp <oliver.hartkopp@volkswagen.de> | 2007-11-16 15:53:09 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:54:10 -0800 |
commit | c18ce101f2e47d97ace125033e2896895a6db3dd (patch) | |
tree | 9e85bb469d1a756f7f270bde67a681972fdf8097 /net/can/Kconfig | |
parent | 0d66548a10cbbe0ef256852d63d30603f0f73f9b (diff) | |
download | kernel_goldelico_gta04-c18ce101f2e47d97ace125033e2896895a6db3dd.zip kernel_goldelico_gta04-c18ce101f2e47d97ace125033e2896895a6db3dd.tar.gz kernel_goldelico_gta04-c18ce101f2e47d97ace125033e2896895a6db3dd.tar.bz2 |
[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 8b92790..4718d1f 100644 --- a/net/can/Kconfig +++ b/net/can/Kconfig @@ -15,3 +15,14 @@ menuconfig CAN If you want CAN support you should say Y here and also to the specific driver for your controller(s) below. + +config CAN_RAW + tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" + depends on CAN + default N + ---help--- + 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. |