patch-2.2.4 linux/drivers/video/offb.c

Next file: linux/drivers/video/pm2fb.c
Previous file: linux/drivers/video/leofb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/drivers/video/offb.c linux/drivers/video/offb.c
@@ -476,6 +476,9 @@
 	    printk("no framebuffer address found for %s\n", dp->full_name);
 	    return;
 	}
+	/* needed for the gxt on the f50 -- Cort */
+	if ( dp->addrs[i].address < isa_mem_base )
+		(u_long)dp->addrs[i].address += isa_mem_base;
 	address = (u_long)dp->addrs[i].address;
 
 	/* kludge for valkyrie */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)