Skip to contentSkip to conversation

nvidiafb: Fix nv10 device setup

PATCH In review Jean Delvare 2 participants 2 messages Nov 10, 2006 – Nov 12, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvidiafb: Fix nv10 device setup

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

---
 drivers/video/nvidia/nv_setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/nvidia/nv_setup.c +1 -1
@@ -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);
Signature · 7 lines
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
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Jean Delvare

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

---
drivers/video/nvidia/nv_setup.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

drivers/video/nvidia/nv_setup.c line 268

Quoted 8 lines
drivers/video/nvidia/nv_setup.c +1 -1
@@ -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);

-------------------------------------------------------------------------
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