[OS-BUILD PATCH 2/8] common: enable common CAN layer 2 protocols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peter Robinson <pbrobinson@xxxxxxxxxx>

Enable vxcan (for virtual can tunneling), ISO 15765-2:2016 CAN transport protocol
(for londer datagram protocols needed for certain L3 protocols such as
IP-over-CAN traffic) and SAE J1939 (for j1939 socket type used by datalink &
transport protocol as well as management).

These are all common protocols needed for modern CAN deployments.

Signed-off-by: Peter Robinson <pbrobinson@xxxxxxxxxx>
---
 redhat/configs/ark/generic/CONFIG_CAN_VXCAN   |  1 -
 .../configs/common/generic/CONFIG_CAN_ISOTP   |  2 +-
 .../configs/common/generic/CONFIG_CAN_J1939   |  2 +-
 .../generic/CONFIG_CAN_VXCAN                  |  0
 .../configs/fedora/generic/CONFIG_CAN_ISOTP   | 25 -------------------
 5 files changed, 2 insertions(+), 28 deletions(-)
 delete mode 100644 redhat/configs/ark/generic/CONFIG_CAN_VXCAN
 rename redhat/configs/{fedora => common}/generic/CONFIG_CAN_VXCAN (100%)
 delete mode 100644 redhat/configs/fedora/generic/CONFIG_CAN_ISOTP

diff --git a/redhat/configs/ark/generic/CONFIG_CAN_VXCAN b/redhat/configs/ark/generic/CONFIG_CAN_VXCAN
deleted file mode 100644
index 96b8266be4fb..000000000000
--- a/redhat/configs/ark/generic/CONFIG_CAN_VXCAN
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_CAN_VXCAN is not set
diff --git a/redhat/configs/common/generic/CONFIG_CAN_ISOTP b/redhat/configs/common/generic/CONFIG_CAN_ISOTP
index 2ebf8768a868..e349815188ee 100644
--- a/redhat/configs/common/generic/CONFIG_CAN_ISOTP
+++ b/redhat/configs/common/generic/CONFIG_CAN_ISOTP
@@ -1 +1 @@
-# CONFIG_CAN_ISOTP is not set
+CONFIG_CAN_ISOTP=m
diff --git a/redhat/configs/common/generic/CONFIG_CAN_J1939 b/redhat/configs/common/generic/CONFIG_CAN_J1939
index 38803167706f..6ce2acafacee 100644
--- a/redhat/configs/common/generic/CONFIG_CAN_J1939
+++ b/redhat/configs/common/generic/CONFIG_CAN_J1939
@@ -1 +1 @@
-# CONFIG_CAN_J1939 is not set
+CONFIG_CAN_J1939=m
diff --git a/redhat/configs/fedora/generic/CONFIG_CAN_VXCAN b/redhat/configs/common/generic/CONFIG_CAN_VXCAN
similarity index 100%
rename from redhat/configs/fedora/generic/CONFIG_CAN_VXCAN
rename to redhat/configs/common/generic/CONFIG_CAN_VXCAN
diff --git a/redhat/configs/fedora/generic/CONFIG_CAN_ISOTP b/redhat/configs/fedora/generic/CONFIG_CAN_ISOTP
deleted file mode 100644
index 58dd572e7fc7..000000000000
--- a/redhat/configs/fedora/generic/CONFIG_CAN_ISOTP
+++ /dev/null
@@ -1,25 +0,0 @@
-# CONFIG_CAN_ISOTP:
-# 
-# CAN Transport Protocols offer support for segmented Point-to-Point
-# communication between CAN nodes via two defined CAN Identifiers.
-# As CAN frames can only transport a small amount of data bytes
-# (max. 8 bytes for 'classic' CAN and max. 64 bytes for CAN FD) this
-# segmentation is needed to transport longer PDUs as needed e.g. for
-# vehicle diagnosis (UDS, ISO 14229) or IP-over-CAN traffic.
-# This protocol driver implements data transfers according to
-# ISO 15765-2:2016 for 'classic' CAN and CAN FD frame types.
-# If you want to perform automotive vehicle diagnostic services (UDS),
-# say 'y'.
-# 
-# Symbol: CAN_ISOTP [=n]
-# Type  : tristate
-# Defined at net/can/Kconfig:58
-#   Prompt: ISO 15765-2:2016 CAN transport protocol
-#   Depends on: NET [=y] && CAN [=m]
-#   Location:
-#     -> Networking support (NET [=y])
-#       -> CAN bus subsystem support (CAN [=m])
-# 
-# 
-# 
-# CONFIG_CAN_ISOTP is not set
-- 
GitLab
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux