From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: [PATCH] nvidiafb: Fix nv10 device setup Date: Fri, 10 Nov 2006 08:30:02 +0100 Message-ID: <20061110083002.178878df.khali@linux-fr.org> Reply-To: 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 1GiQq3-0007XZ-DX for linux-fbdev-devel@lists.sourceforge.net; Thu, 09 Nov 2006 23:30:11 -0800 Received: from smtp-105-friday.nerim.net ([62.4.16.105] helo=kraid.nerim.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1GiQq1-0006Ys-W9 for linux-fbdev-devel@lists.sourceforge.net; Thu, 09 Nov 2006 23:30:11 -0800 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: Antonino Daplas Cc: linux-fbdev-devel@lists.sourceforge.net This "&&" was obviously meant to be a "&". Signed-off-by: Jean Delvare --- drivers/video/nvidia/nv_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.19-rc5.orig/drivers/video/nvidia/nv_setup.c 2006-09-21 21:23:53.000000000 +0200 +++ linux-2.6.19-rc5/drivers/video/nvidia/nv_setup.c 2006-11-10 08:21:53.000000000 +0100 @@ -262,7 +262,7 @@ #endif dev = pci_find_slot(0, 1); - if ((par->Chipset && 0xffff) == 0x01a0) { + if ((par->Chipset & 0xffff) == 0x01a0) { int amt = 0; pci_read_config_dword(dev, 0x7c, &amt); -- Jean Delvare ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642