Skip to contentSkip to conversation

: Fixes CONFIG_CONFIG_CPM2_UART bug in tty_io.c

PATCH In review Jeff Angielski 2 participants 3 messages Aug 9, 2004 – Aug 10, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Fixes CONFIG_CONFIG_CPM2_UART bug in tty_io.c

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

===== drivers/char/tty_io.c 1.33 vs edited =====

drivers/char/tty_io.c +2 -2
@@ -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();
#2 lore raw

It was for the BK linuxppc-2.4 tree. However, it looks like Dan already make a patch and fixed it himself.

$ bk sccslog tty_io.c
drivers/char/tty_io.c
  1.34 04/08/06 17:13:21 [email protected] +2 -2
  Typos that needed fixing.

Jeff

Quoted 6 lines · Tom Rini
Quoted 3 lines · Jeff Angielski

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.

Quoted 6 lines

What tree is this against? Thanks.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/