On 14 Jan 2004, Eric W. Biederman wrote:
Yes but you should not need to know which device it is.
Looking at the code though there is a bug. When it finds a device to give the legacy vga resources to it does not allocate any MMIO resources. For bridges this is a normal resource so this looks a real bug in the generic code. If that is why you need the vgadev, let's fix the generic code to handle that part properly.
yes, that's the bug. I waffled between a generic fix and the simple fix I outlined, but if you want the generic fix we can look at that too.
ron