22 #ifndef __LINUX_USB_SERIAL_MCT_U232_H
23 #define __LINUX_USB_SERIAL_MCT_U232_H
25 #define MCT_U232_VID 0x0711
26 #define MCT_U232_PID 0x0210
29 #define MCT_U232_SITECOM_PID 0x0230
32 #define MCT_U232_DU_H3SP_PID 0x0200
35 #define MCT_U232_BELKIN_F5U109_VID 0x050d
36 #define MCT_U232_BELKIN_F5U109_PID 0x0109
41 #define MCT_U232_SET_REQUEST_TYPE 0x40
42 #define MCT_U232_GET_REQUEST_TYPE 0xc0
45 #define MCT_U232_GET_MODEM_STAT_REQUEST 2
46 #define MCT_U232_GET_MODEM_STAT_SIZE 1
50 #define MCT_U232_GET_LINE_CTRL_REQUEST 6
51 #define MCT_U232_GET_LINE_CTRL_SIZE 1
54 #define MCT_U232_SET_BAUD_RATE_REQUEST 5
55 #define MCT_U232_SET_BAUD_RATE_SIZE 4
58 #define MCT_U232_SET_LINE_CTRL_REQUEST 7
59 #define MCT_U232_SET_LINE_CTRL_SIZE 1
62 #define MCT_U232_SET_MODEM_CTRL_REQUEST 10
63 #define MCT_U232_SET_MODEM_CTRL_SIZE 1
69 #define MCT_U232_SET_UNKNOWN1_REQUEST 11
70 #define MCT_U232_SET_UNKNOWN1_SIZE 1
80 #define MCT_U232_SET_CTS_REQUEST 12
81 #define MCT_U232_SET_CTS_SIZE 1
83 #define MCT_U232_MAX_SIZE 4
97 #define MCT_U232_SET_BREAK 0x40
99 #define MCT_U232_PARITY_SPACE 0x38
100 #define MCT_U232_PARITY_MARK 0x28
101 #define MCT_U232_PARITY_EVEN 0x18
102 #define MCT_U232_PARITY_ODD 0x08
103 #define MCT_U232_PARITY_NONE 0x00
105 #define MCT_U232_DATA_BITS_5 0x00
106 #define MCT_U232_DATA_BITS_6 0x01
107 #define MCT_U232_DATA_BITS_7 0x02
108 #define MCT_U232_DATA_BITS_8 0x03
110 #define MCT_U232_STOP_BITS_2 0x04
111 #define MCT_U232_STOP_BITS_1 0x00
116 #define MCT_U232_MCR_NONE 0x8
117 #define MCT_U232_MCR_RTS 0xa
118 #define MCT_U232_MCR_DTR 0x9
123 #define MCT_U232_MSR_INDEX 0x0
124 #define MCT_U232_MSR_CD 0x80
125 #define MCT_U232_MSR_RI 0x40
126 #define MCT_U232_MSR_DSR 0x20
127 #define MCT_U232_MSR_CTS 0x10
128 #define MCT_U232_MSR_DCD 0x08
129 #define MCT_U232_MSR_DRI 0x04
130 #define MCT_U232_MSR_DDSR 0x02
131 #define MCT_U232_MSR_DCTS 0x01
136 #define MCT_U232_LSR_INDEX 1
137 #define MCT_U232_LSR_ERR 0x80
138 #define MCT_U232_LSR_TEMT 0x40
139 #define MCT_U232_LSR_THRE 0x20
140 #define MCT_U232_LSR_BI 0x10
141 #define MCT_U232_LSR_FE 0x08
142 #define MCT_U232_LSR_OE 0x02
143 #define MCT_U232_LSR_PE 0x04
144 #define MCT_U232_LSR_OE 0x02
145 #define MCT_U232_LSR_DR 0x01