4 #include <linux/fb.h> /* for struct fb_var_screeninfo for sis.h */
5 #include "../../video/fbdev/sis/vgatypes.h"
6 #include "../../video/fbdev/sis/sis.h" /* for LCD_TYPE */
8 enum XGI_VB_CHIP_TYPE {
18 VB_CHIP_UNKNOWN, /* other video bridge or no video bridge */
22 struct xgi_hw_device_info {
23 unsigned long ulExternalChip; /* NO VB or other video bridge*/
24 /* if ujVBChipID = VB_CHIP_UNKNOWN, */
26 void __iomem *pjVideoMemoryAddress;/* base virtual memory address */
27 /* of Linear VGA memory */
29 unsigned long ulVideoMemorySize; /* size, in bytes, of the
33 unsigned char jChipType; /* Used to Identify Graphics Chip */
34 /* defined in the data structure type */
37 unsigned char jChipRevision; /* Used to Identify Graphics
41 unsigned char ujVBChipID; /* the ID of video bridge */
42 /* defined in the data structure type */
43 /* "XGI_VB_CHIP_TYPE" */
45 unsigned long ulCRT2LCDType; /* defined in the data structure type */
48 /* Additional IOCTL for communication xgifb <> X driver */
49 /* If changing this, xgifb.h must also be changed (for xgifb) */