6 enum xgifb_display_type
{
13 #define HASVB_NONE 0x00
14 #define HASVB_301 0x01
15 #define HASVB_LVDS 0x02
16 #define HASVB_TRUMPION 0x04
17 #define HASVB_LVDS_CHRONTEL 0x10
18 #define HASVB_302 0x20
19 #define HASVB_CHRONTEL 0x80
43 TVPLUG_COMPOSITE_AND_SVIDEO
= 3,
45 TVPLUG_YPBPR_525i
= 5,
46 TVPLUG_YPBPR_525P
= 6,
47 TVPLUG_YPBPR_750P
= 7,
48 TVPLUG_YPBPR_1080i
= 8,
52 struct xgifb_video_info
{
53 struct fb_info
*fb_info
;
54 struct xgi_hw_device_info hw_info
;
55 struct vb_device_info dev_info
;
60 u32 pseudo_palette
[17];
63 unsigned int video_size
;
64 phys_addr_t video_base
;
65 void __iomem
*video_vbase
;
66 phys_addr_t mmio_base
;
67 unsigned long mmio_size
;
68 void __iomem
*mmio_vbase
;
69 unsigned long vga_base
;
81 unsigned int refresh_rate
;
83 enum xgifb_display_type display2
; /* the second display output type */
86 unsigned char TV_type
;
87 unsigned char TV_plug
;
89 struct XGI21_LVDSCapStruct lvds_data
;
91 enum XGI_CHIP_TYPE chip
;
92 unsigned char revision_id
;
94 unsigned short DstColor
;
95 unsigned long XGI310_AccelDepth
;
96 unsigned long CommandReg
;
100 unsigned int pcifunc
;
102 unsigned short subsysvendor
;
103 unsigned short subsysdevice
;