From c7c6156aecdee2838dd0e193a3d529ecbb797ae7 Mon Sep 17 00:00:00 2001
From: Keith Whitwell <keith@tungstengraphics.com>
Date: Sat, 30 Dec 2000 23:28:53 +0000
Subject: add blit ioctl, fix plnwt handling

---
 linux-core/mga_drv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'linux-core')

diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c
index 883eb75c..e898ee3d 100644
--- a/linux-core/mga_drv.c
+++ b/linux-core/mga_drv.c
@@ -38,7 +38,7 @@
 #define MGA_DESC	 "Matrox G200/G400"
 #define MGA_DATE	 "20000928"
 #define MGA_MAJOR	 2
-#define MGA_MINOR	 0
+#define MGA_MINOR	 1
 #define MGA_PATCHLEVEL	 1
 
 static drm_device_t	      mga_device;
@@ -114,6 +114,7 @@ static drm_ioctl_desc_t	      mga_ioctls[] = {
    	[DRM_IOCTL_NR(DRM_IOCTL_MGA_VERTEX)]  = { mga_vertex,      1, 0 },
    	[DRM_IOCTL_NR(DRM_IOCTL_MGA_FLUSH)]   = { mga_flush_ioctl, 1, 0 },
    	[DRM_IOCTL_NR(DRM_IOCTL_MGA_INDICES)] = { mga_indices,     1, 0 },
+     	[DRM_IOCTL_NR(DRM_IOCTL_MGA_BLIT)]    = { mga_blit,        1, 0 }, 
 };
 
 #define MGA_IOCTL_COUNT DRM_ARRAY_SIZE(mga_ioctls)
-- 
cgit v1.2.3