summaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/patch-hw_xfree86_os-support_bsd_bsd__init.c
blob: 4f4a60ee749a715038c8d08c53acb3434175352a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- hw/xfree86/os-support/bsd/bsd_init.c.orig	2016-07-19 17:07:29 UTC
+++ hw/xfree86/os-support/bsd/bsd_init.c
@@ -230,6 +230,9 @@ xf86OpenConsole()
              * Add cases for other *BSD that behave the same.
              */
 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if defined(__sparc64__)
+	    pci_system_init_dev_mem(fd);
+#endif
             uname(&uts);
             i = atof(uts.release) * 100;
             if (i >= 310)