This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Match CYG_TTY_IN_FLAGS_* values in doc with source


Hi,

The following little patch updates the io/tty documentation to use the
same values for the CYG_TTY_IN_FLAGS_{ECHO,BINARY} defines as in the
source code.

Index: packages/io/common/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/common/current/ChangeLog,v
retrieving revision 1.23
diff -u -u -r1.23 ChangeLog
--- packages/io/common/current/ChangeLog	21 Sep 2004 09:49:01 -0000	1.23
+++ packages/io/common/current/ChangeLog	23 Dec 2004 15:16:49 -0000
@@ -1,3 +1,8 @@
+2004-12-23  Peter Korsgaard  <jacmet@sunsite.dk>
+
+	* doc/io.sgml: Match CYG_TTY_IN_FLAGS_ECHO and
+	CYG_TTY_IN_FLAGS_BINARY values with source code.
+
 2004-09-21  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* doc/io.sgml: Rename incorrect cyg_drv_mutex to cyg_drv_mutex_t.
Index: packages/io/common/current/doc/io.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/common/current/doc/io.sgml,v
retrieving revision 1.4
diff -u -u -r1.4 io.sgml
--- packages/io/common/current/doc/io.sgml	21 Sep 2004 09:49:02 -0000	1.4
+++ packages/io/common/current/doc/io.sgml	23 Dec 2004 15:16:55 -0000
@@ -870,20 +870,20 @@
 based terminals) will be mapped to &quot;\n&quot;. </PARA>
 
 <PROGRAMLISTING>
-#define CYG_TTY_IN_FLAGS_BINARY 0x0004 // No input processing
+#define CYG_TTY_IN_FLAGS_ECHO 0x0004 // Echo characters as processed
 </PROGRAMLISTING>
 
-<PARA>If this bit is set in <structfield>tty_in_flags</structfield>, the
-input will not be manipulated in any way before being placed in
-the user&rsquo;s buffer. </PARA>
+<PARA>
+If this bit is set in <structfield>tty_in_flags</structfield>, characters
+will be echoed back to the serial port as they are processed. </PARA>
 
 <PROGRAMLISTING>
-#define CYG_TTY_IN_FLAGS_ECHO 0x0008 // Echo characters as processed
+#define CYG_TTY_IN_FLAGS_BINARY 0x0008 // No input processing
 </PROGRAMLISTING>
 
-<PARA>
-If this bit is set in <structfield>tty_in_flags</structfield>, characters
-will be echoed back to the serial port as they are processed. </PARA>
+<PARA>If this bit is set in <structfield>tty_in_flags</structfield>, the
+input will not be manipulated in any way before being placed in
+the user&rsquo;s buffer. </PARA>
 
 </SECTION>
 
-- 
Bye, Peter Korsgaard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]