decmonitors.c revision 1.1 1 1.1 elric /* $NetBSD: decmonitors.c,v 1.1 2000/03/04 10:25:07 elric Exp $ */
2 1.1 elric
3 1.1 elric /*-
4 1.1 elric * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
5 1.1 elric * All rights reserved.
6 1.1 elric *
7 1.1 elric * This code is derived from software contributed to The NetBSD Foundation
8 1.1 elric * by Roland C. Dowdeswell.
9 1.1 elric *
10 1.1 elric * Redistribution and use in source and binary forms, with or without
11 1.1 elric * modification, are permitted provided that the following conditions
12 1.1 elric * are met:
13 1.1 elric * 1. Redistributions of source code must retain the above copyright
14 1.1 elric * notice, this list of conditions and the following disclaimer.
15 1.1 elric * 2. Redistributions in binary form must reproduce the above copyright
16 1.1 elric * notice, this list of conditions and the following disclaimer in the
17 1.1 elric * documentation and/or other materials provided with the distribution.
18 1.1 elric * 3. All advertising materials mentioning features or use of this software
19 1.1 elric * must display the following acknowledgement:
20 1.1 elric * This product includes software developed by the NetBSD
21 1.1 elric * Foundation, Inc. and its contributors.
22 1.1 elric * 4. Neither the name of The NetBSD Foundation nor the names of its
23 1.1 elric * contributors may be used to endorse or promote products derived
24 1.1 elric * from this software without specific prior written permission.
25 1.1 elric *
26 1.1 elric * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27 1.1 elric * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
28 1.1 elric * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29 1.1 elric * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
30 1.1 elric * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 1.1 elric * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 1.1 elric * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 1.1 elric * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 1.1 elric * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 1.1 elric * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 1.1 elric * POSSIBILITY OF SUCH DAMAGE.
37 1.1 elric */
38 1.1 elric
39 1.1 elric #include <sys/types.h>
40 1.1 elric #include <dev/ic/monitors.h>
41 1.1 elric
42 1.1 elric #define MHz * 1000000
43 1.1 elric #define KHz * 1000
44 1.1 elric
45 1.1 elric struct monitor decmonitors[] = {
46 1.1 elric /* 0x0: 1280 x 1024 @ 72Hz */
47 1.1 elric { 1280, 32, 160, 232,
48 1.1 elric 1024, 3, 3, 33,
49 1.1 elric 130808 KHz },
50 1.1 elric
51 1.1 elric /* 0x1: 1280 x 1024 @ 66Hz */
52 1.1 elric { 1280, 32, 160, 232,
53 1.1 elric 1024, 3, 3, 33,
54 1.1 elric 119840 KHz },
55 1.1 elric
56 1.1 elric /* 0x2: 1280 x 1024 @ 60Hz */
57 1.1 elric { 1280, 44, 184, 200,
58 1.1 elric 1024, 3, 3, 26,
59 1.1 elric 108180 KHz },
60 1.1 elric
61 1.1 elric /* 0x3: 1152 x 900 @ 72Hz */
62 1.1 elric { 1152, 64, 112, 176,
63 1.1 elric 900, 6, 10, 44,
64 1.1 elric 103994 KHz },
65 1.1 elric
66 1.1 elric /* 0x4: 1600 x 1200 @ 65Hz */
67 1.1 elric { 1600, 32, 192, 336,
68 1.1 elric 1200, 1, 3, 46,
69 1.1 elric 175 MHz },
70 1.1 elric
71 1.1 elric /* 0x5: 1024 x 768 @ 70Hz */
72 1.1 elric { 1024, 24, 136, 144,
73 1.1 elric 768, 3, 6, 29,
74 1.1 elric 75 MHz },
75 1.1 elric
76 1.1 elric /* 0x6: 1024 x 768 @ 72Hz */
77 1.1 elric { 1024, 16, 128, 128,
78 1.1 elric 768, 1, 6, 22,
79 1.1 elric 74 MHz },
80 1.1 elric
81 1.1 elric /* 0x7: 1024 x 864 @ 60Hz */
82 1.1 elric { 1024, 12, 128, 116,
83 1.1 elric 864, 0, 3, 34,
84 1.1 elric 69 MHz },
85 1.1 elric
86 1.1 elric /* 0x8: 1024 x 768 @ 60Hz */
87 1.1 elric { 1024, 56, 64, 200,
88 1.1 elric 768, 7, 9, 26,
89 1.1 elric 65 MHz },
90 1.1 elric
91 1.1 elric /* 0x9: 800 x 600 @ 72Hz */
92 1.1 elric { 800, 56, 120, 64,
93 1.1 elric 600, 37, 6, 23,
94 1.1 elric 50 MHz },
95 1.1 elric
96 1.1 elric /* 0xa: 800 x 600 @ 60Hz */
97 1.1 elric { 800, 40, 128, 88,
98 1.1 elric 600, 1, 4, 23,
99 1.1 elric 40 MHz },
100 1.1 elric
101 1.1 elric /* 0xb: 640 x 480 @ 72Hz */
102 1.1 elric { 640, 24, 40, 128,
103 1.1 elric 480, 9, 3, 28,
104 1.1 elric 31500 KHz },
105 1.1 elric
106 1.1 elric /* 0xc: 640 x 480 @ 60Hz */
107 1.1 elric { 640, 16, 96, 48,
108 1.1 elric 480, 10, 2, 33,
109 1.1 elric 25175 KHz },
110 1.1 elric
111 1.1 elric /* 0xd: 1280 x 1024 @ 75Hz */
112 1.1 elric { 1280, 16, 144, 248,
113 1.1 elric 1024, 1, 3, 38,
114 1.1 elric 135 MHz },
115 1.1 elric
116 1.1 elric /* 0xe: 1280 x 1024 @ 60Hz */
117 1.1 elric { 1280, 19, 163, 234,
118 1.1 elric 1024, 6, 7, 44,
119 1.1 elric 110 MHz },
120 1.1 elric
121 1.1 elric /* 0xf: 1600 x 1200 @ 75Hz */
122 1.1 elric /* XXX -- this one's weird. rcd */
123 1.1 elric { 1600, 32, 192, 336,
124 1.1 elric 1200, 1, 3, 46,
125 1.1 elric 202500 KHz }
126 1.1 elric };
127 1.1 elric
128 1.1 elric #undef MHz
129 1.1 elric #undef KHz
130