From owner-svn-src-user@FreeBSD.ORG Tue Oct 22 13:56:44 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F2BEB204; Tue, 22 Oct 2013 13:56:43 +0000 (UTC) (envelope-from ray@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C5BAA2D10; Tue, 22 Oct 2013 13:56:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9MDuhcq017896; Tue, 22 Oct 2013 13:56:43 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9MDuhTD017891; Tue, 22 Oct 2013 13:56:43 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201310221356.r9MDuhTD017891@svn.freebsd.org> From: Aleksandr Rybalko Date: Tue, 22 Oct 2013 13:56:43 +0000 (UTC) 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 X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 13:56:44 -0000 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;