can: kvaser_usb: add support for Kvaser Leaf v2 and usb mini PCIe
This patch adds support for the Kvaser Leaf v2 and Leaf usb mini PCIe card. Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
e59e36e733
commit
b4f20130af
|
@ -53,6 +53,8 @@
|
||||||
#define USB_OEM_MERCURY_PRODUCT_ID 34
|
#define USB_OEM_MERCURY_PRODUCT_ID 34
|
||||||
#define USB_OEM_LEAF_PRODUCT_ID 35
|
#define USB_OEM_LEAF_PRODUCT_ID 35
|
||||||
#define USB_CAN_R_PRODUCT_ID 39
|
#define USB_CAN_R_PRODUCT_ID 39
|
||||||
|
#define USB_LEAF_LITE_V2_PRODUCT_ID 288
|
||||||
|
#define USB_MINI_PCIE_HS_PRODUCT_ID 289
|
||||||
|
|
||||||
/* USB devices features */
|
/* USB devices features */
|
||||||
#define KVASER_HAS_SILENT_MODE BIT(0)
|
#define KVASER_HAS_SILENT_MODE BIT(0)
|
||||||
|
@ -356,6 +358,8 @@ static const struct usb_device_id kvaser_usb_table[] = {
|
||||||
.driver_info = KVASER_HAS_TXRX_ERRORS },
|
.driver_info = KVASER_HAS_TXRX_ERRORS },
|
||||||
{ USB_DEVICE(KVASER_VENDOR_ID, USB_CAN_R_PRODUCT_ID),
|
{ USB_DEVICE(KVASER_VENDOR_ID, USB_CAN_R_PRODUCT_ID),
|
||||||
.driver_info = KVASER_HAS_TXRX_ERRORS },
|
.driver_info = KVASER_HAS_TXRX_ERRORS },
|
||||||
|
{ USB_DEVICE(KVASER_VENDOR_ID, USB_LEAF_LITE_V2_PRODUCT_ID) },
|
||||||
|
{ USB_DEVICE(KVASER_VENDOR_ID, USB_MINI_PCIE_HS_PRODUCT_ID) },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(usb, kvaser_usb_table);
|
MODULE_DEVICE_TABLE(usb, kvaser_usb_table);
|
||||||
|
|
Loading…
Reference in New Issue