|
@@ -648,59 +648,4 @@ static const struct _XGI_TV_filter {
|
|
|
static int filter = -1;
|
|
|
static unsigned char filter_tb;
|
|
|
|
|
|
-
|
|
|
-/* ---------------------- Routine prototypes ------------------------- */
|
|
|
-
|
|
|
-/*
|
|
|
-extern int XGIfb_mode_rate_to_dclock(VB_DEVICE_INFO *XGI_Pr,
|
|
|
- struct xgi_hw_device_info *HwDeviceExtension,
|
|
|
- unsigned char modeno, unsigned char rateindex);
|
|
|
-extern int XGIfb_mode_rate_to_ddata(VB_DEVICE_INFO *XGI_Pr, struct xgi_hw_device_info *HwDeviceExtension,
|
|
|
- unsigned char modeno, unsigned char rateindex,
|
|
|
- unsigned int *left_margin, unsigned int *right_margin,
|
|
|
- unsigned int *upper_margin, unsigned int *lower_margin,
|
|
|
- unsigned int *hsync_len, unsigned int *vsync_len,
|
|
|
- unsigned int *sync, unsigned int *vmode);
|
|
|
-*/
|
|
|
-extern unsigned char XGI_SearchModeID(unsigned short ModeNo,
|
|
|
- unsigned short *ModeIdIndex,
|
|
|
- struct vb_device_info *);
|
|
|
-
|
|
|
-/* Internal routines to access PCI configuration space */
|
|
|
-unsigned char XGIfb_query_VGA_config_space(struct xgi_hw_device_info *pXGIhw_ext,
|
|
|
- unsigned long offset,
|
|
|
- unsigned long set,
|
|
|
- unsigned long *value);
|
|
|
-//BOOLEAN XGIfb_query_north_bridge_space(PXGI_HW_DEVICE_INFO pXGIhw_ext,
|
|
|
-// unsigned long offset, unsigned long set, unsigned long *value);
|
|
|
-
|
|
|
-
|
|
|
-/* Routines from init.c/init301.c */
|
|
|
-extern void InitTo330Pointer(unsigned char, struct vb_device_info *pVBInfo);
|
|
|
-extern unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension);
|
|
|
-extern unsigned char XGISetModeNew(struct xgi_hw_device_info *HwDeviceExtension,
|
|
|
- unsigned short ModeNo);
|
|
|
-//extern void XGI_SetEnableDstn(VB_DEVICE_INFO *XGI_Pr);
|
|
|
-extern void XGI_LongWait(struct vb_device_info *XGI_Pr);
|
|
|
-extern unsigned short XGI_GetRatePtrCRT2(struct xgi_hw_device_info *pXGIHWDE,
|
|
|
- unsigned short ModeNo,
|
|
|
- unsigned short ModeIdIndex,
|
|
|
- struct vb_device_info *pVBInfo);
|
|
|
-/* TW: Chrontel TV functions */
|
|
|
-extern unsigned short XGI_GetCH700x(struct vb_device_info *XGI_Pr,
|
|
|
- unsigned short tempbx);
|
|
|
-extern void XGI_SetCH700x(struct vb_device_info *XGI_Pr, unsigned short tempbx);
|
|
|
-extern unsigned short XGI_GetCH701x(struct vb_device_info *XGI_Pr,
|
|
|
- unsigned short tempbx);
|
|
|
-extern void XGI_SetCH701x(struct vb_device_info *XGI_Pr, unsigned short tempbx);
|
|
|
-extern void XGI_SetCH70xxANDOR(struct vb_device_info *XGI_Pr,
|
|
|
- unsigned short tempax,
|
|
|
- unsigned short tempbh);
|
|
|
-extern void XGI_DDC2Delay(struct vb_device_info *XGI_Pr, unsigned short delaytime);
|
|
|
-
|
|
|
-/* TW: Sensing routines */
|
|
|
-void XGI_Sense30x(void);
|
|
|
-int XGIDoSense(int tempbl, int tempbh, int tempcl, int tempch);
|
|
|
-
|
|
|
-extern struct XGI21_LVDSCapStruct XGI21_LCDCapList[13];
|
|
|
#endif
|