Gxt2000p Patch

Joseph Manojlovich manojlov at cse.psu.edu
Sun Nov 11 10:57:47 EST 2001


Here's the patch which I think fixes the video card issues I described
in my last email.

Joe Manojlovich
manojlov at cse.psu.edu

--- linuxppc/drivers/video/offb.c	Sat Nov 10 18:04:42 2001
+++ offb.c	Sat Nov 10 18:43:36 2001
@@ -393,7 +393,8 @@
     unsigned long res_size = pitch*height*depth/8;

     if (!request_mem_region(res_start, res_size, "offb"))
-	return;
+		if (!(dp && device_is_compatible(dp, "pci1014,b7")))
+        	return;

     printk(KERN_INFO "Using unsupported %dx%d %s at %lx, depth=%d, pitch=%d\n",
 	   width, height, name, address, depth, pitch);

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list