PERFORCE change 36271 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sat Aug 16 15:23:11 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=36271
Change 36271 by marcel at marcel_nfs on 2003/08/16 15:22:47
TIOCM_LE is always enabled when the device is opened.
Copied from sio(4). Don't think I know what I'm doing :-)
Affected files ...
.. //depot/projects/uart/dev/uart/uart_core.c#16 edit
Differences ...
==== //depot/projects/uart/dev/uart/uart_core.c#16 (text+ko) ====
@@ -697,7 +697,7 @@
break;
case TIOCMGET:
sig = UART_GETSIG(sc);
- bits = 0;
+ bits = TIOCM_LE;
if (sig & UART_SIG_DTR)
bits |= TIOCM_DTR;
if (sig & UART_SIG_RTS)
More information about the p4-projects
mailing list