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 unsigned char *pjVirtualRomBase
; /* ROM image */
56 void __iomem
*pjVideoMemoryAddress
;/* base virtual memory address */
57 /* of Linear VGA memory */
59 unsigned long ulVideoMemorySize
; /* size, in bytes, of the
60 memory on the board */
62 unsigned char *pjIOAddress
; /* base I/O address of VGA ports (0x3B0) */
64 unsigned char jChipType
; /* Used to Identify Graphics Chip */
65 /* defined in the data structure type */
68 unsigned char jChipRevision
; /* Used to Identify Graphics
71 unsigned char ujVBChipID
; /* the ID of video bridge */
72 /* defined in the data structure type */
73 /* "XGI_VB_CHIP_TYPE" */
75 unsigned long ulCRT2LCDType
; /* defined in the data structure type */
78 /* Additional IOCTL for communication xgifb <> X driver */
79 /* If changing this, xgifb.h must also be changed (for xgifb) */