When I suggested the Fedora patch to our PCI/driver guys, they responded that they'd tried similar things before in the kernel and found that they didn't work on some platforms. The code they ended up with instead is:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/i86pc/io/gfx_private/gfxp_vgatext.c#gfxp_check_for_console
When I suggested the Fedora patch to our PCI/driver guys, they responded that
they'd tried similar things before in the kernel and found that they didn't work
on some platforms. The code they ended up with instead is:
http:// src.opensolaris .org/source/ xref/onnv/ onnv-gate/ usr/src/ uts/i86pc/ io/gfx_ private/ gfxp_vgatext. c#gfxp_ check_for_ console