Kconfig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # Controller Area Network (CAN) network layer core configuration
  3. #
  4. menuconfig CAN
  5. depends on NET
  6. tristate "CAN bus subsystem support"
  7. ---help---
  8. Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
  9. communications protocol which was developed by Bosch in
  10. 1991, mainly for automotive, but now widely used in marine
  11. (NMEA2000), industrial, and medical applications.
  12. More information on the CAN network protocol family PF_CAN
  13. is contained in <Documentation/networking/can.txt>.
  14. If you want CAN support you should say Y here and also to the
  15. specific driver for your controller(s) below.
  16. config CAN_RAW
  17. tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
  18. depends on CAN
  19. default N
  20. ---help---
  21. The raw CAN protocol option offers access to the CAN bus via
  22. the BSD socket API. You probably want to use the raw socket in
  23. most cases where no higher level protocol is being used. The raw
  24. socket has several filter options e.g. ID masking / error frames.
  25. To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.
  26. config CAN_BCM
  27. tristate "Broadcast Manager CAN Protocol (with content filtering)"
  28. depends on CAN
  29. default N
  30. ---help---
  31. The Broadcast Manager offers content filtering, timeout monitoring,
  32. sending of RTR frames, and cyclic CAN messages without permanent user
  33. interaction. The BCM can be 'programmed' via the BSD socket API and
  34. informs you on demand e.g. only on content updates / timeouts.
  35. You probably want to use the bcm socket in most cases where cyclic
  36. CAN messages are used on the bus (e.g. in automotive environments).
  37. To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM.
  38. config CAN_GW
  39. tristate "CAN Gateway/Router (with netlink configuration)"
  40. depends on CAN
  41. default N
  42. ---help---
  43. The CAN Gateway/Router is used to route (and modify) CAN frames.
  44. It is based on the PF_CAN core infrastructure for msg filtering and
  45. msg sending and can optionally modify routed CAN frames on the fly.
  46. CAN frames can be routed between CAN network interfaces (one hop).
  47. They can be modified with AND/OR/XOR/SET operations as configured
  48. by the netlink configuration interface known e.g. from iptables.
  49. source "drivers/net/can/Kconfig"