From: Nick Popoff <cryptic-lkml@bloodletting.com>
To: linux-kernel@vger.kernel.org
Subject: PATCH: Minor fix to serial debug option in 2.4.25
Date: Fri, 26 Mar 2004 19:17:49 -0800 [thread overview]
Message-ID: <200403261917.49587.cryptic-lkml@bloodletting.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
I work for a PC/104 embedded hardware company and I'm trying to get IRQ
sharing working for our serial boards and CPU boards with serial ports.
I'm having some trouble with set_multiport and discovered
SERIAL_DEBUG_INTR in serial.c as a helpful option. When I enabled it I
found a bug in one of the debug statements. I've attached a patch for
2.4.25 which fixes the bug.
I'm not on this list so please CC me if you have any questions or
comments. Thanks.
[-- Attachment #2: serial.debug.patch --]
[-- Type: text/x-diff, Size: 450 bytes --]
diff -Naur linux-2.4.25-orig/drivers/char/serial.c linux-2.4.25/drivers/char/serial.c
--- linux-2.4.25-orig/drivers/char/serial.c 2004-02-18 05:36:31.000000000 -0800
+++ linux-2.4.25/drivers/char/serial.c 2004-03-26 18:36:25.000000000 -0800
@@ -924,7 +924,7 @@
transmit_chars(info, 0);
#endif
if (pass_counter++ > RS_ISR_PASS_LIMIT) {
-#if SERIAL_DEBUG_INTR
+#ifdef SERIAL_DEBUG_INTR
printk("rs_single loop break.\n");
#endif
break;
reply other threads:[~2004-03-27 3:12 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=200403261917.49587.cryptic-lkml@bloodletting.com \
--to=cryptic-lkml@bloodletting.com \
--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
all inboxes | Powered by JetHome®