VRAM protection in setup.c

From: Akira YOSHIYAMA (yosshy@cts.ne.jp)
Date: Sat Feb 19 2000 - 14:08:15 EST


Hi all,

  I wanted to use VGA16 framebuffer on 2.3.x but couldn't. I've read
  some codes, and found the reason in arch/i386/kernel/setup.c:

  static struct resource vram_resource =
        { "Video RAM area", 0xa0000, 0xbffff, IORESOURCE_BUSY };
                                              ~~~~~~~~~~~~~~~
  (This protects any other requests, even in drivers/video/vfa16fb.c.)

  Then, I changed it as:

  static struct resource vram_resource =
        { "Video RAM area", 0xa0000, 0xbffff, IORESOURCE_MEM | IORESOURCE_AUTO };

  and I met Tux penguin again. But, my box did hang up when loading
  pcmcia modules. Perhaps, my change might occur this problem. So,
  tell me more smart fix.

  Thanks,

        A.Yoshiyama <yosshy@debian.or.jp>

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:24 EST