USB: serial: simple: add Kaufmann RKS+CAN VCP
authorOliver Neukum <oneukum@suse.com>
Wed, 12 Jul 2023 14:16:41 +0000 (16:16 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 20 Jul 2023 11:53:40 +0000 (13:53 +0200)
Add the device and product ID for this CAN bus interface / license
dongle. The device is usable either directly from user space or can be
attached to a kernel CAN interface with slcan_attach.

Reported-by: Kaufmann Automotive GmbH <info@kaufmann-automotive.ch>
Tested-by: Kaufmann Automotive GmbH <info@kaufmann-automotive.ch>
Signed-off-by: Oliver Neukum <oneukum@suse.com>
[ johan: amend commit message and move entries in sort order ]
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/usb-serial-simple.c

index 4c67478..3c552e4 100644 (file)
@@ -63,6 +63,11 @@ DEVICE(flashloader, FLASHLOADER_IDS);
                                        0x01) }
 DEVICE(google, GOOGLE_IDS);
 
+/* KAUFMANN RKS+CAN VCP */
+#define KAUFMANN_IDS()                 \
+       { USB_DEVICE(0x16d0, 0x0870) }
+DEVICE(kaufmann, KAUFMANN_IDS);
+
 /* Libtransistor USB console */
 #define LIBTRANSISTOR_IDS()                    \
        { USB_DEVICE(0x1209, 0x8b00) }
@@ -124,6 +129,7 @@ static struct usb_serial_driver * const serial_drivers[] = {
        &funsoft_device,
        &flashloader_device,
        &google_device,
+       &kaufmann_device,
        &libtransistor_device,
        &vivopay_device,
        &moto_modem_device,
@@ -142,6 +148,7 @@ static const struct usb_device_id id_table[] = {
        FUNSOFT_IDS(),
        FLASHLOADER_IDS(),
        GOOGLE_IDS(),
+       KAUFMANN_IDS(),
        LIBTRANSISTOR_IDS(),
        VIVOPAY_IDS(),
        MOTO_IDS(),