summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-09-13 18:37:35 +0000
committerEric Anholt <anholt@freebsd.org>2005-09-13 18:37:35 +0000
commit12fbcfefe672ec226bdbc7597bf2fd2cb0ee1e19 (patch)
tree3556cc76d8607a4a857df92153ac508b2dd75e6a /include
parent51eb6c83a3b2721703ca50758853bbf9f99fc4d2 (diff)
Add some initial BSD support for the xorg server. Incomplete on NetBSD,
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually run it yet.
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in3
-rw-r--r--include/xorg-config.h.in33
-rw-r--r--include/xorg-server.h.in15
3 files changed, 51 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index fd681be53..62884a889 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -391,4 +391,7 @@
/* Define to location of RGB database */
#undef RGB_PATH
+/* System is BSD-like */
+#undef CSRG_BASED
+
#endif /* _DIX_CONFIG_H_ */
diff --git a/include/xorg-config.h.in b/include/xorg-config.h.in
index 241279588..08d6e8cb6 100644
--- a/include/xorg-config.h.in
+++ b/include/xorg-config.h.in
@@ -79,4 +79,37 @@
/* Building vgahw module */
#undef WITH_VGAHW
+/* Define to 1 if NetBSD built-in MTRR support is available */
+#undef HAS_MTRR_BUILTIN
+
+/* Define to 1 if BSD MTRR support is available */
+#undef HAS_MTRR_SUPPORT
+
+/* NetBSD PIO alpha IO */
+#undef USE_ALPHA_PIO
+
+/* BSD AMD64 iopl */
+#undef USE_AMD64_IOPL
+
+/* BSD /dev/io */
+#undef USE_DEV_IO
+
+/* BSD i386 iopl */
+#undef USE_I386_IOPL
+
+/* System is BSD-like */
+#undef CSRG_BASED
+
+/* System has PC console */
+#undef PCCONS_SUPPORT
+
+/* System has PCVT console */
+#undef PCVT_SUPPORT
+
+/* System has syscons console */
+#undef SYSCONS_SUPPORT
+
+/* System has wscons console */
+#undef WSCONS_SUPPORT
+
#endif /* _XORG_CONFIG_H_ */
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 713047f0b..332186875 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -226,4 +226,19 @@
/* Building vgahw module */
#undef WITH_VGAHW
+/* System is BSD-like */
+#undef CSRG_BASED
+
+/* System has PC console */
+#undef PCCONS_SUPPORT
+
+/* System has PCVT console */
+#undef PCVT_SUPPORT
+
+/* System has syscons console */
+#undef SYSCONS_SUPPORT
+
+/* System has wscons console */
+#undef WSCONS_SUPPORT
+
#endif /* _XORG_SERVER_H_ */