From linux-kernel-owner+willy=40w.ods.org@vger.kernel.org Tue Dec 10 08:18:10 2002 Return-Path: Received: from vax.home.local (vax [10.2.1.2]) by alpha.home.local (8.12.4/8.12.1) with ESMTP id gBA7IAPq009396 for ; Tue, 10 Dec 2002 08:18:10 +0100 Received: from vger.kernel.org (vger.kernel.org [209.116.70.75]) by vax.home.local (8.12.2/8.12.1) with ESMTP id gBA7GEti006521 for ; Tue, 10 Dec 2002 08:16:15 +0100 (CET) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Dec 2002 02:05:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Dec 2002 02:05:18 -0500 Received: from p0022.as-l043.contactel.cz ([194.108.242.22]:4594 "EHLO SnowWhite.janik.cz") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Tue, 10 Dec 2002 02:05:17 -0500 Received: by SnowWhite.janik.cz (Postfix, from userid 500) id 48D634FA94; Tue, 10 Dec 2002 08:14:27 +0100 (CET) To: linux-kernel@vger.kernel.org Cc: Marcelo Tosatti Subject: 2.4.20-PATCH: serial.c - allow debug compile From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) X-Face: $"d&^B_IKlTHX!y2d,3;grhwjOBqOli]LV`6d]58%5'x/kBd7.MO&n3bJ@Zkf&RfBu|^qL+ ?/Re{MpTqanXS2'~Qp'J2p^M7uM:zp[1Xq#{|C!*'&NvCC[9!|=>#qHqIhroq_S"MH8nSH+d^9*BF: iHiAs(t(~b#1.{w.d[=Z Date: Tue, 10 Dec 2002 08:02:57 +0100 Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i386-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org Status: RO Content-Length: 1152 Lines: 36 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/