diff options
| author | Ian Lepore <ian@FreeBSD.org> | 2019-12-09 21:55:44 +0000 |
|---|---|---|
| committer | Ian Lepore <ian@FreeBSD.org> | 2019-12-09 21:55:44 +0000 |
| commit | 24fa2fba9d5719809a960a4d6e05eaae0b0ea926 (patch) | |
| tree | bfec3eb75957021cbdd72853bda39168686f5621 /sys/dev/usb/serial | |
| parent | d3eca31ea6c33655af67add45a6007bcde549c56 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/serial')
| -rw-r--r-- | sys/dev/usb/serial/uslcom.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/serial/uslcom.c b/sys/dev/usb/serial/uslcom.c index d832da09c5a0..242fc5cbb3f6 100644 --- a/sys/dev/usb/serial/uslcom.c +++ b/sys/dev/usb/serial/uslcom.c @@ -624,7 +624,11 @@ uslcom_pre_param(struct ucom_softc *ucom, struct termios *t) case USLCOM_PARTNUM_CP2102: case USLCOM_PARTNUM_CP2103: default: - maxspeed = 921600; + /* + * Datasheet for cp2102 says 921600 max. Testing shows that + * 1228800 and 1843200 work fine. + */ + maxspeed = 1843200; break; } if (t->c_ospeed <= 0 || t->c_ospeed > maxspeed) |
