summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-02-26 22:29:18 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-02-26 22:29:18 +0000
commit6a369eb2c07e939b288a69d2be2e492a9b2ffbec (patch)
treead8b86c60f11874c1236b37dbd64f63228a6c722
parent0cd77ac6baa78bc4a962e4f93d96fbf61990d4aa (diff)
Call pci_system_init(), even if opening /dev/xf86 fails. Makes it possible to
run X with machdep.allowaperture=0 on hardware supported by radeondrm(4) on macppc too. tested by landry@ ok matthieu@, deraadt@
-rw-r--r--xserver/hw/xfree86/os-support/bsd/ppc_video.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/ppc_video.c b/xserver/hw/xfree86/os-support/bsd/ppc_video.c
index 9c256f53f..548cb3644 100644
--- a/xserver/hw/xfree86/os-support/bsd/ppc_video.c
+++ b/xserver/hw/xfree86/os-support/bsd/ppc_video.c
@@ -139,9 +139,7 @@ xf86PrivilegedInit(void)
xf86Msg(X_PROBED,
"no aperture driver access: only wsfb driver useable\n");
}
- else {
- pci_system_init();
- }
+ pci_system_init();
xf86OpenConsole();
}
#endif