From 66ff6d16b681bdd50045cebf0057f783193f0e57 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sun, 21 Sep 1997 23:09:10 +0000 Subject: More ioctls, more structures, more more more. --- include/asm-mips/ng1.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'include/asm-mips/ng1.h') diff --git a/include/asm-mips/ng1.h b/include/asm-mips/ng1.h index e7f3b6e02..44ef62f85 100644 --- a/include/asm-mips/ng1.h +++ b/include/asm-mips/ng1.h @@ -24,3 +24,27 @@ struct ng1_info { 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]; +}; + + -- cgit v1.2.3