From: Hu Gang <hugang@soulinfo.com>
To: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [Patch]Make 2.5.3x serial can compile.
Date: Fri, 13 Sep 2002 17:35:40 +0800 [thread overview]
Message-ID: <20020913173540.74c49e74.hugang@soulinfo.com> (raw)
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 <linux/console.h>
#include <linux/sysrq.h>
#include <linux/serial_reg.h>
-#include <linux/serialP.h>
+#include <linux/circ_buf.h>
+#include <linux/serial.h>
#include <linux/delay.h>
#include <asm/io.h>
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
next reply other threads:[~2002-09-13 9:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-13 9:35 Hu Gang [this message]
2002-09-13 15:58 ` David Woodhouse
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=20020913173540.74c49e74.hugang@soulinfo.com \
--to=hugang@soulinfo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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
all inboxes | Powered by JetHome®