]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o A divisor of 0 is perfectly valid. Reserve -1 for an invalid
authormarcel <marcel@FreeBSD.org>
Fri, 12 May 2006 23:24:45 +0000 (23:24 +0000)
committermarcel <marcel@FreeBSD.org>
Fri, 12 May 2006 23:24:45 +0000 (23:24 +0000)
commit4bf82b99a793b8083c7ec37b5b66389a6532293c
tree3a18ede6d8065b47ad6c58db4266ca2a2d8aaa46
parent7770ce8a2ff98cb74122ccdf1524ea21e91408c0
o  A divisor of 0 is perfectly valid. Reserve -1 for an invalid
   divisor. This allows us to set the line speed to the maximum
   of 1/4 of the device clock.
o  Disable the baudrate generator before programming the line
   settings, including baudrate, and enable it afterwards.
sys/dev/uart/uart_dev_z8530.c