VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/cards.h@ 33983

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
7typedef 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
23extern int lastcard;
24
25extern Card card[MAX_CARDS];
26
27extern int lookupcard ( char *name );
28extern int parse_database ( void );
29extern void sort_database ( void );
30extern void keypress ( void );
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette