svn commit: r256896 - in user/ed/newcons/sys/dev/vt/hw: intel ofwfb xboxfb

Aleksandr Rybalko ray at FreeBSD.org
Tue Oct 22 13:56:44 UTC 2013


Author: ray
Date: Tue Oct 22 13:56:42 2013
New Revision: 256896
URL: http://svnweb.freebsd.org/changeset/base/256896

Log:
  Hardware specific drivers have bigger priority (over VGA for example).
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  user/ed/newcons/sys/dev/vt/hw/intel/intel.c
  user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c
  user/ed/newcons/sys/dev/vt/hw/xboxfb/xboxfb.c

Modified: user/ed/newcons/sys/dev/vt/hw/intel/intel.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/hw/intel/intel.c	Tue Oct 22 13:56:30 2013	(r256895)
+++ user/ed/newcons/sys/dev/vt/hw/intel/intel.c	Tue Oct 22 13:56:42 2013	(r256896)
@@ -65,8 +65,8 @@ static vd_bitbltchr_t	intel_vtbitbltchr;
 static struct vt_driver intel_vtops = {
 	.vd_init	= intel_vtinit,
 	.vd_bitbltchr	= intel_vtbitbltchr,
-	/* Prefer to use KMS, so GENERIC - 10 */
-	.vd_priority	= VD_PRIORITY_GENERIC - 10,
+	/* Prefer to use KMS, so GENERIC + 10 */
+	.vd_priority	= VD_PRIORITY_GENERIC + 10,
 };
 
 struct intel_softc {

Modified: user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c	Tue Oct 22 13:56:30 2013	(r256895)
+++ user/ed/newcons/sys/dev/vt/hw/ofwfb/ofwfb.c	Tue Oct 22 13:56:42 2013	(r256896)
@@ -66,7 +66,7 @@ static const struct vt_driver vt_ofwfb_d
 	.vd_init	= ofwfb_init,
 	.vd_blank	= ofwfb_blank,
 	.vd_bitbltchr	= ofwfb_bitbltchr,
-	.vd_priority	= VD_PRIORITY_GENERIC,
+	.vd_priority	= VD_PRIORITY_GENERIC+1,
 };
 
 static struct ofwfb_softc ofwfb_conssoftc;

Modified: user/ed/newcons/sys/dev/vt/hw/xboxfb/xboxfb.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/hw/xboxfb/xboxfb.c	Tue Oct 22 13:56:30 2013	(r256895)
+++ user/ed/newcons/sys/dev/vt/hw/xboxfb/xboxfb.c	Tue Oct 22 13:56:42 2013	(r256896)
@@ -67,7 +67,7 @@ static const struct vt_driver vt_xbox_dr
 	.vd_init	= xbox_init,
 	.vd_blank	= xbox_blank,
 	.vd_bitbltchr	= xbox_bitbltchr,
-	.vd_priority	= VD_PRIORITY_GENERIC,
+	.vd_priority	= VD_PRIORITY_GENERIC+1,
 };
 
 static struct xbox_softc xbox_conssoftc;


More information about the svn-src-user mailing list