Messages in this thread | | | Date | Tue, 27 Mar 2001 19:50:03 +0200 (IST) | From | Matan Ziv-Av <> | Subject | Re: vgacon on which card? |
| |
On Tue, 27 Mar 2001, James Simmons wrote:
> > Say you have several PCI graphics cards in a system but only have vgacon > running. Is their away to determine which PCI card vgacon is running on?
The enabled one :-)
I don't see a general solution. You can know if an AGP card's vga portion is enabled by checking the corresponding bit in the pci bridge configuration space. But for PCI cards there is no standard way of enabling vga. If you have only one card with I/O enabled you can know this is the card. If you have more, you can write to the 0xb8000 region, and see in what linear aperture the write happens.
-- Matan Ziv-Av. matan@svgalib.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/
| |