From: Glen Turner <glen.turner@aarnet.edu.au>
To: Linux kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2/3 Fix serial console flow control, serialP.h
Date: Mon, 14 Oct 2002 10:23:23 +0930 [thread overview]
Message-ID: <3DAA1583.10103@aarnet.edu.au> (raw)
--- 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;
reply other threads:[~2002-10-14 0:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DAA1583.10103@aarnet.edu.au \
--to=glen.turner@aarnet.edu.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox