summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-03-29 01:47:38 +0000
committerAdam Jackson <ajax@nwnk.net>2005-03-29 01:47:38 +0000
commit0a5e02c7b5fbbc7a7cc3654f5820d0dd50381de9 (patch)
treed616bf20d03c1a9db6e940d7523e7dc7072ba21f /shared-core
parent532ccb98b5f2946f574a747b90c39edbe783f888 (diff)
Add skeletal imagine driver (but don't build it yet).
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm_pciids.txt5
-rw-r--r--shared-core/imagine_drv.h43
2 files changed, 48 insertions, 0 deletions
diff --git a/shared-core/drm_pciids.txt b/shared-core/drm_pciids.txt
index 971154a4..7bcad297 100644
--- a/shared-core/drm_pciids.txt
+++ b/shared-core/drm_pciids.txt
@@ -207,3 +207,8 @@
0x8086 0x2582 0 "Intel i915G"
0x8086 0x2592 0 "Intel i915GM"
+[imagine]
+0x105d 0x2309 IMAGINE_128 "Imagine 128"
+0x105d 0x2339 IMAGINE_128_2 "Imagine 128-II"
+0x105d 0x493d IMAGINE_T2R "Ticket to Ride"
+0x105d 0x5348 IMAGINE_REV4 "Revolution IV"
diff --git a/shared-core/imagine_drv.h b/shared-core/imagine_drv.h
new file mode 100644
index 00000000..ebec3067
--- /dev/null
+++ b/shared-core/imagine_drv.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2005 Adam Jackson.
+ *
+ * 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
+ * on the rights to use, copy, modify, merge, publish, distribute, sub
+ * license, 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 NON-INFRINGEMENT. IN NO EVENT SHALL
+ * ADAM JACKSON 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.
+ */
+
+/* derived from tdfx_drv.h */
+
+#ifndef __IMAGINE_DRV_H__
+#define __IMAGINE_DRV_H__
+
+#define DRIVER_AUTHOR "Adam Jackson"
+#define DRIVER_NAME "imagine"
+#define DRIVER_DESC "#9 Imagine128 and Ticket 2 Ride"
+#define DRIVER_DATE "20050328"
+#define DRIVER_MAJOR 0
+#define DRIVER_MINOR 0
+#define DRIVER_PATCHLEVEL 1
+
+enum imagine_family {
+ IMAGINE_128,
+ IMAGINE_128_2,
+ IMAGINE_T2R,
+ IMAGINE_REV4
+};
+
+#endif /* __IMAGINE_DRV_H__ */