Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __MATROXFB_CRTC2_H__ |
| 2 | #define __MATROXFB_CRTC2_H__ |
| 3 | |
| 4 | #include <linux/ioctl.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Antonino A. Daplas | 08a498d | 2007-07-17 04:05:45 -0700 | [diff] [blame] | 31 | u_int32_t cmap[16]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | #endif /* __MATROXFB_CRTC2_H__ */ |