]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make sure the baudrate specified with the BR tag is somewhat sane.
authorMarcel Moolenaar <marcel@FreeBSD.org>
Sun, 14 Nov 2004 21:38:22 +0000 (21:38 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Sun, 14 Nov 2004 21:38:22 +0000 (21:38 +0000)
commitecf4dc2505b4a9f5e98e66f7a09614ce22441297
treec4469ae5d1cacc8dbd1f933295b017658882c8ad
parent443ceb1c7efdfe3ca9476c719656db0f38a7e374
Make sure the baudrate specified with the BR tag is somewhat sane.
A baudrate we consider insane is silently replaced with 0. When the
baudrate is 0, we will not try to program the hardware. Instead we
leave the communication speed unaltered, maximizing the chance to
have a working console. Obviously this means we allow specifying a
0 baudrate for exactly that purpose.
sys/dev/uart/uart_subr.c