Call xf86OpenConsole() before probing for drivers.
On OpenBSD, we need the console fd to query wsdisplay type, This was only causing problems with -keepPriv, since the privilege separation code already calls xf86OpenConsole() earlier. The function is idempotent, so there's no harm calling it several times. ok kettenis@
This commit is contained in:
parent
6038d36c4f
commit
5a9c7d77ed
@ -51,5 +51,6 @@
|
||||
void
|
||||
osPciInit(void)
|
||||
{
|
||||
xf86OpenConsole();
|
||||
xf86InitVidMem();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user