From: Pavel@Janik.cz (Pavel Janík)
To: linux-kernel@vger.kernel.org
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: 2.4.20-PATCH: serial.c - allow debug compile
Date: Tue, 10 Dec 2002 08:02:57 +0100 [thread overview]
Message-ID: <m3y96ypd9a.fsf@Janik.cz> (raw)
Hi,
this patch allows compilation of serial device driver with debugging
turned on, please apply.
--- linux-2.4.20.orig/drivers/char/serial.c 2002-12-10 07:46:00.000000000 +0100
+++ linux-2.4.20/drivers/char/serial.c 2002-12-10 07:58:48.000000000 +0100
@@ -914,7 +914,7 @@
((iir & UART_IIR_ID) == UART_IIR_THRI))
transmit_chars(info, 0);
if (pass_counter++ > RS_ISR_PASS_LIMIT) {
-#if SERIAL_DEBUG_INTR
+#ifdef SERIAL_DEBUG_INTR
printk("rs_single loop break.\n");
#endif
break;
@@ -4181,7 +4181,7 @@
#ifdef SERIAL_DEBUG_PCI
printk(KERN_DEBUG " Subsystem ID %lx (intel 960)\n",
- (unsigned long) board->subdevice);
+ (unsigned long) dev->subsystem_device);
#endif
/* is firmware started? */
pci_read_config_dword(dev, 0x44, (void*) &oldval);
--
Pavel Janík
Doctor, it hurts, where is my problem?
-- Hubert Mantel with his crystal-ball
reply other threads:[~2002-12-10 7:05 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=m3y96ypd9a.fsf@Janik.cz \
--to=pavel@janik.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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