patch-2.3.99-pre9 linux/drivers/char/tty_io.c

Next file: linux/drivers/char/videodev.c
Previous file: linux/drivers/char/tea6420.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -146,8 +146,8 @@
 extern int serial167_init(void);
 extern long serial167_console_init(void);
 #endif
-#ifdef CONFIG_8xx
-extern console_8xx_init(void);
+#if (defined(CONFIG_8xx) || defined(CONFIG_8260))
+extern void console_8xx_init(void);
 extern int rs_8xx_init(void);
 #endif /* CONFIG_8xx */
 #ifdef CONFIG_HWC
@@ -2194,7 +2194,7 @@
 	con_init();
 #endif
 #ifdef CONFIG_SERIAL_CONSOLE
-#ifdef CONFIG_8xx
+#if (defined(CONFIG_8xx) || defined(CONFIG_8260))
 	console_8xx_init();
 #elif defined(CONFIG_SERIAL) 	
 	serial_console_init();
@@ -2340,7 +2340,7 @@
 #ifdef CONFIG_RIO
 	rio_init();
 #endif
-#ifdef CONFIG_8xx
+#if (defined(CONFIG_8xx) || defined(CONFIG_8260))
         rs_8xx_init();
 #endif /* CONFIG_8xx */
 	pty_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)