LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Angielski <jangiels@speakeasy.net>
To: LinuxPPC Developers <linuxppc-dev@lists.linuxppc.org>
Subject: [PATCH]: Fixes CONFIG_CONFIG_CPM2_UART bug in tty_io.c
Date: 09 Aug 2004 18:03:05 -0400	[thread overview]
Message-ID: <1092088985.4368.8.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

Here is a very small patch to fix a configuration bug in
drivers/char/tty_io.c where the CPM2 UART would not work for non-8xx
targets.

Cheers,
Jeff Angielski



[-- Attachment #2: cpm2uart.patch --]
[-- Type: text/plain, Size: 784 bytes --]

===== drivers/char/tty_io.c 1.33 vs edited =====
--- 1.33/drivers/char/tty_io.c	Tue Aug  3 16:53:10 2004
+++ edited/drivers/char/tty_io.c	Mon Aug  9 14:17:34 2004
@@ -2250,7 +2250,7 @@
 	au1x00_serial_console_init();
 #endif
 #ifdef CONFIG_SERIAL_CONSOLE
-#if defined(CONFIG_8xx) || defined(CONFIG_CONFIG_CPM2_UART)
+#if defined(CONFIG_8xx) || defined(CONFIG_CPM2_UART)
 	console_8xx_init();
 #elif defined(CONFIG_MAC_SERIAL) && defined(CONFIG_SERIAL)
 	if (_machine == _MACH_Pmac)
@@ -2439,7 +2439,7 @@
 #ifdef CONFIG_SPECIALIX
 	specialix_init();
 #endif
-#if (defined(CONFIG_8xx) || (defined(CONFIG_CPM2) && defined(CONFIG_CONFIG_CPM2_UART)))
+#if (defined(CONFIG_8xx) || (defined(CONFIG_CPM2) && defined(CONFIG_CPM2_UART)))
 	rs_8xx_init();
 #endif /* CONFIG_8xx */
 	pty_init();

             reply	other threads:[~2004-08-09 22:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 22:03 Jeff Angielski [this message]
2004-08-09 23:25 ` [PATCH]: Fixes CONFIG_CONFIG_CPM2_UART bug in tty_io.c Tom Rini
2004-08-10  0:07   ` Jeff Angielski

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=1092088985.4368.8.camel@localhost.localdomain \
    --to=jangiels@speakeasy.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /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