Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2003 14:45:26 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 35059 for review
Message-ID:  <200307262145.h6QLjQoq005366@repoman.freebsd.org>

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

Change 35059 by marcel@marcel_nfs on 2003/07/26 14:45:15

	Add defines for modem and line signals.

Affected files ...

.. //depot/projects/uart/dev/uart/uart_bus.h#9 edit

Differences ...

==== //depot/projects/uart/dev/uart/uart_bus.h#9 (text+ko) ====

@@ -50,6 +50,17 @@
 #define	UART_STAT_OVERRUN	0x0400
 #define	UART_STAT_PARERR	0x0800
 
+/* Modem and line signals */
+#define	UART_SIG_DTR		0x0001
+#define	UART_SIG_RTS		0x0002
+#define	UART_SIG_DCR		0x0100
+#define	UART_SIG_CTS		0x0200
+#define	UART_SIG_DCD		0x0400
+#define	UART_SIG_RI		0x0800
+
+#define	UART_SIGMASK_DTE	0x00FF
+#define	UART_SIGMASK_DCE	0xFF00
+
 /*
  * UART class & instance (=softc)
  */



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