]> git.baikalelectronics.ru Git - kernel.git/commit
can: peak: Add support for PCAN-USB X6 USB interface
authorStephane Grosjean <s.grosjean@peak-system.com>
Thu, 1 Dec 2016 10:41:12 +0000 (11:41 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 1 Dec 2016 13:12:20 +0000 (14:12 +0100)
commitd2df67231e0f9e3b90f1f42a7a6e3ff0114cef72
treee551bbf1faf4fafa16e334566bf9a99c47dfee2c
parent5a8b9fd53cb8d092492766a01abfef440a45d717
can: peak: Add support for PCAN-USB X6 USB interface

This adds support for PEAK-System PCAN-USB X6 USB to CAN interface.

The CAN FD adapter PCAN-USB X6 allows the connection of up to 6 CAN FD
or CAN networks to a computer via USB. The interface is installed in an
aluminum profile casing and is shipped in versions with D-Sub connectors
or M12 circular connectors.

The PCAN-USB X6 registers in the USB sub-system as if 3x PCAN-USB-Pro FD
adapters were plugged. So, this patch:

- updates the PEAK_USB entry of the corresponding Kconfig file
- defines and adds the device id. of the PCAN-USB X6 (0x0014) into the
  table of supported device ids
- defines and adds the new software structure implementing the PCAN-USB X6,
  which is obviously a clone of the software structure implementing the
  PCAN-USB Pro FD.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_core.c
drivers/net/can/usb/peak_usb/pcan_usb_core.h
drivers/net/can/usb/peak_usb/pcan_usb_fd.c