This commit is contained in:
parent
547a956ddf
commit
1328e96fe5
@ -4,7 +4,7 @@
|
||||
endif
|
||||
|
||||
-liblinux_la_SOURCES = linux.h lnx_init.c lnx_video.c \
|
||||
+liblinux_la_SOURCES = linux.h lnx_init.c $(srcdir)/../shared/ioperm_noop.c \
|
||||
+liblinux_la_SOURCES = linux.h lnx_init.c $(srcdir)/../shared/ioperm_noop.c $(srcdir)/../shared/platform_noop.c \
|
||||
lnx_agp.c lnx_kmod.c lnx_bell.c lnx_platform.c \
|
||||
$(srcdir)/../shared/VTsw_usl.c \
|
||||
$(srcdir)/../shared/posix_tty.c \
|
||||
|
@ -1,25 +0,0 @@
|
||||
+++ ./hw/xfree86/os-support/shared/platform_noop.c 2018-09-14 18:56:45.000000000 +0300
|
||||
@@ -0,0 +1,23 @@
|
||||
+
|
||||
+#ifdef HAVE_XORG_CONFIG_H
|
||||
+#include <xorg-config.h>
|
||||
+#endif
|
||||
+
|
||||
+#ifdef XSERVER_PLATFORM_BUS
|
||||
+/* noop platform device support */
|
||||
+#include "xf86_OSproc.h"
|
||||
+
|
||||
+#include "xf86.h"
|
||||
+#include "xf86platformBus.h"
|
||||
+
|
||||
+Bool
|
||||
+xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid)
|
||||
+{
|
||||
+ return FALSE;
|
||||
+}
|
||||
+
|
||||
+void xf86PlatformDeviceProbe(struct OdevAttributes *attribs)
|
||||
+{
|
||||
+
|
||||
+}
|
||||
+#endif
|
36
x11-packages/xorg-server/platform_noop.c.patch
Normal file
36
x11-packages/xorg-server/platform_noop.c.patch
Normal file
@ -0,0 +1,36 @@
|
||||
+++ ./hw/xfree86/os-support/shared/platform_noop.c 2018-11-22 02:41:02.516704523 +0200
|
||||
@@ -0,0 +1,34 @@
|
||||
+
|
||||
+#ifdef HAVE_XORG_CONFIG_H
|
||||
+#include <xorg-config.h>
|
||||
+#endif
|
||||
+
|
||||
+/* noop platform device support */
|
||||
+#include "xf86_OSproc.h"
|
||||
+#include "xf86OSpriv.h"
|
||||
+
|
||||
+#include "xf86.h"
|
||||
+
|
||||
+/***************************************************************************/
|
||||
+/* Video Memory Mapping section */
|
||||
+/***************************************************************************/
|
||||
+
|
||||
+void
|
||||
+xf86OSInitVidMem(VidMemInfoPtr pVidMem)
|
||||
+{
|
||||
+ pVidMem->initialised = TRUE;
|
||||
+}
|
||||
+
|
||||
+#ifdef XSERVER_PLATFORM_BUS
|
||||
+#include "xf86platformBus.h"
|
||||
+Bool
|
||||
+xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid)
|
||||
+{
|
||||
+ return FALSE;
|
||||
+}
|
||||
+
|
||||
+void xf86PlatformDeviceProbe(struct OdevAttributes *attribs)
|
||||
+{
|
||||
+
|
||||
+}
|
||||
+#endif
|
Loading…
Reference in New Issue
Block a user