Release 4.10 arch/mips/fw/arc/arc_con.c
/*
* Wrap-around code for a console using the
* ARC io-routines.
*
* Copyright (c) 1998 Harald Koerfgen
* Copyright (c) 2001 Ralf Baechle
* Copyright (c) 2002 Thiemo Seufer
*/
#include <linux/tty.h>
#include <linux/major.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/fs.h>
#include <asm/sgialib.h>
static void prom_console_write(struct console *co, const char *s,
unsigned count)
{
/* Do each character */
while (count--) {
if (*s == '\n')
prom_putchar('\r');
prom_putchar(*s++);
}
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 37 | 80.43% | 1 | 50.00% |
ralf baechle | ralf baechle | 9 | 19.57% | 1 | 50.00% |
| Total | 46 | 100.00% | 2 | 100.00% |
static int prom_console_setup(struct console *co, char *options)
{
return !(prom_flags & PROM_FLAG_USE_AS_CONSOLE);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 17 | 73.91% | 1 | 50.00% |
ralf baechle | ralf baechle | 6 | 26.09% | 1 | 50.00% |
| Total | 23 | 100.00% | 2 | 100.00% |
static struct console arc_cons = {
.name = "arc",
.write = prom_console_write,
.setup = prom_console_setup,
.flags = CON_PRINTBUFFER,
.index = -1,
};
/*
* Register console.
*/
static int __init arc_console_init(void)
{
register_console(&arc_cons);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 13 | 72.22% | 1 | 33.33% |
ralf baechle | ralf baechle | 4 | 22.22% | 1 | 33.33% |
alan cox | alan cox | 1 | 5.56% | 1 | 33.33% |
| Total | 18 | 100.00% | 3 | 100.00% |
console_initcall(arc_console_init);
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 98 | 67.59% | 1 | 33.33% |
ralf baechle | ralf baechle | 41 | 28.28% | 1 | 33.33% |
alan cox | alan cox | 6 | 4.14% | 1 | 33.33% |
| Total | 145 | 100.00% | 3 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.