]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
uart: Improve console specification parsing
authorWarner Losh <imp@FreeBSD.org>
Thu, 14 Jan 2021 20:43:15 +0000 (13:43 -0700)
committerWarner Losh <imp@FreeBSD.org>
Fri, 15 Jan 2021 00:47:04 +0000 (17:47 -0700)
commitd1949353e5f57678f227b0b283cb63f367174e96
tree22dfe5b448aa7d5b0e12fe85b8838d198024e951
parent8818758a6ea72e43951acb3e81630483a55b72e4
uart: Improve console specification parsing

Print warning when we can't parse a console specification (this may
not appear on the console, but will appear in dmesg).

Also, accept key:value and key=value. There's no reason not to
and it makes this more forgiving of mistakes.

Reviewed by: rpokala@
Differential Revision: https://reviews.freebsd.org/D28168
sys/dev/uart/uart_subr.c