Re: 2 Simple VGA/PCI questions (newbie)

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Wed Sep 20 2000 - 22:13:07 EDT

  • Next message: Horst von Brand: "Re: 2.4.0-test9-pre2: pcmcia 3c59x doesn't work"

    Lee wrote:
    > For my own edification I am writing a simple VGA driver for my PCI video card.

    Have you seen drivers/video/vga16fb?

    > I have two questions that probably many could answer. I am using v2.4-test7.
    >
    > 1) request_region(VGA_IO_BASE, VGA_IO_SIZE, "vga") always fails.
    > How do I get the standard vga ports?

    drivers/video/vgacon is probably stealing them.

    > 2) Why aren't these ports listed in the resources? All of my resources
    > exist in high PCI memory?

    Are you looking in the right place?

    rum:~> cat /proc/ioports
    [...]
    03c0-03df : vga+
    [...]
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Wed Sep 20 2000 - 22:14:24 EDT