From owner-svn-src-user@FreeBSD.ORG Thu Oct 31 11:51:19 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 116F0342; Thu, 31 Oct 2013 11:51:19 +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 F35B02629; Thu, 31 Oct 2013 11:51:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9VBpIoN066160; Thu, 31 Oct 2013 11:51:18 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9VBpIxf066158; Thu, 31 Oct 2013 11:51:18 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201310311151.r9VBpIxf066158@svn.freebsd.org> From: Aleksandr Rybalko Date: Thu, 31 Oct 2013 11:51:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r257437 - in user/ed/newcons/sys: conf dev/fb 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: Thu, 31 Oct 2013 11:51:19 -0000 Author: ray Date: Thu Oct 31 11:51:18 2013 New Revision: 257437 URL: http://svnweb.freebsd.org/changeset/base/257437 Log: Define fb newbus interface to connect framebuffer providers with fbd. Sponsored by: The FreeBSD Foundation Added: user/ed/newcons/sys/dev/fb/fb_if.m Modified: user/ed/newcons/sys/conf/files Modified: user/ed/newcons/sys/conf/files ============================================================================== --- user/ed/newcons/sys/conf/files Thu Oct 31 11:38:25 2013 (r257436) +++ user/ed/newcons/sys/conf/files Thu Oct 31 11:51:18 2013 (r257437) @@ -1400,6 +1400,7 @@ dev/ex/if_ex_pccard.c optional ex pccar dev/exca/exca.c optional cbb dev/fatm/if_fatm.c optional fatm pci dev/fb/fbd.c optional fbd | vt +dev/fb/fb_if.m optional fbd | vt dev/fb/splash.c optional splash dev/fdt/fdt_common.c optional fdt dev/fdt/fdt_ic_if.m optional fdt Added: user/ed/newcons/sys/dev/fb/fb_if.m ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/ed/newcons/sys/dev/fb/fb_if.m Thu Oct 31 11:51:18 2013 (r257437) @@ -0,0 +1,13 @@ +#include +#include + +INTERFACE fb; + +METHOD int pin_max { + device_t dev; + int *npins; +}; + +METHOD struct fb_info * getinfo { + device_t dev; +};