patch-2.1.73 linux/include/asm-mips/ng1.h
Next file: linux/include/asm-mips/offset.h
Previous file: linux/include/asm-mips/namei.h
Back to the patch index
Back to the overall index
-  Lines: 52
-  Date:
Tue Dec 16 12:46:10 1997
-  Orig file: 
v2.1.72/linux/include/asm-mips/ng1.h
-  Orig date: 
Mon Aug 18 18:19:46 1997
diff -u --recursive --new-file v2.1.72/linux/include/asm-mips/ng1.h linux/include/asm-mips/ng1.h
@@ -24,3 +24,51 @@
         u8 bt445rev;
         u8 paneltype;
 };
+
+#define GFX_NAME_NEWPORT "NG1"
+
+/* ioctls */
+#define NG1_SET_CURSOR_HOTSPOT 21001
+struct ng1_set_cursor_hotspot {
+	unsigned short xhot;
+        unsigned short yhot;
+};
+
+#define NG1_SETDISPLAYMODE     21006
+struct ng1_setdisplaymode_args {
+        int wid;
+        unsigned int mode;
+};
+
+#define NG1_SETGAMMARAMP0      21007
+struct ng1_setgammaramp_args {
+        unsigned char red   [256];
+        unsigned char green [256];
+        unsigned char blue  [256];
+};
+
+
+
+#define GFX_NAME_NEWPORT "NG1"
+
+/* ioctls */
+#define NG1_SET_CURSOR_HOTSPOT 21001
+struct ng1_set_cursor_hotspot {
+	unsigned short xhot;
+        unsigned short yhot;
+};
+
+#define NG1_SETDISPLAYMODE     21006
+struct ng1_setdisplaymode_args {
+        int wid;
+        unsigned int mode;
+};
+
+#define NG1_SETGAMMARAMP0      21007
+struct ng1_setgammaramp_args {
+        unsigned char red   [256];
+        unsigned char green [256];
+        unsigned char blue  [256];
+};
+
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov