aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nv_drv.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-10-06 23:31:29 +0000
committerAdam Jackson <ajax@nwnk.net>2005-10-06 23:31:29 +0000
commit62a467303408286deef97b288ec286e21dda3761 (patch)
tree1625f0a16da006538294730f3188043770eae91f /shared-core/nv_drv.h
parent908ad0ed96c6d1be567bff7332ec38d6b4b8db0a (diff)
Skeleton nv drm driver, to enable DMA in EXA. (Lars Knoll, minor updates by
me)
Diffstat (limited to 'shared-core/nv_drv.h')
-rw-r--r--shared-core/nv_drv.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/shared-core/nv_drv.h b/shared-core/nv_drv.h
new file mode 100644
index 00000000..fa707cc5
--- /dev/null
+++ b/shared-core/nv_drv.h
@@ -0,0 +1,52 @@
+/* nv_drv.h -- NV DRM template customization -*- linux-c -*-
+ * Created: Wed Feb 14 12:32:32 2001 by gareth@valinux.com
+ *
+ * Copyright 2005 Lars Knoll <lars@trolltech.com>
+ * All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ * Lars Knoll <lars@trolltech.com>
+ */
+
+#ifndef __NV_H__
+#define __NV_H__
+
+/* General customization:
+ */
+
+#define DRIVER_AUTHOR "Lars Knoll"
+
+#define DRIVER_NAME "nv"
+#define DRIVER_DESC "NV"
+#define DRIVER_DATE "20051006"
+
+#define DRIVER_MAJOR 0
+#define DRIVER_MINOR 0
+#define DRIVER_PATCHLEVEL 1
+
+#define NV04 04
+#define NV10 10
+#define NV20 20
+#define NV30 30
+#define NV40 40
+
+#endif