3 #include <linux/ioctl.h>
4 #include <linux/types.h>
9 enum xgifb_display_type
{
16 #define HASVB_NONE 0x00
17 #define HASVB_301 0x01
18 #define HASVB_LVDS 0x02
19 #define HASVB_TRUMPION 0x04
20 #define HASVB_LVDS_CHRONTEL 0x10
21 #define HASVB_302 0x20
22 #define HASVB_CHRONTEL 0x80
38 TVTYPE_PALM
, /* vicki@030226 */
39 TVTYPE_PALN
, /* vicki@030226 */
40 TVTYPE_NTSCJ
, /* vicki@030226 */
44 enum xgi_tv_plug
{ /* vicki@030226 */
48 TVPLUG_COMPOSITE_AND_SVIDEO
= 3,
50 TVPLUG_YPBPR_525i
= 5,
51 TVPLUG_YPBPR_525P
= 6,
52 TVPLUG_YPBPR_750P
= 7,
53 TVPLUG_YPBPR_1080i
= 8,
57 struct xgifb_video_info
{
58 struct fb_info
*fb_info
;
59 struct xgi_hw_device_info hw_info
;
60 struct vb_device_info dev_info
;
65 u32 pseudo_palette
[17];
68 unsigned int video_size
;
69 unsigned long video_base
;
70 void __iomem
*video_vbase
;
71 unsigned long mmio_base
;
72 unsigned long mmio_size
;
73 void __iomem
*mmio_vbase
;
74 unsigned long vga_base
;
86 unsigned int refresh_rate
;
88 enum xgifb_display_type display2
; /* the second display output type */
91 unsigned char TV_type
;
92 unsigned char TV_plug
;
94 struct XGI21_LVDSCapStruct lvds_data
;
96 enum XGI_CHIP_TYPE chip
;
97 unsigned char revision_id
;
99 unsigned short DstColor
;
100 unsigned long XGI310_AccelDepth
;
101 unsigned long CommandReg
;
104 unsigned int pcislot
;
105 unsigned int pcifunc
;
107 unsigned short subsysvendor
;
108 unsigned short subsysdevice
;