| * choose the right serial device at boot time |
| * sercons.c is designed to allow the three different kinds |
| * of serial devices under the decstation world to co-exist |
| * in the same kernel. The idea here is to abstract |
| * the pieces of the drivers that are common to this file |
| * so that they do not clash at compile time and runtime. |
| * removed the PROM console as this is not a real serial |
| * device. Added support for PROM console in drivers/char/tty_io.c |
| * instead. Although it may work to enable more than one |
| * console device I strongly recommend to use only one. |
| #include <asm/dec/machtype.h> |
| extern int zs_init(void); |
| #ifdef CONFIG_SERIAL_CONSOLE |
| extern void zs_serial_console_init(void); |
| /* rs_init - starts up the serial interface - |
| handle normal case of starting up the serial interface */ |
| #ifdef CONFIG_SERIAL_CONSOLE |
| /* serial_console_init handles the special case of starting |
| * up the console on the serial port |
| static int __init decserial_console_init(void) |
| zs_serial_console_init(); |
| console_initcall(decserial_console_init); |