summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_core.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-10-02 22:30:44 +0000
committermarcel <marcel@FreeBSD.org>2009-10-02 22:30:44 +0000
commit6a8474f5b04346fb12ab646b3e74f79cb3e9d791 (patch)
treec6fe318664ecc37270ff8564c51d113fe9d87934 /sys/dev/uart/uart_core.c
parent86b3bcad7dc713b1ee5da3749b9f6e8662a9f6ba (diff)
downloadFreeBSD-src-6a8474f5b04346fb12ab646b3e74f79cb3e9d791.zip
FreeBSD-src-6a8474f5b04346fb12ab646b3e74f79cb3e9d791.tar.gz
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
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 932c08a..98b044f 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;
OpenPOWER on IntegriCloud