aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/extra-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c
blob: 651be80114fe64bd56621641e8df47706a55b546 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- hw/xfree86/os-support/bsd/sparc64_video.c.orig	2008-10-02 21:01:25.000000000 +0000
+++ hw/xfree86/os-support/bsd/sparc64_video.c	2009-03-29 19:55:40.000000000 +0000
@@ -52,6 +52,10 @@
 	pVidMem->mapMem = sparc64MapVidMem;
 	pVidMem->unmapMem = sparc64UnmapVidMem;
 	pVidMem->initialised = TRUE;
+
+#if defined(__FreeBSD__)
+	pci_system_init_dev_mem(xf86Info.screenFd);
+#endif
 }
 
 static pointer