1
2static const struct fb_videomode modedb2[] = {
3    {
4	/* 640x400 @ 70 Hz, 31.5 kHz hsync */
5	NULL, 70, 640, 400, 39721, 40, 24, 39, 9, 96, 2,
6	0, FB_VMODE_NONINTERLACED
7    }, {
8	/* 640x480 @ 60 Hz, 31.5 kHz hsync */
9	NULL, 60, 640, 480, 39721, 40, 24, 32, 11, 96, 2,
10	0, FB_VMODE_NONINTERLACED
11    }, {
12	/* 800x600 @ 56 Hz, 35.15 kHz hsync */
13	NULL, 56, 800, 600, 27777, 128, 24, 22, 1, 72, 2,
14	0, FB_VMODE_NONINTERLACED
15    }, {
16	/* 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync */
17	NULL, 87, 1024, 768, 22271, 56, 24, 33, 8, 160, 8,
18	0, FB_VMODE_INTERLACED
19    }, {
20	/* 640x400 @ 85 Hz, 37.86 kHz hsync */
21	NULL, 85, 640, 400, 31746, 96, 32, 41, 1, 64, 3,
22	FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
23    }, {
24	/* 640x480 @ 72 Hz, 36.5 kHz hsync */
25	NULL, 72, 640, 480, 31746, 144, 40, 30, 8, 40, 3,
26	0, FB_VMODE_NONINTERLACED
27    }, {
28	/* 640x480 @ 75 Hz, 37.50 kHz hsync */
29	NULL, 75, 640, 480, 31746, 120, 16, 16, 1, 64, 3,
30	0, FB_VMODE_NONINTERLACED
31    }, {
32	/* 800x600 @ 60 Hz, 37.8 kHz hsync */
33	NULL, 60, 800, 600, 25000, 88, 40, 23, 1, 128, 4,
34	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
35    }, {
36	/* 640x480 @ 85 Hz, 43.27 kHz hsync */
37	NULL, 85, 640, 480, 27777, 80, 56, 25, 1, 56, 3,
38	0, FB_VMODE_NONINTERLACED
39    }, {
40	/* 1152x864 @ 89 Hz interlaced, 44 kHz hsync */
41	NULL, 69, 1152, 864, 15384, 96, 16, 110, 1, 216, 10,
42	0, FB_VMODE_INTERLACED
43    }, {
44	/* 800x600 @ 72 Hz, 48.0 kHz hsync */
45	NULL, 72, 800, 600, 20000, 64, 56, 23, 37, 120, 6,
46	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
47    }, {
48	/* 1024x768 @ 60 Hz, 48.4 kHz hsync */
49	NULL, 60, 1024, 768, 15384, 168, 8, 29, 3, 144, 6,
50	0, FB_VMODE_NONINTERLACED
51    }, {
52	/* 640x480 @ 100 Hz, 53.01 kHz hsync */
53	NULL, 100, 640, 480, 21834, 96, 32, 36, 8, 96, 6,
54	0, FB_VMODE_NONINTERLACED
55    }, {
56	/* 1152x864 @ 60 Hz, 53.5 kHz hsync */
57	NULL, 60, 1152, 864, 11123, 208, 64, 16, 4, 256, 8,
58	0, FB_VMODE_NONINTERLACED
59    }, {
60	/* 800x600 @ 85 Hz, 55.84 kHz hsync */
61	NULL, 85, 800, 600, 16460, 160, 64, 36, 16, 64, 5,
62	0, FB_VMODE_NONINTERLACED
63    }, {
64	/* 1024x768 @ 70 Hz, 56.5 kHz hsync */
65	NULL, 70, 1024, 768, 13333, 144, 24, 29, 3, 136, 6,
66	0, FB_VMODE_NONINTERLACED
67    }, {
68        /*  1280x960-60 VESA */
69        NULL, 60, 1280, 960, 9259, 312, 96, 36, 1, 112, 3,
70        FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,  FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA
71    }, {
72        /*  1280x1024-60 VESA */
73        NULL, 60, 1280, 1024, 9259, 248, 48, 38, 1, 112, 3,
74        FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA
75    }, {
76	/* 1280x1024 @ 87 Hz interlaced, 51 kHz hsync */
77	NULL, 87, 1280, 1024, 12500, 56, 16, 128, 1, 216, 12,
78	0, FB_VMODE_INTERLACED
79    }, {
80	/* 800x600 @ 100 Hz, 64.02 kHz hsync */
81	NULL, 100, 800, 600, 14357, 160, 64, 30, 4, 64, 6,
82	0, FB_VMODE_NONINTERLACED
83    }, {
84	/* 1024x768 @ 76 Hz, 62.5 kHz hsync */
85	NULL, 76, 1024, 768, 11764, 208, 8, 36, 16, 120, 3,
86	0, FB_VMODE_NONINTERLACED
87    }, {
88	/* 1152x864 @ 70 Hz, 62.4 kHz hsync */
89	NULL, 70, 1152, 864, 10869, 106, 56, 20, 1, 160, 10,
90	0, FB_VMODE_NONINTERLACED
91    }, {
92	/* 1280x1024 @ 61 Hz, 64.2 kHz hsync */
93	NULL, 61, 1280, 1024, 9090, 200, 48, 26, 1, 184, 3,
94	0, FB_VMODE_NONINTERLACED
95    }, {
96	/* 1400x1050 @ 60Hz, 63.9 kHz hsync */
97	NULL, 68, 1400, 1050, 9259, 136, 40, 13, 1, 112, 3,
98	0, FB_VMODE_NONINTERLACED
99    }, {
100	/* 1400x1050 @ 75,107 Hz, 82,392 kHz +hsync +vsync*/
101	NULL, 75, 1400, 1050, 9271, 120, 56, 13, 0, 112, 3,
102	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
103    }, {
104	/* 1400x1050 @ 60 Hz, ? kHz +hsync +vsync*/
105        NULL, 60, 1400, 1050, 9259, 128, 40, 12, 0, 112, 3,
106	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
107    }, {
108	/* 1024x768 @ 85 Hz, 70.24 kHz hsync */
109	NULL, 85, 1024, 768, 10111, 192, 32, 34, 14, 160, 6,
110	0, FB_VMODE_NONINTERLACED
111    }, {
112	/* 1152x864 @ 78 Hz, 70.8 kHz hsync */
113	NULL, 78, 1152, 864, 9090, 228, 88, 32, 0, 84, 12,
114	0, FB_VMODE_NONINTERLACED
115    }, {
116	/* 1280x1024 @ 70 Hz, 74.59 kHz hsync */
117	NULL, 70, 1280, 1024, 7905, 224, 32, 28, 8, 160, 8,
118	0, FB_VMODE_NONINTERLACED
119    }, {
120	/* 1600x1200 @ 60Hz, 75.00 kHz hsync */
121	NULL, 60, 1600, 1200, 6172, 304, 64, 46, 1, 192, 3,
122	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
123    }, {
124	/* 1152x864 @ 84 Hz, 76.0 kHz hsync */
125	NULL, 84, 1152, 864, 7407, 184, 312, 32, 0, 128, 12,
126	0, FB_VMODE_NONINTERLACED
127    }, {
128	/* 1280x1024 @ 74 Hz, 78.85 kHz hsync */
129	NULL, 74, 1280, 1024, 7407, 256, 32, 34, 3, 144, 3,
130	0, FB_VMODE_NONINTERLACED
131    }, {
132	/* 1024x768 @ 100Hz, 80.21 kHz hsync */
133	NULL, 100, 1024, 768, 8658, 192, 32, 21, 3, 192, 10,
134	0, FB_VMODE_NONINTERLACED
135    }, {
136	/* 1280x1024 @ 76 Hz, 81.13 kHz hsync */
137	NULL, 76, 1280, 1024, 7407, 248, 32, 34, 3, 104, 3,
138	0, FB_VMODE_NONINTERLACED
139    }, {
140	/* 1600x1200 @ 70 Hz, 87.50 kHz hsync */
141	NULL, 70, 1600, 1200, 5291, 304, 64, 46, 1, 192, 3,
142	0, FB_VMODE_NONINTERLACED
143    }, {
144	/* 1152x864 @ 100 Hz, 89.62 kHz hsync */
145	NULL, 100, 1152, 864, 7264, 224, 32, 17, 2, 128, 19,
146	0, FB_VMODE_NONINTERLACED
147    }, {
148	/* 1280x1024 @ 85 Hz, 91.15 kHz hsync */
149	NULL, 85, 1280, 1024, 6349, 224, 64, 44, 1, 160, 3,
150	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
151    }, {
152	/* 1600x1200 @ 75 Hz, 93.75 kHz hsync */
153	NULL, 75, 1600, 1200, 4938, 304, 64, 46, 1, 192, 3,
154	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
155    }, {
156	/* 1600x1200 @ 85 Hz, 105.77 kHz hsync */
157	NULL, 85, 1600, 1200, 4545, 272, 16, 37, 4, 192, 3,
158	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
159    }, {
160	/* 1280x1024 @ 100 Hz, 107.16 kHz hsync */
161	NULL, 100, 1280, 1024, 5502, 256, 32, 26, 7, 128, 15,
162	0, FB_VMODE_NONINTERLACED
163    }, {
164	/* 1800x1440 @ 64Hz, 96.15 kHz hsync  */
165	NULL, 64, 1800, 1440, 4347, 304, 96, 46, 1, 192, 3,
166	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
167    }, {
168	/* 1800x1440 @ 70Hz, 104.52 kHz hsync  */
169	NULL, 70, 1800, 1440, 4000, 304, 96, 46, 1, 192, 3,
170	FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED
171    }, {
172	/* 512x384 @ 78 Hz, 31.50 kHz hsync */
173	NULL, 78, 512, 384, 49603, 48, 16, 16, 1, 64, 3,
174	0, FB_VMODE_NONINTERLACED
175    }, {
176	/* 512x384 @ 85 Hz, 34.38 kHz hsync */
177	NULL, 85, 512, 384, 45454, 48, 16, 16, 1, 64, 3,
178	0, FB_VMODE_NONINTERLACED
179    }, {
180	/* 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio */
181	NULL, 70, 320, 200, 79440, 16, 16, 20, 4, 48, 1,
182	0, FB_VMODE_DOUBLE
183    }, {
184	/* 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio */
185	NULL, 60, 320, 240, 79440, 16, 16, 16, 5, 48, 1,
186	0, FB_VMODE_DOUBLE
187    }, {
188	/* 320x240 @ 72 Hz, 36.5 kHz hsync */
189	NULL, 72, 320, 240, 63492, 16, 16, 16, 4, 48, 2,
190	0, FB_VMODE_DOUBLE
191    }, {
192	/* 400x300 @ 56 Hz, 35.2 kHz hsync, 4:3 aspect ratio */
193	NULL, 56, 400, 300, 55555, 64, 16, 10, 1, 32, 1,
194	0, FB_VMODE_DOUBLE
195    }, {
196	/* 400x300 @ 60 Hz, 37.8 kHz hsync */
197	NULL, 60, 400, 300, 50000, 48, 16, 11, 1, 64, 2,
198	0, FB_VMODE_DOUBLE
199    }, {
200	/* 400x300 @ 72 Hz, 48.0 kHz hsync */
201	NULL, 72, 400, 300, 40000, 32, 24, 11, 19, 64, 3,
202	0, FB_VMODE_DOUBLE
203    }, {
204	/* 480x300 @ 56 Hz, 35.2 kHz hsync, 8:5 aspect ratio */
205	NULL, 56, 480, 300, 46176, 80, 16, 10, 1, 40, 1,
206	0, FB_VMODE_DOUBLE
207    }, {
208	/* 480x300 @ 60 Hz, 37.8 kHz hsync */
209	NULL, 60, 480, 300, 41858, 56, 16, 11, 1, 80, 2,
210	0, FB_VMODE_DOUBLE
211    }, {
212	/* 480x300 @ 63 Hz, 39.6 kHz hsync */
213	NULL, 63, 480, 300, 40000, 56, 16, 11, 1, 80, 2,
214	0, FB_VMODE_DOUBLE
215    }, {
216	/* 480x300 @ 72 Hz, 48.0 kHz hsync */
217	NULL, 72, 480, 300, 33386, 40, 24, 11, 19, 80, 3,
218	0, FB_VMODE_DOUBLE
219    },
220};
221static const int nmodedb2 = sizeof(modedb2);
222