aboutsummaryrefslogtreecommitdiff
path: root/libdrm/xf86drmCompat.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2002-08-30 21:06:21 +0000
committerEric Anholt <anholt@freebsd.org>2002-08-30 21:06:21 +0000
commitd51ec6b9728e8da473fb06e23424a1f6c0ee8e9b (patch)
tree7c0b77206ccedba463123692f6536fd75b9340f8 /libdrm/xf86drmCompat.c
parentbe88ab60dfbacddbc424c7e6bc558abf13eafa9d (diff)
Remove compat functions for FreeBSD for drivers which weren't available in
X4.2
Diffstat (limited to 'libdrm/xf86drmCompat.c')
-rw-r--r--libdrm/xf86drmCompat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libdrm/xf86drmCompat.c b/libdrm/xf86drmCompat.c
index efe744ec..a30eacfc 100644
--- a/libdrm/xf86drmCompat.c
+++ b/libdrm/xf86drmCompat.c
@@ -73,19 +73,21 @@ extern int xf86RemoveSIGIOHandler(int fd);
#include "xf86drm.h"
#include "xf86drmCompat.h"
#include "drm.h"
-#include "i810_drm.h"
#include "mga_drm.h"
#include "r128_drm.h"
#include "radeon_drm.h"
+#ifndef __FreeBSD__
#include "sis_drm.h"
+#include "i810_drm.h"
#include "i830_drm.h"
-
+#endif
/* WARNING: Do not change, or add, anything to this file. It is only provided
* for binary backwards compatability with the old driver specific DRM
* extensions used before XFree86 4.3.
*/
+#ifndef __FreeBSD__
/* I810 */
Bool drmI810CleanupDma(int driSubFD)
@@ -130,6 +132,7 @@ Bool drmI810InitDma(int driSubFD, drmCompatI810Init *info)
}
return 1; /* TRUE */
}
+#endif /* __FreeBSD__ */
/* Mga */
@@ -1008,6 +1011,7 @@ int drmRadeonFlushIndirectBuffer( int fd, int index,
}
}
+#ifndef __FreeBSD__
/* SiS */
Bool drmSiSAgpInit(int driSubFD, int offset, int size)
@@ -1066,6 +1070,7 @@ Bool drmI830InitDma(int driSubFD, drmCompatI830Init *info)
}
return 1; /* TRUE */
}
+#endif /* __FreeBSD__ */
/* WARNING: Do not change, or add, anything to this file. It is only provided
* for binary backwards compatability with the old driver specific DRM