public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2/3 Fix serial console flow control, serialP.h
@ 2002-10-14  0:53 Glen Turner
  0 siblings, 0 replies; only message in thread
From: Glen Turner @ 2002-10-14  0:53 UTC (permalink / raw)
  To: Linux kernel

--- 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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-14  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-14  0:53 [PATCH] 2/3 Fix serial console flow control, serialP.h Glen Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox