linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvidiafb: Fix nv10 device setup
@ 2006-11-10  7:30 Jean Delvare
  2006-11-12 22:18 ` James Simmons
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2006-11-10  7:30 UTC (permalink / raw)
  To: Antonino Daplas; +Cc: linux-fbdev-devel

This "&&" was obviously meant to be a "&".

Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-12 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10  7:30 [PATCH] nvidiafb: Fix nv10 device setup Jean Delvare
2006-11-12 22:18 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).