make oldconfig will rebuild these...
[linux-2.4.21-pre4.git] / drivers / sgi / char / graphics.h
1 #define MAXCARDS 4
2
3 struct graphics_ops {
4         /* SGIism: Board owner, gets the shmiq requests from the kernel */
5         struct task_struct *g_owner;
6
7         /* Last process that got the graphics registers mapped  */
8         struct task_struct *g_user;
9
10         /* Board info */
11         void               *g_board_info;
12         int                g_board_info_len;
13
14         /* These point to hardware registers that should be mapped with
15          * GFX_ATTACH_BOARD and the size of the information pointed to
16          */
17         unsigned long      g_regs;
18         int                g_regs_size;
19
20         void (*g_save_context)(void *);
21         void (*g_restore_context)(void *);
22         void (*g_reset_console)(void);
23         int  (*g_ioctl)(int device, int cmd, unsigned long arg);
24 };
25
26 void shmiq_init (void);
27 void streamable_init (void);