In some cases, /chosen/stdout is not the VGA console. In this case there may still be a viable console. This adds a device node under vgapci* if it's a viable OFW device tree node.
Still need to test that I didn't break direct attachment.
No way for these to be the same driver?
It seems a bit weird to have a newbus device appear only if it's *not* the console.
How does this interact with drm consoles? I guess the probe bits compete later on? How about module loading of drm consoles?
"Open Firmware" usually has a space in it.
I think they could be the same. I mentioned this on IRC just a few minutes ago. If I move the /chosen handling code into the ofwfb_probe function instead, that might suffice, so that it's not looking for /chosen properties in the ofwfb_init().
If it's not the system console, but has all the makings of a video console.
Not sure. I don't have anything that can really use drm console right now. Maybe 'fb' device name is wrong for this.
Oops. I'll blame my chrome keyboard's tendency to forget I hit space.