summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-08-20 21:48:56 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-08-20 21:48:56 +0000
commit311459c7ca47421c292ff114aa2104e1f36c4dae (patch)
tree67290a2b6c25fcefd2a4b17b776919b3fd00aa2f /xserver
parentf9eb23fc0787c97c89170332e153b6a47fe8f88c (diff)
Initialize PCI subsystem on arm64.
ok matthieu@
Diffstat (limited to 'xserver')
-rw-r--r--xserver/hw/xfree86/os-support/bsd/arm64_video.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/arm64_video.c b/xserver/hw/xfree86/os-support/bsd/arm64_video.c
index f591b6ff1..e2ecbfbca 100644
--- a/xserver/hw/xfree86/os-support/bsd/arm64_video.c
+++ b/xserver/hw/xfree86/os-support/bsd/arm64_video.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arm64_video.c,v 1.1 2017/03/07 03:40:34 jsg Exp $ */
+/* $OpenBSD: arm64_video.c,v 1.2 2018/08/20 21:48:55 kettenis Exp $ */
/*
* Copyright 1992 by Rich Murphey <Rich@Rice.edu>
* Copyright 1993 by David Wexelblat <dwex@goblin.org>
@@ -42,7 +42,7 @@
void
xf86OSInitVidMem(VidMemInfoPtr pVidMem)
{
- pVidMem->initialised = TRUE;
+ pVidMem->initialised = TRUE;
}
#ifdef X_PRIVSEP
@@ -52,6 +52,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
_X_EXPORT void
xf86PrivilegedInit(void)
{
- xf86OpenConsole();
+ pci_system_init();
+ xf86OpenConsole();
}
#endif