Initialise the aperture file descriptor in libpciaccess.

This commit is contained in:
matthieu 2008-11-04 22:22:12 +00:00
parent 65e3b816dc
commit 51ad66e69b

View File

@ -295,6 +295,10 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
sparse_size = xf86AXPParams[axpSystem].size;
#endif /* __NetBSD__ */
}
#if HAVE_PCI_SYSTEM_INIT_DEV_MEM
if (useDevMem)
pci_system_init_dev_mem(devMemFd);
#endif
pVidMem->initialised = TRUE;
}