cvs commit: src/sys/dev/uart uart_bus.h uart_core.c
Marcel Moolenaar
marcel at FreeBSD.org
Sun Nov 14 23:12:15 GMT 2004
marcel 2004-11-14 23:12:14 UTC
FreeBSD src repository
Modified files:
sys/dev/uart uart_bus.h uart_core.c
Log:
Add UART_IOCTL_BAUD to allow us to query the hardware about the
current baudrate setting. Use this ioctl() when we don't know the
baudrate of the sysdev (as represented by a 0 value). When the
ioctl() fails, e.g. when the backend hasn't implemented it or the
hardware doesn't provide the means to determine its current baudrate
setting, we invalidate the baudrate setting by setting it to -1.
None of the backends currently implement the new ioctl().
Revision Changes Path
1.8 +1 -0 src/sys/dev/uart/uart_bus.h
1.11 +5 -0 src/sys/dev/uart/uart_core.c
More information about the cvs-src
mailing list