1*d874cce4Sray /* $OpenBSD: decmonitors.c,v 1.3 2008/06/26 05:42:15 ray Exp $ */ 24cd9f15eSericj 34cd9f15eSericj /*- 44cd9f15eSericj * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 54cd9f15eSericj * All rights reserved. 64cd9f15eSericj * 74cd9f15eSericj * This code is derived from software contributed to The NetBSD Foundation 84cd9f15eSericj * by Roland C. Dowdeswell. 94cd9f15eSericj * 104cd9f15eSericj * Redistribution and use in source and binary forms, with or without 114cd9f15eSericj * modification, are permitted provided that the following conditions 124cd9f15eSericj * are met: 134cd9f15eSericj * 1. Redistributions of source code must retain the above copyright 144cd9f15eSericj * notice, this list of conditions and the following disclaimer. 154cd9f15eSericj * 2. Redistributions in binary form must reproduce the above copyright 164cd9f15eSericj * notice, this list of conditions and the following disclaimer in the 174cd9f15eSericj * documentation and/or other materials provided with the distribution. 184cd9f15eSericj * 194cd9f15eSericj * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 204cd9f15eSericj * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 214cd9f15eSericj * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 224cd9f15eSericj * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 234cd9f15eSericj * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 244cd9f15eSericj * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 254cd9f15eSericj * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 264cd9f15eSericj * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 274cd9f15eSericj * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 284cd9f15eSericj * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 294cd9f15eSericj * POSSIBILITY OF SUCH DAMAGE. 304cd9f15eSericj */ 314cd9f15eSericj 324cd9f15eSericj #include <sys/types.h> 334cd9f15eSericj #include <dev/ic/monitors.h> 344cd9f15eSericj 354cd9f15eSericj #define MHz * 1000000 364cd9f15eSericj #define KHz * 1000 374cd9f15eSericj 384cd9f15eSericj struct monitor decmonitors[] = { 394cd9f15eSericj /* 0x0: 1280 x 1024 @ 72Hz */ 404cd9f15eSericj { 1280, 32, 160, 232, 414cd9f15eSericj 1024, 3, 3, 33, 424cd9f15eSericj 130808 KHz }, 434cd9f15eSericj 444cd9f15eSericj /* 0x1: 1280 x 1024 @ 66Hz */ 454cd9f15eSericj { 1280, 32, 160, 232, 464cd9f15eSericj 1024, 3, 3, 33, 474cd9f15eSericj 119840 KHz }, 484cd9f15eSericj 494cd9f15eSericj /* 0x2: 1280 x 1024 @ 60Hz */ 504cd9f15eSericj { 1280, 44, 184, 200, 514cd9f15eSericj 1024, 3, 3, 26, 524cd9f15eSericj 108180 KHz }, 534cd9f15eSericj 544cd9f15eSericj /* 0x3: 1152 x 900 @ 72Hz */ 554cd9f15eSericj { 1152, 64, 112, 176, 564cd9f15eSericj 900, 6, 10, 44, 574cd9f15eSericj 103994 KHz }, 584cd9f15eSericj 594cd9f15eSericj /* 0x4: 1600 x 1200 @ 65Hz */ 604cd9f15eSericj { 1600, 32, 192, 336, 614cd9f15eSericj 1200, 1, 3, 46, 624cd9f15eSericj 175 MHz }, 634cd9f15eSericj 644cd9f15eSericj /* 0x5: 1024 x 768 @ 70Hz */ 654cd9f15eSericj { 1024, 24, 136, 144, 664cd9f15eSericj 768, 3, 6, 29, 674cd9f15eSericj 75 MHz }, 684cd9f15eSericj 694cd9f15eSericj /* 0x6: 1024 x 768 @ 72Hz */ 704cd9f15eSericj { 1024, 16, 128, 128, 714cd9f15eSericj 768, 1, 6, 22, 724cd9f15eSericj 74 MHz }, 734cd9f15eSericj 744cd9f15eSericj /* 0x7: 1024 x 864 @ 60Hz */ 754cd9f15eSericj { 1024, 12, 128, 116, 764cd9f15eSericj 864, 0, 3, 34, 774cd9f15eSericj 69 MHz }, 784cd9f15eSericj 794cd9f15eSericj /* 0x8: 1024 x 768 @ 60Hz */ 804cd9f15eSericj { 1024, 56, 64, 200, 814cd9f15eSericj 768, 7, 9, 26, 824cd9f15eSericj 65 MHz }, 834cd9f15eSericj 844cd9f15eSericj /* 0x9: 800 x 600 @ 72Hz */ 854cd9f15eSericj { 800, 56, 120, 64, 864cd9f15eSericj 600, 37, 6, 23, 874cd9f15eSericj 50 MHz }, 884cd9f15eSericj 894cd9f15eSericj /* 0xa: 800 x 600 @ 60Hz */ 904cd9f15eSericj { 800, 40, 128, 88, 914cd9f15eSericj 600, 1, 4, 23, 924cd9f15eSericj 40 MHz }, 934cd9f15eSericj 944cd9f15eSericj /* 0xb: 640 x 480 @ 72Hz */ 954cd9f15eSericj { 640, 24, 40, 128, 964cd9f15eSericj 480, 9, 3, 28, 974cd9f15eSericj 31500 KHz }, 984cd9f15eSericj 994cd9f15eSericj /* 0xc: 640 x 480 @ 60Hz */ 1004cd9f15eSericj { 640, 16, 96, 48, 1014cd9f15eSericj 480, 10, 2, 33, 1024cd9f15eSericj 25175 KHz }, 1034cd9f15eSericj 1044cd9f15eSericj /* 0xd: 1280 x 1024 @ 75Hz */ 1054cd9f15eSericj { 1280, 16, 144, 248, 1064cd9f15eSericj 1024, 1, 3, 38, 1074cd9f15eSericj 135 MHz }, 1084cd9f15eSericj 1094cd9f15eSericj /* 0xe: 1280 x 1024 @ 60Hz */ 1104cd9f15eSericj { 1280, 19, 163, 234, 1114cd9f15eSericj 1024, 6, 7, 44, 1124cd9f15eSericj 110 MHz }, 1134cd9f15eSericj 1144cd9f15eSericj /* 0xf: 1600 x 1200 @ 75Hz */ 1154cd9f15eSericj /* XXX -- this one's weird. rcd */ 1164cd9f15eSericj { 1600, 32, 192, 336, 1174cd9f15eSericj 1200, 1, 3, 46, 1184cd9f15eSericj 202500 KHz } 1194cd9f15eSericj }; 1204cd9f15eSericj 1214cd9f15eSericj #undef MHz 1224cd9f15eSericj #undef KHz 123