Re: How to compile kernel for Geode GX1

From: Jordan Crouse (jordanc@Censoft.com)
Date: Wed May 09 2001 - 09:09:40 EST


If you are using the vesa framebuffer on the Geode, you will also want to
make a minor change to vesafb.c. Because the framebuffer is located within
the processor itself, requesting the memory region always caused my Geode
boxes to freeze. I think that we can safely eliminate this call, since we
know the memory is always available:

--- /usr/src/linux/drivers/video/vesafb.c Thu Mar 8 10:35:53 2001
+++ vesafb.c Tue Mar 27 09:13:22 2001
@@ -519,12 +519,14 @@
         video_visual = (video_bpp == 8) ?
                 FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
 
+#ifdef NOTUSED
         if (!request_mem_region(video_base, video_size, "vesafb")) {
                 printk(KERN_ERR
                        "vesafb: abort, cannot reserve video memory at 0x%lx\n",
                         video_base);
                 return -EBUSY;
         }
+#endif
 
         video_vbase = ioremap(video_base, video_size);
         if (!video_vbase) {

Jordan

-- 
-- embed this!  http://www.microwindows.org --

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:18 EST