Commit f3e52605 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: xgifb: delete unused structs

Delete unused struct declarations.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3f109532
#ifndef _VBEXT_
#define _VBEXT_
struct DWORDREGS {
unsigned long Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp;
};
struct WORDREGS {
unsigned short ax, hi_ax, bx, hi_bx, cx, hi_cx, dx, hi_dx, si,
hi_si, di, hi_di, bp, hi_bp;
};
struct BYTEREGS {
unsigned char al, ah, hi_al, hi_ah, bl, bh, hi_bl, hi_bh, cl, ch,
hi_cl, hi_ch, dl, dh, hi_dl, hi_dh;
};
typedef union _X86_REGS {
struct DWORDREGS e;
struct WORDREGS x;
struct BYTEREGS h;
} X86_REGS, *PX86_REGS;
extern void XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension,
struct vb_device_info *pVBInfo);
extern unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *,
......
#ifndef _VB_STRUCT_
#define _VB_STRUCT_
struct XGI_PanelDelayTblStruct {
unsigned char timer[2];
};
struct XGI_LCDDataStruct {
unsigned short RVBHCMAX;
unsigned short RVBHCFACT;
......@@ -39,24 +35,6 @@ struct XGI_TVDataStruct {
unsigned char RY4COE;
};
struct XGI_LVDSDataStruct {
unsigned short VGAHT;
unsigned short VGAVT;
unsigned short LCDHT;
unsigned short LCDVT;
};
struct XGI_LVDSDesStruct {
unsigned short LCDHDES;
unsigned short LCDVDES;
};
struct XGI_LVDSCRT1DataStruct {
unsigned char CR[15];
};
/*add for LCDA*/
struct XGI_StStruct {
unsigned char St_ModeID;
unsigned short St_ModeFlag;
......@@ -140,10 +118,6 @@ struct XGI_ModeResInfoStruct {
unsigned char YChar;
};
struct XGI_LCDNBDesStruct {
unsigned char NB[12];
};
/*add for new UNIVGABIOS*/
struct XGI_LCDDesStruct {
unsigned short LCDHDES;
......@@ -159,12 +133,6 @@ struct XGI_LCDDataTablStruct {
unsigned short DATAPTR;
};
struct XGI_TVTablDataStruct {
unsigned short MASK;
unsigned short CAP;
unsigned short DATAPTR;
};
struct XGI330_LCDDataDesStruct {
unsigned short LCDHDES;
unsigned short LCDHRS;
......@@ -252,10 +220,6 @@ struct XGI_XG21CRT1Struct {
unsigned char ModeID, CR02, CR03, CR15, CR16;
};
struct XGI330_CHTVRegDataStruct {
unsigned char Reg[16];
};
struct XGI330_LCDCapStruct {
unsigned char LCD_ID;
unsigned short LCD_Capability;
......@@ -318,18 +282,6 @@ struct XGI301C_Tap4TimingStruct {
unsigned char Reg[64]; /* C0-FF */
};
struct XGI_New_StandTableStruct {
unsigned char CRT_COLS;
unsigned char ROWS;
unsigned char CHAR_HEIGHT;
unsigned short CRT_LEN;
unsigned char SR[4];
unsigned char MISC;
unsigned char CRTC[0x19];
unsigned char ATTR[0x14];
unsigned char GRC[9];
};
struct vb_device_info {
unsigned char ISXPDOS;
unsigned long P3c4, P3d4, P3c0, P3ce, P3c2, P3cc;
......@@ -456,20 +408,4 @@ struct vb_device_info {
struct XGI_XG21CRT1Struct *UpdateCRT1;
}; /* _struct vb_device_info */
struct TimingInfo {
unsigned short Horizontal_ACTIVE;
unsigned short Horizontal_FP;
unsigned short Horizontal_SYNC;
unsigned short Horizontal_BP;
unsigned short Vertical_ACTIVE;
unsigned short Vertical_FP;
unsigned short Vertical_SYNC;
unsigned short Vertical_BP;
double DCLK;
unsigned char FrameRate;
unsigned char Interlace;
unsigned short Margin;
};
#endif /* _VB_STRUCT_ */
......@@ -47,11 +47,6 @@ enum XGI_LCD_TYPE {
};
#endif
struct XGI_DSReg {
unsigned char jIdx;
unsigned char jVal;
};
struct xgi_hw_device_info {
unsigned long ulExternalChip; /* NO VB or other video bridge*/
/* if ujVBChipID = VB_CHIP_UNKNOWN, */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment