blob: 1d98924911d85eebb28421d00d621b4315ea9486 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* $XFree86: xc/programs/Xserver/hw/xfree86/xf86config/cards.h,v 3.4 1999/03/28 15:33:07 dawes Exp $ */
/* $XConsortium: cards.h /main/3 1996/02/21 18:12:53 kaleb $ */
#ifndef CARD_DATABASE_FILE
#define CARD_DATABASE_FILE "Cards"
#endif
#define MAX_CARDS 1000
typedef struct {
char *name; /* Name of the card. */
char *chipset; /* Chipset (decriptive). */
char *server; /* Server identifier. */
char *driver; /* Driver identifier. */
char *ramdac; /* Ramdac identifier. */
char *clockchip; /* Clockchip identifier. */
char *dacspeed; /* DAC speed rating. */
int flags;
char *lines; /* Additional Device section lines. */
} Card;
/* Flags: */
#define NOCLOCKPROBE 0x1 /* Never probe clocks of the card. */
#define UNSUPPORTED 0x2 /* Card is not supported (only VGA). */
extern int lastcard;
extern Card card[MAX_CARDS];
extern int lookupcard ( char *name );
extern int parse_database ( void );
extern void sort_database ( void );
extern void keypress ( void );
|