summaryrefslogtreecommitdiff
path: root/sys/dev/usb/hid.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2012-09-29 06:45:54 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2012-09-29 06:45:54 +0000
commit2d2d71639bbee64cbc4a5db2cf0299bc0aa2cf61 (patch)
tree947d442c3db7bb8086a6796a26575b5c1c4db198 /sys/dev/usb/hid.c
parent67c720e230cdcaa0bf3090e91d60e186b50667e9 (diff)
From Gavin Atkinson in FreeBSD SVN rev 238778:
The baud rate on CP1201/2/3 devices can be set in one of two ways: - The USLCOM_SET_BAUD_DIV command (0x01) - The USLCOM_SET_BAUD_RATE command (0x13) Devices based on the CP1204 will only accept the latter command, and ignore the former. As the latter command works on all chips that this driver supports, switch to always using it. A slight confusion here is that the previously used command was incorrectly named USLCOM_BAUD_RATE - even though we no longer use it, rename it to USLCOM_SET_BAUD_DIV to closer match the name used in the datasheet. This change reflects a similar change made in the Linux driver, which was submitted by preston.fick at silabs.com, and has been tested on all of the uslcom(4) devices I have to hand.
Diffstat (limited to 'sys/dev/usb/hid.c')
0 files changed, 0 insertions, 0 deletions