Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6] / drivers / video / matrox / matroxfb_crtc2.h
1 #ifndef __MATROXFB_CRTC2_H__
2 #define __MATROXFB_CRTC2_H__
3
4 #include <linux/ioctl.h>
5 #include "matroxfb_base.h"
6
7 struct matroxfb_dh_fb_info {
8         struct fb_info          fbcon;
9         int                     fbcon_registered;
10         int                     initialized;
11
12         struct matrox_fb_info*  primary_dev;
13
14         struct {
15                 unsigned long   base;   /* physical */
16                 vaddr_t         vbase;  /* virtual */
17                 unsigned int    len;
18                 unsigned int    len_usable;
19                 unsigned int    len_maximum;
20                 unsigned int    offbase;
21                 unsigned int    borrowed;
22                               } video;
23         struct {
24                 unsigned long   base;
25                 vaddr_t         vbase;
26                 unsigned int    len;
27                               } mmio;
28
29         unsigned int            interlaced:1;
30
31         u_int32_t cmap[16];
32 };
33
34 #endif /* __MATROXFB_CRTC2_H__ */