Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 13 Sep 2002 05:33:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 13 Sep 2002 05:33:37 -0400 Received: from [61.149.34.153] ([61.149.34.153]:272 "HELO bj.soulinfo.com") by vger.kernel.org with SMTP id ; Fri, 13 Sep 2002 05:33:36 -0400 Date: Fri, 13 Sep 2002 17:35:40 +0800 From: Hu Gang To: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: [Patch]Make 2.5.3x serial can compile. Message-Id: <20020913173540.74c49e74.hugang@soulinfo.com> Organization: Beijing Soul X-Mailer: Sylpheed version 0.7.8claws9 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1316 Lines: 46 Hello all: The code is copy from arm 2.5.30 tree. ---------------------------------------------------- diff -ur ./8250.c /tmp/serial/8250.c --- ./8250.c Sun Sep 1 11:09:03 2002 +++ /tmp/serial/8250.c Fri Sep 13 11:23:29 2002 @@ -31,7 +31,8 @@ #include #include #include -#include +#include +#include #include #include diff -ur ./8250.h /tmp/serial/8250.h --- ./8250.h Sun Sep 1 11:08:52 2002 +++ /tmp/serial/8250.h Fri Sep 13 11:25:56 2002 @@ -58,4 +58,16 @@ #define SERIAL8250_SHARE_IRQS 1 #else #define SERIAL8250_SHARE_IRQS 0 + +#if defined(__alpha__) && !defined(CONFIG_PCI) +/* + * Digital did something really horribly wrong with the OUT1 and OUT2 + * lines on at least some ALPHA's. The failure mode is that if either + * is cleared, the machine locks up with endless interrupts. + */ +#define ALPHA_KLUDGE_MCR (UART_MCR_OUT2 | UART_MCR_OUT1) +#else +#define ALPHA_KLUDGE_MCR 0 +#endif + #endif -- - Hu Gang - 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/