can: drivers: add len8_dlc support for various CAN adapters
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 11 Nov 2020 09:59:23 +0000 (10:59 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Nov 2020 11:05:14 +0000 (12:05 +0100)
commit4c01fc87675e6974d42383eba9a043123d8e13c3
tree5e720f890a9f4fcbde754ba967facc101ba02857
parente8e73562ce0b24d691ad35df3de34b324248458f
can: drivers: add len8_dlc support for various CAN adapters

Support the Classical CAN raw DLC functionality to send and receive DLC values
from 9 .. 15 on various Classical CAN capable CAN network drivers:

- sja1000
- gs_usb
- pcan_usb
- pcan_usb_fd
- usb_8dev

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/r/20201111095923.2535-1-socketcan@hartkopp.net
[mkl: usb_8dev: changed indention]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000.c
drivers/net/can/usb/gs_usb.c
drivers/net/can/usb/peak_usb/pcan_usb.c
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
drivers/net/can/usb/usb_8dev.c