Go to the documentation of this file.
18 #define GCT_VID 0x1076
21 #define GCT_PID1 0x7e00
22 #define GCT_PID2 0x7f00
24 #define USB_DEVICE_ID_MATCH_DEVICE_INTERFACE \
25 (USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_CLASS)
27 #define USB_DEVICE_INTF(vend, prod, intf) \
28 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_INTERFACE, \
29 .idVendor = (vend), .idProduct = (prod), .bInterfaceClass = (intf)
31 #define EMERGENCY_PID 0x720f
32 #define BL_PID_MASK 0xffc0
34 #define USB_DEVICE_BOOTLOADER(vid, pid) \
35 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)}, \
36 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD|B_DIFF_DL_DRV)}
38 #define USB_DEVICE_CDC_DATA(vid, pid) \
39 {USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)}