Merge with Linux 2.4.0-test6-pre9.
[linux-2.6/linux-mips.git] / include / asm-mips64 / ng1.h
blob7c7104415001c7fd438caadf9919d872b6de21d5
1 /* $Id$
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
7 * SGI/Newport video card ioctl definitions
8 */
9 #ifndef _ASM_NG1_H
10 #define _ASM_NG1_H
12 typedef struct {
13 int flags;
14 __u16 w, h;
15 __u16 fields_sec;
16 } ng1_vof_info_t;
18 struct ng1_info {
19 struct gfx_info gfx_info;
20 __u8 boardrev;
21 __u8 rex3rev;
22 __u8 vc2rev;
23 __u8 monitortype;
24 __u8 videoinstalled;
25 __u8 mcrev;
26 __u8 bitplanes;
27 __u8 xmap9rev;
28 __u8 cmaprev;
29 ng1_vof_info_t ng1_vof_info;
30 __u8 bt445rev;
31 __u8 paneltype;
34 #define GFX_NAME_NEWPORT "NG1"
36 /* ioctls */
37 #define NG1_SET_CURSOR_HOTSPOT 21001
38 struct ng1_set_cursor_hotspot {
39 unsigned short xhot;
40 unsigned short yhot;
43 #define NG1_SETDISPLAYMODE 21006
44 struct ng1_setdisplaymode_args {
45 int wid;
46 unsigned int mode;
49 #define NG1_SETGAMMARAMP0 21007
50 struct ng1_setgammaramp_args {
51 unsigned char red [256];
52 unsigned char green [256];
53 unsigned char blue [256];
56 #endif /* _ASM_NG1_H */