aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart_core.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2009-10-02 22:30:44 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2009-10-02 22:30:44 +0000
commit0acb3c4aacb5cb3650e5540a56c28f6325da3c62 (patch)
treec6fe318664ecc37270ff8564c51d113fe9d87934 /sys/dev/uart/uart_core.c
parentafd8e45b4569be9094fb96d971b2206f3eac6228 (diff)
downloadsrc-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.c2
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;