All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4.20-PATCH: serial.c - allow debug compile
@ 2002-12-10  7:02 Pavel Janík
  0 siblings, 0 replies; only message in thread
From: Pavel Janík @ 2002-12-10  7:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcelo Tosatti

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

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

only message in thread, other threads:[~2002-12-10  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10  7:02 2.4.20-PATCH: serial.c - allow debug compile Pavel Janík

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.