PERFORCE change 35059 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jul 26 14:45:28 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=35059
Change 35059 by marcel at 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)
*/
More information about the p4-projects
mailing list