mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 23:54:04 +08:00
e057dd3fc2
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. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://lore.kernel.org/r/20200928200404.82229-1-socketcan@hartkopp.net [mkl: Removed "WITH Linux-syscall-note" from isotp.c. Fixed indention, a checkpatch warning and typos. Replaced __u{8,32} by u{8,32}. Removed always false (optlen < 0) check in isotp_setsockopt().] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
23 lines
438 B
Makefile
23 lines
438 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux Controller Area Network core.
|
|
#
|
|
|
|
obj-$(CONFIG_CAN) += can.o
|
|
can-y := af_can.o
|
|
can-$(CONFIG_PROC_FS) += proc.o
|
|
|
|
obj-$(CONFIG_CAN_RAW) += can-raw.o
|
|
can-raw-y := raw.o
|
|
|
|
obj-$(CONFIG_CAN_BCM) += can-bcm.o
|
|
can-bcm-y := bcm.o
|
|
|
|
obj-$(CONFIG_CAN_GW) += can-gw.o
|
|
can-gw-y := gw.o
|
|
|
|
obj-$(CONFIG_CAN_J1939) += j1939/
|
|
|
|
obj-$(CONFIG_CAN_ISOTP) += can-isotp.o
|
|
can-isotp-y := isotp.o
|