5 #include <linux/ioctl.h>
7 #ifndef XGI_VB_CHIP_TYPE
8 enum XGI_VB_CHIP_TYPE {
18 VB_CHIP_UNKNOWN, /* other video bridge or no video bridge */
26 LCD_320x480, /* FSTN, DSTN */
28 LCD_640x480_2, /* FSTN, DSTN */
29 LCD_640x480_3, /* FSTN, DSTN */
57 struct xgi_hw_device_info
59 unsigned long ulExternalChip; /* NO VB or other video bridge*/
60 /* if ujVBChipID = VB_CHIP_UNKNOWN, */
62 unsigned char *pjVirtualRomBase; /* ROM image */
64 unsigned char *pjVideoMemoryAddress;/* base virtual memory address */
65 /* of Linear VGA memory */
67 unsigned long ulVideoMemorySize; /* size, in bytes, of the memory on the board */
69 unsigned char *pjIOAddress; /* base I/O address of VGA ports (0x3B0) */
71 unsigned char jChipType; /* Used to Identify Graphics Chip */
72 /* defined in the data structure type */
75 unsigned char jChipRevision; /* Used to Identify Graphics Chip Revision */
77 unsigned char ujVBChipID; /* the ID of video bridge */
78 /* defined in the data structure type */
79 /* "XGI_VB_CHIP_TYPE" */
81 unsigned long ulCRT2LCDType; /* defined in the data structure type */
83 unsigned char(*pQueryVGAConfigSpace)(struct xgi_hw_device_info *,
84 unsigned long, unsigned long,
88 /* Additional IOCTL for communication xgifb <> X driver */
89 /* If changing this, xgifb.h must also be changed (for xgifb) */