mirror_ubuntu-kernels/drivers/net/can/usb
Peter Fink 26949ac935 can: gs_usb: add CAN-FD support
CANtact Pro from Linklayer is the first gs_usb compatible device
supporting CAN-FD with a different HW and re-written candlelight FW.

Support for CAN-FD is indicated by the device setting the
GS_CAN_FEATURE_FD flag. CAN-FD support is requested by the driver with
the GS_CAN_MODE_FD flag. The CAN-FD specific data bit timing
parameters are set with the GS_USB_BREQ_DATA_BITTIMING control
message.

This patch is based on the Eric Evenchick's gs_usb_fd driver (which
itself is a fork of gs_usb). The gs_usb_fd code base was reintegrated
into the gs_usb driver, and reworked to not break the existing
classical-CAN only hardware.

Link: https://lore.kernel.org/all/20220309124132.291861-16-mkl@pengutronix.de
Link: https://github.com/linklayer/gs_usb_fd/issues/2
Co-developed-by: Eric Evenchick <eric@evenchick.com>
Signed-off-by: Eric Evenchick <eric@evenchick.com>
Signed-off-by: Peter Fink <pfink@christ-es.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-03-10 09:49:15 +01:00
..
etas_es58x can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len() 2022-03-10 09:23:45 +01:00
kvaser_usb can: kvaser_usb: kvaser_usb_send_cmd(): remove redundant variable actual_len 2022-02-24 08:26:04 +01:00
peak_usb can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
ems_usb.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
esd_usb2.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
gs_usb.c can: gs_usb: add CAN-FD support 2022-03-10 09:49:15 +01:00
Kconfig can: kvaser_usb: Add new Kvaser hydra devices 2021-05-27 09:42:23 +02:00
Makefile can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces 2021-04-13 10:15:42 +02:00
mcba_usb.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
ucan.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
usb_8dev.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00