svn commit: r199308 - projects/ppc64/sys/powerpc/mambo
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Nov 16 04:09:12 UTC 2009
Author: nwhitehorn
Date: Mon Nov 16 04:09:11 2009
New Revision: 199308
URL: http://svn.freebsd.org/changeset/base/199308
Log:
Make this partly work from userspace. Input is still dead.
Modified:
projects/ppc64/sys/powerpc/mambo/mambo_console.c
Modified: projects/ppc64/sys/powerpc/mambo/mambo_console.c
==============================================================================
--- projects/ppc64/sys/powerpc/mambo/mambo_console.c Mon Nov 16 03:52:18 2009 (r199307)
+++ projects/ppc64/sys/powerpc/mambo/mambo_console.c Mon Nov 16 04:09:11 2009 (r199308)
@@ -86,7 +86,6 @@ CONSOLE_DRIVER(mambo);
static void
cn_drvinit(void *unused)
{
- char output[32];
struct tty *tp;
if (mambo_consdev.cn_pri != CN_DEAD &&
@@ -95,7 +94,8 @@ cn_drvinit(void *unused)
return;
tp = tty_alloc(&mambo_ttydevsw, NULL);
- tty_makedev(tp, NULL, "%s", output);
+ tty_init_console(tp, 0);
+ tty_makedev(tp, NULL, "%s", "mambocons");
tty_makealias(tp, "mambocons");
}
}
More information about the svn-src-projects
mailing list