Commit 7507479c authored by Jimmy Assarsson's avatar Jimmy Assarsson Committed by Marc Kleine-Budde

can: kvaser_usb: Add support for USBcan Pro 4xHS

Add support for Kvaser USBcan Pro 4xHS.

Link: https://lore.kernel.org/r/20210309091724.31262-2-jimmyassarsson@gmail.comSigned-off-by: default avatarJimmy Assarsson <extja@kvaser.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 7c6e6bce
...@@ -73,6 +73,7 @@ config CAN_KVASER_USB ...@@ -73,6 +73,7 @@ config CAN_KVASER_USB
- Kvaser Memorator Pro 5xHS - Kvaser Memorator Pro 5xHS
- Kvaser USBcan Light 4xHS - Kvaser USBcan Light 4xHS
- Kvaser USBcan Pro 2xHS v2 - Kvaser USBcan Pro 2xHS v2
- Kvaser USBcan Pro 4xHS
- Kvaser USBcan Pro 5xHS - Kvaser USBcan Pro 5xHS
- Kvaser U100 - Kvaser U100
- Kvaser U100P - Kvaser U100P
......
...@@ -86,8 +86,9 @@ ...@@ -86,8 +86,9 @@
#define USB_U100_PRODUCT_ID 273 #define USB_U100_PRODUCT_ID 273
#define USB_U100P_PRODUCT_ID 274 #define USB_U100P_PRODUCT_ID 274
#define USB_U100S_PRODUCT_ID 275 #define USB_U100S_PRODUCT_ID 275
#define USB_USBCAN_PRO_4HS_PRODUCT_ID 276
#define USB_HYDRA_PRODUCT_ID_END \ #define USB_HYDRA_PRODUCT_ID_END \
USB_U100S_PRODUCT_ID USB_USBCAN_PRO_4HS_PRODUCT_ID
static inline bool kvaser_is_leaf(const struct usb_device_id *id) static inline bool kvaser_is_leaf(const struct usb_device_id *id)
{ {
...@@ -193,6 +194,7 @@ static const struct usb_device_id kvaser_usb_table[] = { ...@@ -193,6 +194,7 @@ static const struct usb_device_id kvaser_usb_table[] = {
{ USB_DEVICE(KVASER_VENDOR_ID, USB_U100_PRODUCT_ID) }, { USB_DEVICE(KVASER_VENDOR_ID, USB_U100_PRODUCT_ID) },
{ USB_DEVICE(KVASER_VENDOR_ID, USB_U100P_PRODUCT_ID) }, { USB_DEVICE(KVASER_VENDOR_ID, USB_U100P_PRODUCT_ID) },
{ USB_DEVICE(KVASER_VENDOR_ID, USB_U100S_PRODUCT_ID) }, { USB_DEVICE(KVASER_VENDOR_ID, USB_U100S_PRODUCT_ID) },
{ USB_DEVICE(KVASER_VENDOR_ID, USB_USBCAN_PRO_4HS_PRODUCT_ID) },
{ } { }
}; };
MODULE_DEVICE_TABLE(usb, kvaser_usb_table); MODULE_DEVICE_TABLE(usb, kvaser_usb_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment