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 */
50 struct xgi_hw_device_info {
51 unsigned long ulExternalChip; /* NO VB or other video bridge*/
52 /* if ujVBChipID = VB_CHIP_UNKNOWN, */
54 void __iomem *pjVideoMemoryAddress;/* base virtual memory address */
55 /* of Linear VGA memory */
57 unsigned long ulVideoMemorySize; /* size, in bytes, of the
58 memory on the board */
60 unsigned char *pjIOAddress; /* base I/O address of VGA ports (0x3B0) */
62 unsigned char jChipType; /* Used to Identify Graphics Chip */
63 /* defined in the data structure type */
66 unsigned char jChipRevision; /* Used to Identify Graphics
69 unsigned char ujVBChipID; /* the ID of video bridge */
70 /* defined in the data structure type */
71 /* "XGI_VB_CHIP_TYPE" */
73 unsigned long ulCRT2LCDType; /* defined in the data structure type */
76 /* Additional IOCTL for communication xgifb <> X driver */
77 /* If changing this, xgifb.h must also be changed (for xgifb) */