| * Wrap-around code for a console using the |
| * DECstation PROM io-routines. |
| * Copyright (c) 1998 Harald Koerfgen |
| #include <linux/ptrace.h> |
| #include <linux/console.h> |
| #include <asm/dec/prom.h> |
| static void prom_console_write(struct console *co, const char *s, |
| for (i = 0; i < count; i++) { |
| static int __init prom_console_setup(struct console *co, char *options) |
| static struct console sercons = { |
| .write = prom_console_write, |
| .setup = prom_console_setup, |
| .flags = CON_PRINTBUFFER, |
| static int __init prom_console_init(void) |
| register_console(&sercons); |
| console_initcall(prom_console_init); |