1 2 /* 3 * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. 4 * 5 * generated from: 6 * NetBSD: modelines,v 1.9 2011/03/30 18:45:04 jdc Exp 7 */ 8 9 #include <sys/cdefs.h> 10 #include <sys/types.h> 11 #include <sys/param.h> 12 #include <sys/module.h> 13 #include <dev/videomode/videomode.h> 14 15 MODULE_VERSION(videomode, 1); 16 17 /* 18 * These macros help the modelines below fit on one line. 19 */ 20 #define HP VID_PHSYNC 21 #define HN VID_NHSYNC 22 #define VP VID_PVSYNC 23 #define VN VID_NVSYNC 24 #define I VID_INTERLACE 25 #define DS VID_DBLSCAN 26 27 #define M(nm,hr,vr,clk,hs,he,ht,vs,ve,vt,f) \ 28 { clk, hr, hs, he, ht, vr, vs, ve, vt, f, nm } 29 30 const struct videomode videomode_list[] = { 31 M("640x350x85",640,350,31500,672,736,832,382,385,445,HP|VN), 32 M("640x400x85",640,400,31500,672,736,832,401,404,445,HN|VP), 33 M("720x400x70",720,400,28320,738,846,900,412,414,449,HN|VP), 34 M("720x400x85",720,400,35500,756,828,936,401,404,446,HN|VP), 35 M("720x400x87",720,400,35500,738,846,900,421,423,449,HN|VN), 36 M("640x480x60",640,480,25175,656,752,800,490,492,525,HN|VN), 37 M("640x480x72",640,480,31500,664,704,832,489,492,520,HN|VN), 38 M("640x480x75",640,480,31500,656,720,840,481,484,500,HN|VN), 39 M("640x480x85",640,480,36000,696,752,832,481,484,509,HN|VN), 40 M("800x600x56",800,600,36000,824,896,1024,601,603,625,HP|VP), 41 M("800x600x60",800,600,40000,840,968,1056,601,605,628,HP|VP), 42 M("800x600x72",800,600,50000,856,976,1040,637,643,666,HP|VP), 43 M("800x600x75",800,600,49500,816,896,1056,601,604,625,HP|VP), 44 M("800x600x85",800,600,56250,832,896,1048,601,604,631,HP|VP), 45 M("1024x768x87i",1024,768,44900,1032,1208,1264,768,776,817,HP|VP|I), 46 M("1024x768x60",1024,768,65000,1048,1184,1344,771,777,806,HN|VN), 47 M("1024x768x70",1024,768,75000,1048,1184,1328,771,777,806,HN|VN), 48 M("1024x768x75",1024,768,78750,1040,1136,1312,769,772,800,HP|VP), 49 M("1024x768x85",1024,768,94500,1072,1168,1376,769,772,808,HP|VP), 50 M("1024x768x89",1024,768,100000,1108,1280,1408,768,780,796,HP|VP), 51 M("1152x864x75",1152,864,108000,1216,1344,1600,865,868,900,HP|VP), 52 M("1280x768x75",1280,768,105640,1312,1712,1744,782,792,807,HN|VP), 53 M("1280x960x60",1280,960,108000,1376,1488,1800,961,964,1000,HP|VP), 54 M("1280x960x85",1280,960,148500,1344,1504,1728,961,964,1011,HP|VP), 55 M("1280x1024x60",1280,1024,108000,1328,1440,1688,1025,1028,1066,HP|VP), 56 M("1280x1024x70",1280,1024,126000,1328,1440,1688,1025,1028,1066,HP|VP), 57 M("1280x1024x75",1280,1024,135000,1296,1440,1688,1025,1028,1066,HP|VP), 58 M("1280x1024x85",1280,1024,157500,1344,1504,1728,1025,1028,1072,HP|VP), 59 M("1600x1200x60",1600,1200,162000,1664,1856,2160,1201,1204,1250,HP|VP), 60 M("1600x1200x65",1600,1200,175500,1664,1856,2160,1201,1204,1250,HP|VP), 61 M("1600x1200x70",1600,1200,189000,1664,1856,2160,1201,1204,1250,HP|VP), 62 M("1600x1200x75",1600,1200,202500,1664,1856,2160,1201,1204,1250,HP|VP), 63 M("1600x1200x85",1600,1200,229500,1664,1856,2160,1201,1204,1250,HP|VP), 64 M("1680x1050x60",1680,1050,147140,1784,1968,2256,1051,1054,1087,HP|VP), 65 M("1792x1344x60",1792,1344,204800,1920,2120,2448,1345,1348,1394,HN|VP), 66 M("1792x1344x75",1792,1344,261000,1888,2104,2456,1345,1348,1417,HN|VP), 67 M("1856x1392x60",1856,1392,218300,1952,2176,2528,1393,1396,1439,HN|VP), 68 M("1856x1392x75",1856,1392,288000,1984,2208,2560,1393,1396,1500,HN|VP), 69 M("1920x1440x60",1920,1440,234000,2048,2256,2600,1441,1444,1500,HN|VP), 70 M("1920x1440x75",1920,1440,297000,2064,2288,2640,1441,1444,1500,HN|VP), 71 M("832x624x74",832,624,57284,864,928,1152,625,628,667,HN|VN), 72 M("1152x768x54",1152,768,64995,1178,1314,1472,771,777,806,HP|VP), 73 M("1400x1050x60",1400,1050,122000,1488,1640,1880,1052,1064,1082,HP|VP), 74 M("1400x1050x74",1400,1050,155800,1464,1784,1912,1052,1064,1090,HP|VP), 75 M("1152x900x66",1152,900,94500,1192,1320,1528,902,906,937,HN|VN), 76 M("1152x900x76",1152,900,105560,1168,1280,1472,902,906,943,HN|VN), 77 78 /* Derived Double Scan Modes */ 79 80 M("320x175x85",320,175,15750,336,368,416,191,192,222,HP|VN|DS), 81 M("320x200x85",320,200,15750,336,368,416,200,202,222,HN|VP|DS), 82 M("360x200x70",360,200,14160,369,423,450,206,207,224,HN|VP|DS), 83 M("360x200x85",360,200,17750,378,414,468,200,202,223,HN|VP|DS), 84 M("360x200x87",360,200,17750,369,423,450,210,211,224,HN|VN|DS), 85 M("320x240x60",320,240,12587,328,376,400,245,246,262,HN|VN|DS), 86 M("320x240x72",320,240,15750,332,352,416,244,246,260,HN|VN|DS), 87 M("320x240x75",320,240,15750,328,360,420,240,242,250,HN|VN|DS), 88 M("320x240x85",320,240,18000,348,376,416,240,242,254,HN|VN|DS), 89 M("400x300x56",400,300,18000,412,448,512,300,301,312,HP|VP|DS), 90 M("400x300x60",400,300,20000,420,484,528,300,302,314,HP|VP|DS), 91 M("400x300x72",400,300,25000,428,488,520,318,321,333,HP|VP|DS), 92 M("400x300x75",400,300,24750,408,448,528,300,302,312,HP|VP|DS), 93 M("400x300x85",400,300,28125,416,448,524,300,302,315,HP|VP|DS), 94 M("512x384x87i",512,384,22450,516,604,632,384,388,408,HP|VP|DS|I), 95 M("512x384x60",512,384,32500,524,592,672,385,388,403,HN|VN|DS), 96 M("512x384x70",512,384,37500,524,592,664,385,388,403,HN|VN|DS), 97 M("512x384x75",512,384,39375,520,568,656,384,386,400,HP|VP|DS), 98 M("512x384x85",512,384,47250,536,584,688,384,386,404,HP|VP|DS), 99 M("512x384x89",512,384,50000,554,640,704,384,390,398,HP|VP|DS), 100 M("576x432x75",576,432,54000,608,672,800,432,434,450,HP|VP|DS), 101 M("640x384x75",640,384,52820,656,856,872,391,396,403,HN|VP|DS), 102 M("640x480x60",640,480,54000,688,744,900,480,482,500,HP|VP|DS), 103 M("640x480x85",640,480,74250,672,752,864,480,482,505,HP|VP|DS), 104 M("640x512x60",640,512,54000,664,720,844,512,514,533,HP|VP|DS), 105 M("640x512x70",640,512,63000,664,720,844,512,514,533,HP|VP|DS), 106 M("640x512x75",640,512,67500,648,720,844,512,514,533,HP|VP|DS), 107 M("640x512x85",640,512,78750,672,752,864,512,514,536,HP|VP|DS), 108 M("800x600x60",800,600,81000,832,928,1080,600,602,625,HP|VP|DS), 109 M("800x600x65",800,600,87750,832,928,1080,600,602,625,HP|VP|DS), 110 M("800x600x70",800,600,94500,832,928,1080,600,602,625,HP|VP|DS), 111 M("800x600x75",800,600,101250,832,928,1080,600,602,625,HP|VP|DS), 112 M("800x600x85",800,600,114750,832,928,1080,600,602,625,HP|VP|DS), 113 M("840x525x60",840,525,73570,892,984,1128,525,527,543,HP|VP|DS), 114 M("896x672x60",896,672,102400,960,1060,1224,672,674,697,HN|VP|DS), 115 M("896x672x75",896,672,130500,944,1052,1228,672,674,708,HN|VP|DS), 116 M("928x696x60",928,696,109150,976,1088,1264,696,698,719,HN|VP|DS), 117 M("928x696x75",928,696,144000,992,1104,1280,696,698,750,HN|VP|DS), 118 M("960x720x60",960,720,117000,1024,1128,1300,720,722,750,HN|VP|DS), 119 M("960x720x75",960,720,148500,1032,1144,1320,720,722,750,HN|VP|DS), 120 M("416x312x74",416,312,28642,432,464,576,312,314,333,HN|VN|DS), 121 M("576x384x54",576,384,32497,589,657,736,385,388,403,HP|VP|DS), 122 M("700x525x60",700,525,61000,744,820,940,526,532,541,HP|VP|DS), 123 M("700x525x74",700,525,77900,732,892,956,526,532,545,HP|VP|DS), 124 M("576x450x66",576,450,47250,596,660,764,451,453,468,HN|VN|DS), 125 M("576x450x76",576,450,52780,584,640,736,451,453,471,HN|VN|DS), 126 }; 127 128 const int videomode_count = 46; 129