···11#ifndef CYPRESS_M8_H22#define CYPRESS_M8_H3344-/* definitions and function prototypes used for the cypress USB to Serial controller */44+/*55+ * definitions and function prototypes used for the cypress USB to Serial66+ * controller77+ */5866-/* For sending our feature buffer - controlling serial communication states */77-/* Linux HID has no support for serial devices so we do this through the driver */88-#define HID_REQ_GET_REPORT 0x0199-#define HID_REQ_SET_REPORT 0x0999+/*1010+ * For sending our feature buffer - controlling serial communication states.1111+ * Linux HID has no support for serial devices so we do this through the driver1212+ */1313+#define HID_REQ_GET_REPORT 0x011414+#define HID_REQ_SET_REPORT 0x0910151116/* List other cypress USB to Serial devices here, and add them to the id_table */12171318/* DeLorme Earthmate USB - a GPS device */1414-#define VENDOR_ID_DELORME 0x11631515-#define PRODUCT_ID_EARTHMATEUSB 0x01001616-#define PRODUCT_ID_EARTHMATEUSB_LT20 0x02001919+#define VENDOR_ID_DELORME 0x11632020+#define PRODUCT_ID_EARTHMATEUSB 0x01002121+#define PRODUCT_ID_EARTHMATEUSB_LT20 0x020017221823/* Cypress HID->COM RS232 Adapter */1919-#define VENDOR_ID_CYPRESS 0x04b42020-#define PRODUCT_ID_CYPHIDCOM 0x55002424+#define VENDOR_ID_CYPRESS 0x04b42525+#define PRODUCT_ID_CYPHIDCOM 0x550021262227/* Powercom UPS, chip CY7C63723 */2323-#define VENDOR_ID_POWERCOM 0x0d9f2424-#define PRODUCT_ID_UPS 0x00022828+#define VENDOR_ID_POWERCOM 0x0d9f2929+#define PRODUCT_ID_UPS 0x000225302631/* Nokia CA-42 USB to serial cable */2732#define VENDOR_ID_DAZZLE 0x07d0···3429/* End of device listing */35303631/* Used for setting / requesting serial line settings */3737-#define CYPRESS_SET_CONFIG 0x013838-#define CYPRESS_GET_CONFIG 0x023232+#define CYPRESS_SET_CONFIG 0x013333+#define CYPRESS_GET_CONFIG 0x0239344035/* Used for throttle control */4141-#define THROTTLED 0x14242-#define ACTUALLY_THROTTLED 0x23636+#define THROTTLED 0x13737+#define ACTUALLY_THROTTLED 0x243384444-/* chiptypes - used in case firmware differs from the generic form ... offering4545- * different baud speeds/etc.3939+/*4040+ * chiptypes - used in case firmware differs from the generic form ... offering4141+ * different baud speeds/etc.4642 */4747-4843#define CT_EARTHMATE 0x014944#define CT_CYPHIDCOM 0x025045#define CT_CA42V2 0x03···5550/* these are sent / read at byte 0 of the input/output hid reports */5651/* You can find these values defined in the CY4601 USB to Serial design notes */57525858-#define CONTROL_DTR 0x20 /* data terminal ready - flow control - host to device */5353+#define CONTROL_DTR 0x20 /* data terminal ready - flow control - host to device */5954#define UART_DSR 0x20 /* data set ready - flow control - device to host */6060-#define CONTROL_RTS 0x10 /* request to send - flow control - host to device */5555+#define CONTROL_RTS 0x10 /* request to send - flow control - host to device */6156#define UART_CTS 0x10 /* clear to send - flow control - device to host */6262-#define UART_RI 0x10 /* ring indicator - modem - device to host */5757+#define UART_RI 0x10 /* ring indicator - modem - device to host */6358#define UART_CD 0x40 /* carrier detect - modem - device to host */6464-#define CYP_ERROR 0x08 /* received from input report - device to host */5959+#define CYP_ERROR 0x08 /* received from input report - device to host */6560/* Note - the below has nothing to do with the "feature report" reset */6666-#define CONTROL_RESET 0x08 /* sent with output report - host to device */6161+#define CONTROL_RESET 0x08 /* sent with output report - host to device */67626863/* End of RS-232 protocol definitions */6964