summaryrefslogtreecommitdiff
path: root/linux/sis.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/sis.h')
-rw-r--r--linux/sis.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/sis.h b/linux/sis.h
index b08851c1..1f33a1e2 100644
--- a/linux/sis.h
+++ b/linux/sis.h
@@ -30,13 +30,15 @@
#define __SIS_H__
/* This remains constant for all DRM template files.
+ * Name it sisdrv_##x as there's a conflict with sis_free/malloc in the kernel
+ * that's used for fb devices
*/
-#define DRM(x) sis_##x
+#define DRM(x) sisdrv_##x
/* General customization:
*/
#define __HAVE_AGP 1
-#define __MUST_HAVE_AGP 1
+#define __MUST_HAVE_AGP 0
#define __HAVE_MTRR 1
#define __HAVE_CTX_BITMAP 1