summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-04 22:22:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-04 22:22:13 +0000
commit46d1f8f375e8b0ec0297111ff91db7113e69111f (patch)
tree3cc399a1b255d06303d3dafce5f47494f1a118c6
parentd52546f2a50bdb6fde29eedd1c9003741012ae31 (diff)
Initialise the aperture file descriptor in libpciaccess.
-rw-r--r--xserver/hw/xfree86/os-support/bsd/alpha_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/alpha_video.c b/xserver/hw/xfree86/os-support/bsd/alpha_video.c
index b6db16994..1ad013422 100644
--- a/xserver/hw/xfree86/os-support/bsd/alpha_video.c
+++ b/xserver/hw/xfree86/os-support/bsd/alpha_video.c
@@ -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;
}