Last change
on this file since 33983 was 17471, checked in by vboxsync, 16 years ago |
export to OSE
|
-
Property svn:eol-style
set to
native
|
File size:
828 bytes
|
Line | |
---|
1 | #ifndef CARD_DATABASE_FILE
|
---|
2 | #define CARD_DATABASE_FILE "Cards"
|
---|
3 | #endif
|
---|
4 |
|
---|
5 | #define MAX_CARDS 1000
|
---|
6 |
|
---|
7 | typedef struct {
|
---|
8 | char *name; /* Name of the card. */
|
---|
9 | char *chipset; /* Chipset (decriptive). */
|
---|
10 | char *server; /* Server identifier. */
|
---|
11 | char *driver; /* Driver identifier. */
|
---|
12 | char *ramdac; /* Ramdac identifier. */
|
---|
13 | char *clockchip; /* Clockchip identifier. */
|
---|
14 | char *dacspeed; /* DAC speed rating. */
|
---|
15 | int flags;
|
---|
16 | char *lines; /* Additional Device section lines. */
|
---|
17 | } Card;
|
---|
18 |
|
---|
19 | /* Flags: */
|
---|
20 | #define NOCLOCKPROBE 0x1 /* Never probe clocks of the card. */
|
---|
21 | #define UNSUPPORTED 0x2 /* Card is not supported (only VGA). */
|
---|
22 |
|
---|
23 | extern int lastcard;
|
---|
24 |
|
---|
25 | extern Card card[MAX_CARDS];
|
---|
26 |
|
---|
27 | extern int lookupcard ( char *name );
|
---|
28 | extern int parse_database ( void );
|
---|
29 | extern void sort_database ( void );
|
---|
30 | extern void keypress ( void );
|
---|
Note:
See
TracBrowser
for help on using the repository browser.