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