diff options
Diffstat (limited to 'drivers/usb/serial/mct_u232.h')
-rw-r--r-- | drivers/usb/serial/mct_u232.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/usb/serial/mct_u232.h b/drivers/usb/serial/mct_u232.h index 73dd0d984cd3..a61bac8f224a 100644 --- a/drivers/usb/serial/mct_u232.h +++ b/drivers/usb/serial/mct_u232.h | |||
@@ -63,14 +63,15 @@ | |||
63 | #define MCT_U232_SET_UNKNOWN1_REQUEST 11 /* Unknown functionality */ | 63 | #define MCT_U232_SET_UNKNOWN1_REQUEST 11 /* Unknown functionality */ |
64 | #define MCT_U232_SET_UNKNOWN1_SIZE 1 | 64 | #define MCT_U232_SET_UNKNOWN1_SIZE 1 |
65 | 65 | ||
66 | /* This USB device request code is not well understood. It is transmitted by | 66 | /* This USB device request code appears to control whether CTS is required |
67 | the MCT-supplied Windows driver whenever the baud rate changes. | 67 | during transmission. |
68 | 68 | ||
69 | Without this USB device request, the USB/RS-232 adapter will not write to | 69 | Sending a zero byte allows data transmission to a device which is not |
70 | RS-232 devices which do not assert the 'CTS' signal. | 70 | asserting CTS. Sending a '1' byte will cause transmission to be deferred |
71 | until the device asserts CTS. | ||
71 | */ | 72 | */ |
72 | #define MCT_U232_SET_UNKNOWN2_REQUEST 12 /* Unknown functionality */ | 73 | #define MCT_U232_SET_CTS_REQUEST 12 |
73 | #define MCT_U232_SET_UNKNOWN2_SIZE 1 | 74 | #define MCT_U232_SET_CTS_SIZE 1 |
74 | 75 | ||
75 | /* | 76 | /* |
76 | * Baud rate (divisor) | 77 | * Baud rate (divisor) |
@@ -439,7 +440,7 @@ static int mct_u232_calculate_baud_rate(struct usb_serial *serial, int value); | |||
439 | * which says "U232-P9" ;-) | 440 | * which says "U232-P9" ;-) |
440 | * | 441 | * |
441 | * The circuit board inside the adaptor contains a Philips PDIUSBD12 | 442 | * The circuit board inside the adaptor contains a Philips PDIUSBD12 |
442 | * USB endpoint chip and a Phillips P87C52UBAA microcontroller with | 443 | * USB endpoint chip and a Philips P87C52UBAA microcontroller with |
443 | * embedded UART. Exhaustive documentation for these is available at: | 444 | * embedded UART. Exhaustive documentation for these is available at: |
444 | * | 445 | * |
445 | * http://www.semiconductors.philips.com/pip/p87c52ubaa | 446 | * http://www.semiconductors.philips.com/pip/p87c52ubaa |