Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 19:49:43 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r230469 - user/ed/newcons/sys/dev/vt
Message-ID:  <201201221949.q0MJnhgR090256@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201221949.q0MJnhgR090256>