linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]: Fixes CONFIG_CONFIG_CPM2_UART bug in tty_io.c
@ 2004-08-09 22:03 Jeff Angielski
  2004-08-09 23:25 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Angielski @ 2004-08-09 22:03 UTC (permalink / raw)
  To: LinuxPPC Developers

[-- 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();

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-10  0:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-09 22:03 [PATCH]: Fixes CONFIG_CONFIG_CPM2_UART bug in tty_io.c Jeff Angielski
2004-08-09 23:25 ` Tom Rini
2004-08-10  0:07   ` Jeff Angielski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).