lkml.org 
[lkml]   [2001]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: How to compile kernel for Geode GX1
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.054 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site