1 /*
2 * $XFree86: mit/server/ddx/x386/common/XF86_Mach32.c,v 2.1 1993/10/07 13:55:56 dawes Exp $
3 */
4
5 #include "X.h"
6 #include "os.h"
7 #include "x386.h"
8 #include "xf86_Config.h"
9
10 extern ScrnInfoRec mach32InfoRec;
11
12 /*
13 * This limit is currently set to 80MHz because this is the limit of many
14 * ramdacs when running in 1:1 mode. It will be increased when support
15 * is added for using the ramdacs in 2:1 mode. Increasing this limit
16 * could result in damage to your hardware.
17 */
18 #define MAX_MACH32_CLOCK 80000
19
20 int mach32MaxClock = MAX_MACH32_CLOCK;
21
22 ScrnInfoPtr x386Screens[] =
23 {
24 &mach32InfoRec,
25 };
26
27 int x386MaxScreens = sizeof(x386Screens) / sizeof(ScrnInfoPtr);
28
29 int xf86ScreenNames[] =
30 {
31 ACCEL,
32 -1
33 };
34
35 int mach32ValidTokens[] =
36 {
37 STATICGRAY,
38 GRAYSCALE,
39 STATICCOLOR,
40 PSEUDOCOLOR,
41 TRUECOLOR,
42 DIRECTCOLOR,
43 CHIPSET,
44 CLOCKS,
45 DISPLAYSIZE,
46 MODES,
47 OPTION,
48 VIDEORAM,
49 VIEWPORT,
50 VIRTUAL,
51 CLOCKPROG,
52 BIOSBASE,
53 -1
54 };
55
56 /* Dummy function for PEX in LinkKit and mono server */
57
58 #if defined(LINKKIT) && !defined(PEXEXT)
PexExtensionInit()59 PexExtensionInit() {}
60 #endif
61