1#ifdef _INIT_
2#define EXTERN
3#else
4#define EXTERN extern
5#endif /* _INIT_ */
6
7#ifndef _VSTRUCT_
8#define _VSTRUCT_
9
10typedef struct _SiS_PanelDelayTblStruct
11{
12 	UCHAR timer[2];
13} SiS_PanelDelayTblStruct;
14
15typedef struct _SiS_LCDDataStruct
16{
17	USHORT RVBHCMAX;
18	USHORT RVBHCFACT;
19	USHORT VGAHT;
20	USHORT VGAVT;
21	USHORT LCDHT;
22	USHORT LCDVT;
23} SiS_LCDDataStruct;
24
25typedef struct _SiS_TVDataStruct
26{
27	USHORT RVBHCMAX;
28	USHORT RVBHCFACT;
29	USHORT VGAHT;
30	USHORT VGAVT;
31	USHORT TVHDE;
32	USHORT TVVDE;
33	USHORT RVBHRS;
34	UCHAR  FlickerMode;
35	USHORT HALFRVBHRS;
36	UCHAR  RY1COE;
37	UCHAR  RY2COE;
38	UCHAR  RY3COE;
39	UCHAR  RY4COE;
40} SiS_TVDataStruct;
41
42typedef struct _SiS_LVDSDataStruct
43{
44	USHORT VGAHT;
45	USHORT VGAVT;
46	USHORT LCDHT;
47	USHORT LCDVT;
48} SiS_LVDSDataStruct;
49
50typedef struct _SiS_LVDSDesStruct
51{
52	USHORT LCDHDES;
53	USHORT LCDVDES;
54} SiS_LVDSDesStruct;
55
56typedef struct _SiS_LVDSCRT1DataStruct
57{
58	UCHAR  CR[15];
59} SiS_LVDSCRT1DataStruct;
60
61/*add for LCDA*/
62typedef struct _SiS_LCDACRT1DataStruct
63{
64	UCHAR  CR[17];
65} SiS_LCDACRT1DataStruct;
66
67typedef struct _SiS_CHTVRegDataStruct
68{
69	UCHAR  Reg[16];
70} SiS_CHTVRegDataStruct;
71
72typedef struct _SiS_StStruct
73{
74	UCHAR  St_ModeID;
75	USHORT St_ModeFlag;
76	UCHAR  St_StTableIndex;
77	UCHAR  St_CRT2CRTC;
78	UCHAR  St_ResInfo;
79	UCHAR  VB_StTVFlickerIndex;
80	UCHAR  VB_StTVEdgeIndex;
81	UCHAR  VB_StTVYFilterIndex;
82} SiS_StStruct;
83
84typedef struct _SiS_VBModeStruct
85{
86	UCHAR  ModeID;
87	UCHAR  VB_TVDelayIndex;
88	UCHAR  VB_TVFlickerIndex;
89	UCHAR  VB_TVPhaseIndex;
90	UCHAR  VB_TVYFilterIndex;
91	UCHAR  VB_LCDDelayIndex;
92	UCHAR  _VB_LCDHIndex;
93	UCHAR  _VB_LCDVIndex;
94} SiS_VBModeStruct;
95
96typedef struct _SiS_StandTableStruct
97{
98	UCHAR  CRT_COLS;
99	UCHAR  ROWS;
100	UCHAR  CHAR_HEIGHT;
101	USHORT CRT_LEN;
102	UCHAR  SR[4];
103	UCHAR  MISC;
104	UCHAR  CRTC[0x19];
105	UCHAR  ATTR[0x14];
106	UCHAR  GRC[9];
107} SiS_StandTableStruct;
108
109typedef struct _SiS_ExtStruct
110{
111	UCHAR  Ext_ModeID;
112	USHORT Ext_ModeFlag;
113	USHORT Ext_ModeInfo;
114	USHORT Ext_Point;
115	USHORT Ext_VESAID;
116	UCHAR  Ext_VESAMEMSize;
117	UCHAR  Ext_RESINFO;
118	UCHAR  VB_ExtTVFlickerIndex;
119	UCHAR  VB_ExtTVEdgeIndex;
120	UCHAR  VB_ExtTVYFilterIndex;
121	UCHAR  REFindex;
122} SiS_ExtStruct;
123
124typedef struct _SiS_Ext2Struct
125{
126	USHORT Ext_InfoFlag;
127	UCHAR  Ext_CRT1CRTC;
128	UCHAR  Ext_CRTVCLK;
129	UCHAR  Ext_CRT2CRTC;
130	UCHAR  ModeID;
131	USHORT XRes;
132	USHORT YRes;
133	USHORT ROM_OFFSET;
134} SiS_Ext2Struct;
135
136typedef struct _SiS_Part2PortTblStruct
137{
138 	UCHAR  CR[12];
139} SiS_Part2PortTblStruct;
140
141typedef struct _SiS_CRT1TableStruct
142{
143	UCHAR  CR[17];
144} SiS_CRT1TableStruct;
145
146typedef struct _SiS_MCLKDataStruct
147{
148	UCHAR  SR28,SR29,SR2A;
149	USHORT CLOCK;
150} SiS_MCLKDataStruct;
151
152typedef struct _SiS_ECLKDataStruct
153{
154	UCHAR  SR2E,SR2F,SR30;
155	USHORT CLOCK;
156} SiS_ECLKDataStruct;
157
158typedef struct _SiS_VCLKDataStruct
159{
160	UCHAR  SR2B,SR2C;
161	USHORT CLOCK;
162} SiS_VCLKDataStruct;
163
164typedef struct _SiS_VBVCLKDataStruct
165{
166	UCHAR  Part4_A,Part4_B;
167	USHORT CLOCK;
168} SiS_VBVCLKDataStruct;
169
170typedef struct _SiS_StResInfoStruct
171{
172	USHORT HTotal;
173	USHORT VTotal;
174} SiS_StResInfoStruct;
175
176typedef struct _SiS_ModeResInfoStruct
177{
178	USHORT HTotal;
179	USHORT VTotal;
180	UCHAR  XChar;
181	UCHAR  YChar;
182} SiS_ModeResInfoStruct;
183
184typedef UCHAR DRAM4Type[4];
185
186typedef struct _SiS_Private
187{
188#ifdef LINUX_KERNEL
189        USHORT RelIO;
190#endif
191	USHORT SiS_P3c4;
192	USHORT SiS_P3d4;
193	USHORT SiS_P3c0;
194	USHORT SiS_P3ce;
195	USHORT SiS_P3c2;
196	USHORT SiS_P3ca;
197	USHORT SiS_P3c6;
198	USHORT SiS_P3c7;
199	USHORT SiS_P3c8;
200	USHORT SiS_P3c9;
201	USHORT SiS_P3da;
202	USHORT SiS_Part1Port;
203	USHORT SiS_Part2Port;
204	USHORT SiS_Part3Port;
205	USHORT SiS_Part4Port;
206	USHORT SiS_Part5Port;
207	USHORT SiS_IF_DEF_LVDS;
208	USHORT SiS_IF_DEF_TRUMPION;
209	USHORT SiS_IF_DEF_DSTN;
210	USHORT SiS_IF_DEF_FSTN;
211	USHORT SiS_IF_DEF_CH70xx;
212	USHORT SiS_IF_DEF_HiVision;
213	UCHAR  SiS_VGAINFO;
214	BOOLEAN SiS_UseROM;
215	int    SiS_CHOverScan;
216	USHORT SiS_Backup70xx;
217	USHORT SiS_CRT1Mode;
218	USHORT SiS_flag_clearbuffer;
219	int    SiS_RAMType;
220	UCHAR  SiS_ChannelAB;
221	UCHAR  SiS_DataBusWidth;
222	USHORT SiS_ModeType;
223	USHORT SiS_VBInfo;
224	USHORT SiS_LCDResInfo;
225	USHORT SiS_LCDTypeInfo;
226	USHORT SiS_LCDInfo;
227	USHORT SiS_VBType;
228	USHORT SiS_VBExtInfo;
229	USHORT SiS_HiVision;
230	USHORT SiS_SelectCRT2Rate;
231	USHORT SiS_SetFlag;
232	USHORT SiS_RVBHCFACT;
233	USHORT SiS_RVBHCMAX;
234	USHORT SiS_RVBHRS;
235	USHORT SiS_VGAVT;
236	USHORT SiS_VGAHT;
237	USHORT SiS_VT;
238	USHORT SiS_HT;
239	USHORT SiS_VGAVDE;
240	USHORT SiS_VGAHDE;
241	USHORT SiS_VDE;
242	USHORT SiS_HDE;
243	USHORT SiS_NewFlickerMode;
244	USHORT SiS_RY1COE;
245	USHORT SiS_RY2COE;
246	USHORT SiS_RY3COE;
247	USHORT SiS_RY4COE;
248	USHORT SiS_LCDHDES;
249	USHORT SiS_LCDVDES;
250	USHORT SiS_DDC_Port;
251	USHORT SiS_DDC_Index;
252	USHORT SiS_DDC_Data;
253	USHORT SiS_DDC_Clk;
254	USHORT SiS_DDC_DataShift;
255	USHORT SiS_DDC_DeviceAddr;
256	USHORT SiS_DDC_ReadAddr;
257	USHORT SiS_DDC_SecAddr;
258	USHORT SiS_Panel800x600;
259	USHORT SiS_Panel1024x768;
260	USHORT SiS_Panel1280x1024;
261	USHORT SiS_Panel1600x1200;
262	USHORT SiS_Panel1280x960;
263	USHORT SiS_Panel1400x1050;
264	USHORT SiS_Panel320x480;
265	USHORT SiS_Panel1152x768;
266	USHORT SiS_Panel1280x768;
267	USHORT SiS_Panel1024x600;
268	USHORT SiS_Panel640x480;
269	USHORT SiS_Panel1152x864;
270	USHORT SiS_PanelMax;
271	USHORT SiS_PanelMinLVDS;
272	USHORT SiS_PanelMin301;
273	USHORT SiS_ChrontelInit;
274
275	/* Pointers: */
276	const SiS_StStruct          *SiS_SModeIDTable;
277	const SiS_StandTableStruct  *SiS_StandTable;
278	const SiS_ExtStruct         *SiS_EModeIDTable;
279	const SiS_Ext2Struct        *SiS_RefIndex;
280	const SiS_VBModeStruct      *SiS_VBModeIDTable;
281	const SiS_CRT1TableStruct   *SiS_CRT1Table;
282	const SiS_MCLKDataStruct    *SiS_MCLKData_0;
283	const SiS_MCLKDataStruct    *SiS_MCLKData_1;
284	const SiS_ECLKDataStruct    *SiS_ECLKData;
285	const SiS_VCLKDataStruct    *SiS_VCLKData;
286	const SiS_VBVCLKDataStruct  *SiS_VBVCLKData;
287	const SiS_StResInfoStruct   *SiS_StResInfo;
288	const SiS_ModeResInfoStruct *SiS_ModeResInfo;
289	const UCHAR                 *SiS_ScreenOffset;
290
291	const UCHAR                 *pSiS_OutputSelect;
292	const UCHAR                 *pSiS_SoftSetting;
293
294	const DRAM4Type *SiS_SR15; /* pointer : point to array */
295#ifndef LINUX_XF86
296	UCHAR *pSiS_SR07;
297	const DRAM4Type *SiS_CR40; /* pointer : point to array */
298	UCHAR *SiS_CR49;
299	UCHAR *SiS_SR25;
300	UCHAR *pSiS_SR1F;
301	UCHAR *pSiS_SR21;
302	UCHAR *pSiS_SR22;
303	UCHAR *pSiS_SR23;
304	UCHAR *pSiS_SR24;
305	UCHAR *pSiS_SR31;
306	UCHAR *pSiS_SR32;
307	UCHAR *pSiS_SR33;
308	UCHAR *pSiS_CRT2Data_1_2;
309	UCHAR *pSiS_CRT2Data_4_D;
310	UCHAR *pSiS_CRT2Data_4_E;
311	UCHAR *pSiS_CRT2Data_4_10;
312	const USHORT *pSiS_RGBSenseData;
313	const USHORT *pSiS_VideoSenseData;
314	const USHORT *pSiS_YCSenseData;
315	const USHORT *pSiS_RGBSenseData2; /*301b*/
316	const USHORT *pSiS_VideoSenseData2;
317	const USHORT *pSiS_YCSenseData2;
318#endif
319	const UCHAR *SiS_NTSCPhase;
320	const UCHAR *SiS_PALPhase;
321	const UCHAR *SiS_NTSCPhase2;
322	const UCHAR *SiS_PALPhase2;
323	const UCHAR *SiS_PALMPhase;
324	const UCHAR *SiS_PALNPhase;
325	const UCHAR *SiS_PALMPhase2;
326	const UCHAR *SiS_PALNPhase2;
327	const UCHAR *SiS_SpecialPhase;
328	const SiS_LCDDataStruct  *SiS_StLCD1024x768Data;
329	const SiS_LCDDataStruct  *SiS_ExtLCD1024x768Data;
330	const SiS_LCDDataStruct  *SiS_St2LCD1024x768Data;
331	const SiS_LCDDataStruct  *SiS_StLCD1280x1024Data;
332	const SiS_LCDDataStruct  *SiS_ExtLCD1280x1024Data;
333	const SiS_LCDDataStruct  *SiS_St2LCD1280x1024Data;
334	const SiS_LCDDataStruct  *SiS_NoScaleData1024x768;
335	const SiS_LCDDataStruct  *SiS_NoScaleData1280x1024;
336	const SiS_LCDDataStruct  *SiS_LCD1280x960Data;
337	const SiS_LCDDataStruct  *SiS_NoScaleData1400x1050;
338	const SiS_LCDDataStruct  *SiS_NoScaleData1600x1200;
339	const SiS_LCDDataStruct  *SiS_StLCD1400x1050Data;
340	const SiS_LCDDataStruct  *SiS_StLCD1600x1200Data;
341	const SiS_LCDDataStruct  *SiS_ExtLCD1400x1050Data;
342	const SiS_LCDDataStruct  *SiS_ExtLCD1600x1200Data;
343	const SiS_TVDataStruct   *SiS_StPALData;
344	const SiS_TVDataStruct   *SiS_ExtPALData;
345	const SiS_TVDataStruct   *SiS_StNTSCData;
346	const SiS_TVDataStruct   *SiS_ExtNTSCData;
347#ifdef oldHV
348	const SiS_TVDataStruct   *SiS_St1HiTVData;
349	const SiS_TVDataStruct   *SiS_St2HiTVData;
350	const SiS_TVDataStruct   *SiS_ExtHiTVData;
351#endif
352	const UCHAR *SiS_NTSCTiming;
353	const UCHAR *SiS_PALTiming;
354#ifdef oldHV
355	const UCHAR *SiS_HiTVExtTiming;
356	const UCHAR *SiS_HiTVSt1Timing;
357	const UCHAR *SiS_HiTVSt2Timing;
358	const UCHAR *SiS_HiTVTextTiming;
359	const UCHAR *SiS_HiTVGroup3Data;
360	const UCHAR *SiS_HiTVGroup3Simu;
361	const UCHAR *SiS_HiTVGroup3Text;
362#endif
363	const SiS_PanelDelayTblStruct *SiS_PanelDelayTbl;
364	const SiS_PanelDelayTblStruct *SiS_PanelDelayTblLVDS;
365	const SiS_LVDSDataStruct  *SiS_LVDS800x600Data_1;
366	const SiS_LVDSDataStruct  *SiS_LVDS800x600Data_2;
367	const SiS_LVDSDataStruct  *SiS_LVDS1024x768Data_1;
368	const SiS_LVDSDataStruct  *SiS_LVDS1024x768Data_2;
369	const SiS_LVDSDataStruct  *SiS_LVDS1280x1024Data_1;
370	const SiS_LVDSDataStruct  *SiS_LVDS1280x1024Data_2;
371	const SiS_LVDSDataStruct  *SiS_LVDS1280x960Data_1;
372	const SiS_LVDSDataStruct  *SiS_LVDS1280x960Data_2;
373	const SiS_LVDSDataStruct  *SiS_LVDS1400x1050Data_1;
374	const SiS_LVDSDataStruct  *SiS_LVDS1400x1050Data_2;
375	const SiS_LVDSDataStruct  *SiS_LVDS1024x600Data_1;
376	const SiS_LVDSDataStruct  *SiS_LVDS1024x600Data_2;
377	const SiS_LVDSDataStruct  *SiS_LVDS1152x768Data_1;
378	const SiS_LVDSDataStruct  *SiS_LVDS1152x768Data_2;
379	const SiS_LVDSDataStruct  *SiS_LVDS640x480Data_1;
380	const SiS_LVDSDataStruct  *SiS_LVDS320x480Data_1;
381	const SiS_LVDSDataStruct  *SiS_LCDA1400x1050Data_1;
382	const SiS_LVDSDataStruct  *SiS_LCDA1400x1050Data_2;
383	const SiS_LVDSDataStruct  *SiS_LCDA1600x1200Data_1;
384	const SiS_LVDSDataStruct  *SiS_LCDA1600x1200Data_2;
385	const SiS_LVDSDataStruct  *SiS_LVDSXXXxXXXData_1;
386	const SiS_LVDSDataStruct  *SiS_CHTVUNTSCData;
387	const SiS_LVDSDataStruct  *SiS_CHTVONTSCData;
388	const SiS_LVDSDataStruct  *SiS_CHTVUPALData;
389	const SiS_LVDSDataStruct  *SiS_CHTVOPALData;
390	const SiS_LVDSDesStruct  *SiS_PanelType00_1;
391	const SiS_LVDSDesStruct  *SiS_PanelType01_1;
392	const SiS_LVDSDesStruct  *SiS_PanelType02_1;
393	const SiS_LVDSDesStruct  *SiS_PanelType03_1;
394	const SiS_LVDSDesStruct  *SiS_PanelType04_1;
395	const SiS_LVDSDesStruct  *SiS_PanelType05_1;
396	const SiS_LVDSDesStruct  *SiS_PanelType06_1;
397	const SiS_LVDSDesStruct  *SiS_PanelType07_1;
398	const SiS_LVDSDesStruct  *SiS_PanelType08_1;
399	const SiS_LVDSDesStruct  *SiS_PanelType09_1;
400	const SiS_LVDSDesStruct  *SiS_PanelType0a_1;
401	const SiS_LVDSDesStruct  *SiS_PanelType0b_1;
402	const SiS_LVDSDesStruct  *SiS_PanelType0c_1;
403	const SiS_LVDSDesStruct  *SiS_PanelType0d_1;
404	const SiS_LVDSDesStruct  *SiS_PanelType0e_1;
405	const SiS_LVDSDesStruct  *SiS_PanelType0f_1;
406	const SiS_LVDSDesStruct  *SiS_PanelType00_2;
407	const SiS_LVDSDesStruct  *SiS_PanelType01_2;
408	const SiS_LVDSDesStruct  *SiS_PanelType02_2;
409	const SiS_LVDSDesStruct  *SiS_PanelType03_2;
410	const SiS_LVDSDesStruct  *SiS_PanelType04_2;
411	const SiS_LVDSDesStruct  *SiS_PanelType05_2;
412	const SiS_LVDSDesStruct  *SiS_PanelType06_2;
413	const SiS_LVDSDesStruct  *SiS_PanelType07_2;
414	const SiS_LVDSDesStruct  *SiS_PanelType08_2;
415	const SiS_LVDSDesStruct  *SiS_PanelType09_2;
416	const SiS_LVDSDesStruct  *SiS_PanelType0a_2;
417	const SiS_LVDSDesStruct  *SiS_PanelType0b_2;
418	const SiS_LVDSDesStruct  *SiS_PanelType0c_2;
419	const SiS_LVDSDesStruct  *SiS_PanelType0d_2;
420	const SiS_LVDSDesStruct  *SiS_PanelType0e_2;
421	const SiS_LVDSDesStruct  *SiS_PanelType0f_2;
422
423	const SiS_LVDSDesStruct  *LVDS1024x768Des_1;
424	const SiS_LVDSDesStruct  *LVDS1280x1024Des_1;
425	const SiS_LVDSDesStruct  *LVDS1400x1050Des_1;
426	const SiS_LVDSDesStruct  *LVDS1600x1200Des_1;
427	const SiS_LVDSDesStruct  *LVDS1024x768Des_2;
428	const SiS_LVDSDesStruct  *LVDS1280x1024Des_2;
429	const SiS_LVDSDesStruct  *LVDS1400x1050Des_2;
430	const SiS_LVDSDesStruct  *LVDS1600x1200Des_2;
431
432	const SiS_LVDSDesStruct  *SiS_CHTVUNTSCDesData;
433	const SiS_LVDSDesStruct  *SiS_CHTVONTSCDesData;
434	const SiS_LVDSDesStruct  *SiS_CHTVUPALDesData;
435	const SiS_LVDSDesStruct  *SiS_CHTVOPALDesData;
436	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1800x600_1;
437	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x768_1;
438	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11280x1024_1;
439	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11400x1050_1;
440	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x600_1;
441	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11152x768_1;
442	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11600x1200_1;
443	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1800x600_1_H;
444	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x768_1_H;
445	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11280x1024_1_H;
446	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11400x1050_1_H;
447	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x600_1_H;
448	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11152x768_1_H;
449	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11600x1200_1_H;
450	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1800x600_2;
451	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x768_2;
452	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11280x1024_2;
453	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11400x1050_2;
454	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x600_2;
455	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11152x768_2;
456	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11600x1200_2;
457	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1800x600_2_H;
458	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x768_2_H;
459	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11280x1024_2_H;
460	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11400x1050_2_H;
461	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11024x600_2_H;
462	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11152x768_2_H;
463	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT11600x1200_2_H;
464	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1XXXxXXX_1;
465	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1XXXxXXX_1_H;
466	const SiS_LVDSCRT1DataStruct  *SiS_CHTVCRT1UNTSC;
467	const SiS_LVDSCRT1DataStruct  *SiS_CHTVCRT1ONTSC;
468	const SiS_LVDSCRT1DataStruct  *SiS_CHTVCRT1UPAL;
469	const SiS_LVDSCRT1DataStruct  *SiS_CHTVCRT1OPAL;
470
471	const SiS_LVDSCRT1DataStruct  *SiS_LVDSCRT1320x480_1;
472
473	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT1800x600_1;
474	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11024x768_1;
475	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11280x1024_1;
476	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11400x1050_1;
477	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11600x1200_1;
478	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT1800x600_1_H;
479	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11024x768_1_H;
480	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11280x1024_1_H;
481	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11400x1050_1_H;
482	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11600x1200_1_H;
483	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT1800x600_2;
484	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11024x768_2;
485	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11280x1024_2;
486	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11400x1050_2;
487	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11600x1200_2;
488	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT1800x600_2_H;
489	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11024x768_2_H;
490	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11280x1024_2_H;
491	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11400x1050_2_H;
492	const SiS_LCDACRT1DataStruct  *SiS_LCDACRT11600x1200_2_H;
493
494	/* TW: New for 650/301LV */
495	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1024x768_1;
496	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1280x1024_1;
497	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1400x1050_1;
498	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1600x1200_1;
499	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1024x768_2;
500	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1280x1024_2;
501	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1400x1050_2;
502	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1600x1200_2;
503	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1024x768_3;
504	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1280x1024_3;
505	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1400x1050_3;
506	const SiS_Part2PortTblStruct *SiS_CRT2Part2_1600x1200_3;
507
508	const SiS_CHTVRegDataStruct *SiS_CHTVReg_UNTSC;
509	const SiS_CHTVRegDataStruct *SiS_CHTVReg_ONTSC;
510	const SiS_CHTVRegDataStruct *SiS_CHTVReg_UPAL;
511	const SiS_CHTVRegDataStruct *SiS_CHTVReg_OPAL;
512	const UCHAR *SiS_CHTVVCLKUNTSC;
513	const UCHAR *SiS_CHTVVCLKONTSC;
514	const UCHAR *SiS_CHTVVCLKUPAL;
515	const UCHAR *SiS_CHTVVCLKOPAL;
516} SiS_Private;
517
518#endif
519
520