> 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. firstname.lastname@example.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/