From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Januszewski Subject: [PATCH 5/7] uvesafb: use VISUAL_TRUECOLOR as the default visual Date: Sat, 11 Aug 2007 16:41:43 +0200 Message-ID: <20070811144143.GF13632@spock.one.pl> Reply-To: spock@gentoo.org, linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IJsAJ-0005gM-KW for linux-fbdev-devel@lists.sourceforge.net; Sat, 11 Aug 2007 07:42:15 -0700 Received: from ipn26-148.piekary.net ([83.238.26.148] helo=spock.one.pl) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IJsAJ-0004OG-9E for linux-fbdev-devel@lists.sourceforge.net; Sat, 11 Aug 2007 07:42:07 -0700 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: linux-fbdev-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Set uvesafb's default visual to truecolor. This prevents fbcon from being detected as 'mono' when using uvesafb. Signed-off-by: Michal Januszewski --- diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index e480670..2f1e5af 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c @@ -37,6 +37,7 @@ static struct fb_fix_screeninfo uvesafb_fix __devinitdata = { .id = "VESA VGA", .type = FB_TYPE_PACKED_PIXELS, .accel = FB_ACCEL_NONE, + .visual = FB_VISUAL_TRUECOLOR, }; static int mtrr __devinitdata = 3; /* enable mtrr by default */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/