lkml.org 
[lkml]   [2002]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2/3 Fix serial console flow control, serialP.h
--- linux-2.4.20-pre8/include/linux/serialP.h    Sat Aug  3 10:09:45 2002
+++ linux-2.4.20-pre8-gdt1/include/linux/serialP.h Fri Oct 11 13:48:33 2002
@@ -138,6 +138,37 @@
#endif

/*
+ * Serial console counters.
+ */
+struct serial_console_counters_t {
+ /* If flow control used: count of characters not printed as
+ * UART transmitter buffer didn't empty after waiting.
+ * If flow control not used: count of characters printed
+ * regardless that the UART transmitter buffer didn't empty
+ * after waiting.
+ */
+ int timeouts_tx;
+ /* Count of characters not printed as flow control used and
+ * DSR or DCD not asserted.
+ */
+ int timeouts_dsr;
+ int timeouts_dcd;
+ /* Count of characters not printed as flow control used and
+ * CTS not asserted after waiting.
+ */
+ int timeouts_cts;
+ /* Count of messages truncated or not printed as flow control
+ * configured and one of the timeout_* conditions occurred.
+ */
+ int messages_dropped;
+ /* Count of messages offered for printing. Number of
+ * successfully printed messages is (messages -
+ * messages_dropped).
+ */
+ int messages_total;
+};
+
+/*
* Structures and definitions for PCI support
*/
struct pci_dev;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.031 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site