Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2003 15:23:09 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 36271 for review
Message-ID:  <200308162223.h7GMN9Kn010114@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=36271

Change 36271 by marcel@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308162223.h7GMN9Kn010114>