diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2009-10-02 22:30:44 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2009-10-02 22:30:44 +0000 |
commit | 0acb3c4aacb5cb3650e5540a56c28f6325da3c62 (patch) | |
tree | c6fe318664ecc37270ff8564c51d113fe9d87934 /sys/dev/uart/uart_core.c | |
parent | afd8e45b4569be9094fb96d971b2206f3eac6228 (diff) | |
download | src-0acb3c4aacb5cb3650e5540a56c28f6325da3c62.tar.gz src-0acb3c4aacb5cb3650e5540a56c28f6325da3c62.zip |
Fix RTS/CTS flow control, broken by the TTY overhaul. The new TTY
interface is fairly simple WRT dealing with flow control, but
needed 2 new RX buffer functions with "get-char-from-buf" separated
from "advance-buf-pointer" so that the pointer could be advanced
only when ttydisc_rint() succeeded.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=197721
Diffstat (limited to 'sys/dev/uart/uart_core.c')
-rw-r--r-- | sys/dev/uart/uart_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index 932c08ab4638..98b044f7a7eb 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -91,7 +91,7 @@ uart_getrange(struct uart_class *uc) * Schedule a soft interrupt. We do this on the 0 to !0 transition * of the TTY pending interrupt status. */ -static void +void uart_sched_softih(struct uart_softc *sc, uint32_t ipend) { uint32_t new, old; |