mirror of
https://github.com/suyu-emu/horinux.git
synced 2026-09-21 14:15:21 -07:00
[CAN]: Add broadcast manager (bcm) protocol
This patch adds the CAN broadcast manager (bcm) 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>
This commit is contained in:
committed by
David S. Miller
parent
c18ce101f2
commit
ffd980f976
@@ -26,3 +26,16 @@ config CAN_RAW
|
||||
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.
|
||||
|
||||
config CAN_BCM
|
||||
tristate "Broadcast Manager CAN Protocol (with content filtering)"
|
||||
depends on CAN
|
||||
default N
|
||||
---help---
|
||||
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.
|
||||
|
||||
@@ -7,3 +7,6 @@ can-objs := af_can.o proc.o
|
||||
|
||||
obj-$(CONFIG_CAN_RAW) += can-raw.o
|
||||
can-raw-objs := raw.o
|
||||
|
||||
obj-$(CONFIG_CAN_BCM) += can-bcm.o
|
||||
can-bcm-objs := bcm.o
|
||||
|
||||
+1561
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user