Re: 2 Simple VGA/PCI questions (newbie)

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


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 : Sat Sep 23 2000 - 21:00:24 EST