PERFORCE change 37472 for review
    Marcel Moolenaar 
    marcel at FreeBSD.org
       
    Wed Sep  3 20:41:50 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=37472
Change 37472 by marcel at marcel_nfs on 2003/09/03 20:41:01
	Make sure hardware flow control (both in and out) is
	disabled when we close the device.
Affected files ...
.. //depot/projects/uart/dev/uart/uart_tty.c#13 edit
Differences ...
==== //depot/projects/uart/dev/uart/uart_tty.c#13 (text+ko) ====
@@ -469,6 +469,10 @@
 	}
 	KASSERT(tp->t_state & TS_ISOPEN, ("foo"));
 
+	if (sc->sc_hwiflow)
+		UART_IOCTL(sc, UART_IOCTL_IFLOW, 0);
+	if (sc->sc_hwoflow)
+		UART_IOCTL(sc, UART_IOCTL_OFLOW, 0);
 	if (sc->sc_sysdev == NULL)
 		UART_SETSIG(sc, UART_SIG_DDTR | UART_SIG_DRTS);
 
    
    
More information about the p4-projects
mailing list