mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: Minor fix to serial debug option in 2.4.25
@ 2004-03-27  3:17 Nick Popoff
  0 siblings, 0 replies; only message in thread
From: Nick Popoff @ 2004-03-27  3:17 UTC (permalink / raw)
  To: linux-kernel

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

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

only message in thread, other threads:[~2004-03-27  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-27  3:17 PATCH: Minor fix to serial debug option in 2.4.25 Nick Popoff

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®