Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
staging
xgifb
vgatypes.h
Go to the documentation of this file.
1
#ifndef _VGATYPES_
2
#define _VGATYPES_
3
4
#include <linux/fb.h>
/* for struct fb_var_screeninfo for sis.h */
5
#include "../../video/sis/vgatypes.h"
6
#include "../../video/sis/sis.h"
/* for LCD_TYPE */
7
8
#ifndef XGI_VB_CHIP_TYPE
9
enum
XGI_VB_CHIP_TYPE
{
10
VB_CHIP_Legacy
= 0,
11
VB_CHIP_301
,
12
VB_CHIP_301B
,
13
VB_CHIP_301LV
,
14
VB_CHIP_302
,
15
VB_CHIP_302B
,
16
VB_CHIP_302LV
,
17
VB_CHIP_301C
,
18
VB_CHIP_302ELV
,
19
VB_CHIP_UNKNOWN
,
/* other video bridge or no video bridge */
20
MAX_VB_CHIP
21
};
22
#endif
23
24
struct
xgi_hw_device_info
{
25
unsigned
long
ulExternalChip
;
/* NO VB or other video bridge*/
26
/* if ujVBChipID = VB_CHIP_UNKNOWN, */
27
28
void
__iomem
*
pjVideoMemoryAddress
;
/* base virtual memory address */
29
/* of Linear VGA memory */
30
31
unsigned
long
ulVideoMemorySize
;
/* size, in bytes, of the
32
memory on the board */
33
34
unsigned
char
jChipType
;
/* Used to Identify Graphics Chip */
35
/* defined in the data structure type */
36
/* "XGI_CHIP_TYPE" */
37
38
unsigned
char
jChipRevision
;
/* Used to Identify Graphics
39
Chip Revision */
40
41
unsigned
char
ujVBChipID
;
/* the ID of video bridge */
42
/* defined in the data structure type */
43
/* "XGI_VB_CHIP_TYPE" */
44
45
unsigned
long
ulCRT2LCDType
;
/* defined in the data structure type */
46
};
47
48
/* Additional IOCTL for communication xgifb <> X driver */
49
/* If changing this, xgifb.h must also be changed (for xgifb) */
50
#endif
51
Generated on Thu Jan 10 2013 14:32:58 for Linux Kernel by
1.8.2