Date: Fri, 12 May 2006 23:24:45 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/uart uart_dev_z8530.c Message-ID: <200605122324.k4CNOjYt003972@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2006-05-12 23:24:45 UTC
FreeBSD src repository
Modified files:
sys/dev/uart uart_dev_z8530.c
Log:
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.
Revision Changes Path
1.18 +15 -7 src/sys/dev/uart/uart_dev_z8530.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605122324.k4CNOjYt003972>
