Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.rst>.
  14. If you want CAN support you should say Y here and also to the
  15. specific driver for your controller(s) below.
  16. if CAN
  17. config CAN_RAW
  18. tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
  19. default y
  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. default y
  29. ---help---
  30. The Broadcast Manager offers content filtering, timeout monitoring,
  31. sending of RTR frames, and cyclic CAN messages without permanent user
  32. interaction. The BCM can be 'programmed' via the BSD socket API and
  33. informs you on demand e.g. only on content updates / timeouts.
  34. You probably want to use the bcm socket in most cases where cyclic
  35. CAN messages are used on the bus (e.g. in automotive environments).
  36. To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM.
  37. config CAN_GW
  38. tristate "CAN Gateway/Router (with netlink configuration)"
  39. default y
  40. ---help---
  41. The CAN Gateway/Router is used to route (and modify) CAN frames.
  42. It is based on the PF_CAN core infrastructure for msg filtering and
  43. msg sending and can optionally modify routed CAN frames on the fly.
  44. CAN frames can be routed between CAN network interfaces (one hop).
  45. They can be modified with AND/OR/XOR/SET operations as configured
  46. by the netlink configuration interface known e.g. from iptables.
  47. source "drivers/net/can/Kconfig"
  48. endif