summaryrefslogtreecommitdiff
path: root/linux/mach64_bufs.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@users.sourceforge.net>2001-02-20 06:20:05 +0000
committerGareth Hughes <gareth@users.sourceforge.net>2001-02-20 06:20:05 +0000
commit996eeb8ed8ed8ae8c704f4ce576c86341db5238a (patch)
treeffaa03b6b1317a582607c2a4af34a1a6f75b20d4 /linux/mach64_bufs.c
parent22d6dd2b29ffbe6c854d123729d372bb5a3a09db (diff)
Commit hacking from a while back. Don't be surprised if this breaks it...mach64-0-0-1-branch
Diffstat (limited to 'linux/mach64_bufs.c')
-rw-r--r--linux/mach64_bufs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/mach64_bufs.c b/linux/mach64_bufs.c
index f439b87b..36576bdd 100644
--- a/linux/mach64_bufs.c
+++ b/linux/mach64_bufs.c
@@ -31,10 +31,12 @@
#include "mach64_drv.h"
+#define DRIVER_DEVICE_PRIVATE drm_mach64_private_t
#define DRIVER_BUFFER_PRIVATE drm_mach64_buf_priv_t
-#define HAVE_PCI_DMA 1
+#define HAVE_AGP 1
+#define DRIVER_AGP_BUFFER_MAP dev_priv->buffers
#define TAG(x) mach64_##x
#include "bufs_tmp.h"