linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Roberto Sanchez" <rcsanchez97@yahoo.es>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: jsimmons@infradead.org, geert@linux-m68k.org, torvalds@osdl.org
Subject: [PATCH] drivers/video/vesafb.c, kernel 2.6.0-test1
Date: Sun, 20 Jul 2003 04:11:33 +0200 (CEST)	[thread overview]
Message-ID: <20030720021133.53368.qmail@web41804.mail.yahoo.com> (raw)

This is a trivial patch I made against the 2.6.0-test1 kernel to fix the
"vesafb: abort, cannot ioremap video memory 0x8000000 @ 0xe8000000" error
on systems with 1 GB RAM or more trying to use the framebuffer.

The trivial fix was mentioned on this list in this message:
http://www.ussg.iu.edu/hypermail/linux/kernel/0303.3/1236.html

The thread for the above message started here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0303.3/1098.html

-Roberto Sanchez

Here is the patch (it is only a change to one line):

--- linux-2.6.0-test1.orig/drivers/video/vesafb.c       2003-07-13
23:30:36.000000000 -0400
+++ linux/drivers/video/vesafb.c        2003-07-19 20:30:18.000000000 -0400
@@ -227,7 +227,7 @@
        vesafb_defined.xres = screen_info.lfb_width;
        vesafb_defined.yres = screen_info.lfb_height;
        vesafb_fix.line_length = screen_info.lfb_linelength;
-       vesafb_fix.smem_len = screen_info.lfb_size * 65536;
+       vesafb_fix.smem_len = screen_info.lfb_width * screen_info.lfb_height *
screen_info.lfb_depth;
        vesafb_fix.visual   = (vesafb_defined.bits_per_pixel == 8) ?
                FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
                                                                               



___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

             reply	other threads:[~2003-07-20  1:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-20  2:11 Roberto Sanchez [this message]
2003-07-20 12:21 ` [PATCH] drivers/video/vesafb.c, kernel 2.6.0-test1 Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030720021133.53368.qmail@web41804.mail.yahoo.com \
    --to=rcsanchez97@yahoo.es \
    --cc=geert@linux-m68k.org \
    --cc=jsimmons@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).