summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2012-07-25 20:46:22 +0000
committergavin <gavin@FreeBSD.org>2012-07-25 20:46:22 +0000
commit137faba326a4253ee3bb842e9a6855d4a1a53c75 (patch)
tree4a8ff61a0d632001c8c0ee975b35bcd90156b970 /lib/libc
parent2c77f8a514c0bcfda9d372cb306737561fb5e151 (diff)
downloadFreeBSD-src-137faba326a4253ee3bb842e9a6855d4a1a53c75.zip
FreeBSD-src-137faba326a4253ee3bb842e9a6855d4a1a53c75.tar.gz
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. MFC after: 2 weeks
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud