4 #include <linux/ioctl.h>
6 #ifndef XGI_VB_CHIP_TYPE
7 enum XGI_VB_CHIP_TYPE {
17 VB_CHIP_UNKNOWN, /* other video bridge or no video bridge */
25 LCD_320x480, /* FSTN, DSTN */
27 LCD_640x480_2, /* FSTN, DSTN */
28 LCD_640x480_3, /* FSTN, DSTN */
55 struct xgi_hw_device_info {
56 unsigned long ulExternalChip; /* NO VB or other video bridge*/
57 /* if ujVBChipID = VB_CHIP_UNKNOWN, */
59 unsigned char *pjVirtualRomBase; /* ROM image */
61 unsigned char *pjVideoMemoryAddress;/* base virtual memory address */
62 /* of Linear VGA memory */
64 unsigned long ulVideoMemorySize; /* size, in bytes, of the
65 memory on the board */
67 unsigned char *pjIOAddress; /* base I/O address of VGA ports (0x3B0) */
69 unsigned char jChipType; /* Used to Identify Graphics Chip */
70 /* defined in the data structure type */
73 unsigned char jChipRevision; /* Used to Identify Graphics
76 unsigned char ujVBChipID; /* the ID of video bridge */
77 /* defined in the data structure type */
78 /* "XGI_VB_CHIP_TYPE" */
80 unsigned long ulCRT2LCDType; /* defined in the data structure type */
82 unsigned char(*pQueryVGAConfigSpace)(struct xgi_hw_device_info *,
83 unsigned long, unsigned long,
87 /* Additional IOCTL for communication xgifb <> X driver */
88 /* If changing this, xgifb.h must also be changed (for xgifb) */