Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 13:56:43 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r256896 - in user/ed/newcons/sys/dev/vt/hw: intel ofwfb xboxfb
Message-ID:  <201310221356.r9MDuhTD017891@svn.freebsd.org>

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



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