svn commit: r230469 - user/ed/newcons/sys/dev/vt
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Jan 22 19:49:43 UTC 2012
Author: nwhitehorn
Date: Sun Jan 22 19:49:43 2012
New Revision: 230469
URL: http://svn.freebsd.org/changeset/base/230469
Log:
Make sure to initialize early-boot keyboard drivers, as is apparently
required for the Sun UART-based keybaord driver to attach correctly. With
this change, vt(4) now works perfectly on sparc64 (at least on supported
hardware).
Modified:
user/ed/newcons/sys/dev/vt/vt_core.c
Modified: user/ed/newcons/sys/dev/vt/vt_core.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt_core.c Sun Jan 22 19:37:40 2012 (r230468)
+++ user/ed/newcons/sys/dev/vt/vt_core.c Sun Jan 22 19:49:43 2012 (r230469)
@@ -599,6 +599,9 @@ vtterm_cnprobe(struct terminal *tm, stru
return;
}
+ /* Initialize any early-boot keyboard drivers */
+ kbd_configure(KB_CONF_PROBE_ONLY);
+
vd->vd_unit = atomic_fetchadd_int(&vt_unit, 1);
sprintf(cp->cn_name, "ttyv%r", VT_UNIT(vw));
More information about the svn-src-user
mailing list