PERFORCE change 36856 for review

Marcel Moolenaar marcel at FreeBSD.org
Sun Aug 24 13:41:51 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=36856

Change 36856 by marcel at marcel_nfs on 2003/08/24 13:41:36

	Process DDCD in the TTY swi handler. To support software
	CRTSCTS, we need to process DRTS and DCTS in the interrupt
	handler.  That's coming up soon.

Affected files ...

.. //depot/projects/uart/dev/uart/uart_core.c#22 edit

Differences ...

==== //depot/projects/uart/dev/uart/uart_core.c#22 (text+ko) ====

@@ -205,9 +205,8 @@
 
 	if (pend & UART_IPEND_SIGCHG) {
 		sig = pend & UART_IPEND_SIGMASK;
-		/*
-		 * TODO: process signals.
-		 */
+		if (sig & UART_SIG_DDCD)
+			(*linesw[tp->t_line].l_modem)(tp, sig & UART_SIG_DCD);
 	}
 
 	if (pend & UART_IPEND_TXIDLE) {


More information about the p4-projects mailing list