From patchwork Sat Mar 13 19:19:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Miller X-Patchwork-Id: 47716 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5B684B7D52 for ; Sun, 14 Mar 2010 06:19:27 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758657Ab0CMTTV (ORCPT ); Sat, 13 Mar 2010 14:19:21 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:41575 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758644Ab0CMTTU (ORCPT ); Sat, 13 Mar 2010 14:19:20 -0500 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 9551A24C097; Sat, 13 Mar 2010 11:19:42 -0800 (PST) Date: Sat, 13 Mar 2010 11:19:42 -0800 (PST) Message-Id: <20100313.111942.115594162.davem@davemloft.net> To: fberckel@xs4all.nl Cc: sparclinux@vger.kernel.org Subject: Re: XVR-500 additional pci ids From: David Miller In-Reply-To: <20100313.111241.60535203.davem@davemloft.net> References: <20100312.000822.176180955.davem@davemloft.net> <1268503048.1775.66.camel@deblnxsrv254.localdomain> <20100313.111241.60535203.davem@davemloft.net> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org From: David Miller Date: Sat, 13 Mar 2010 11:12:41 -0800 (PST) > From: Frans van Berckel > Date: Sat, 13 Mar 2010 18:57:28 +0100 > >> Next the screen is switching into blue letters, it scrolls on and on, as >> expected. At the end it prints a blinking cursor. It freezes the cursor. >> But the system goes on and is still accessible with ssh. > > So once the kernel switches from the PROM console output and > into the framebuffer driver, the characters printed are blue? > > What color is the screen background when this happens? Meanwhile I think I know what the problem is, please try this patch on top of what you have: --- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/video/sunxvr1000.c b/drivers/video/sunxvr1000.c index 8066e88..a8248c0 100644 --- a/drivers/video/sunxvr1000.c +++ b/drivers/video/sunxvr1000.c @@ -52,7 +52,7 @@ static int gfb_setcolreg(unsigned regno, green >>= 8; blue >>= 8; - value = (blue << 24) | (green << 16) | (red << 8); + value = (blue << 16) | (green << 8) | red; ((u32 *)info->pseudo_palette)[regno] = value; }