From 3f9bd18e6d08a1da523bcf67c12338247e7a073f Mon Sep 17 00:00:00 2001 From: macallan Date: Sat, 11 Nov 2006 22:14:44 +0000 Subject: [PATCH] add 1024x768 @ 89Hz for the Apple eMac from Marco Trillo --- sys/dev/videomode/modelines | 5 ++++- sys/dev/videomode/videomode.c | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/sys/dev/videomode/modelines b/sys/dev/videomode/modelines index 5816ea77842c..8db39b638b5f 100644 --- a/sys/dev/videomode/modelines +++ b/sys/dev/videomode/modelines @@ -1,4 +1,4 @@ -// $NetBSD: modelines,v 1.1 2006/03/04 02:34:27 gdamore Exp $ +// $NetBSD: modelines,v 1.2 2006/11/11 22:14:44 macallan Exp $ // // This file was imported from XFree86, and is made of the contents of both // the vesamodes and extramodes files. As a result these should correspond @@ -64,6 +64,9 @@ ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsy # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync +# 1024x768 @ 89Hz (non-standard) hsync: 72.0kHz +ModeLine "1024x768" 100 1024 1108 1280 1408 768 768 780 796 +hsync +vsync + # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync diff --git a/sys/dev/videomode/videomode.c b/sys/dev/videomode/videomode.c index af8207701403..823ccd503757 100644 --- a/sys/dev/videomode/videomode.c +++ b/sys/dev/videomode/videomode.c @@ -1,4 +1,4 @@ -/* $NetBSD: videomode.c,v 1.4 2006/10/26 23:21:23 bjh21 Exp $ */ +/* $NetBSD: videomode.c,v 1.5 2006/11/11 22:14:44 macallan Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. @@ -8,7 +8,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: videomode.c,v 1.4 2006/10/26 23:21:23 bjh21 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: videomode.c,v 1.5 2006/11/11 22:14:44 macallan Exp $"); #include @@ -43,6 +43,7 @@ M("1024x768x60",1024,768,65000,1048,1184,1344,771,777,806,HN|VN), M("1024x768x70",1024,768,75000,1048,1184,1328,771,777,806,HN|VN), M("1024x768x75",1024,768,78800,1040,1136,1312,769,772,800,HP|VP), M("1024x768x85",1024,768,94500,1072,1168,1376,769,772,808,HP|VP), +M("1024x768x89",1024,768,100000,1108,1280,1408,768,780,796,HP|VP), M("1152x864x75",1152,864,108000,1216,1344,1600,865,868,900,HP|VP), M("1280x960x60",1280,960,108000,1376,1488,1800,961,964,1000,HP|VP), M("1280x960x85",1280,960,148500,1344,1504,1728,961,964,1011,HP|VP), @@ -84,6 +85,7 @@ M("512x384x60",512,384,32500,524,592,672,385,388,403,HN|VN|DS), M("512x384x70",512,384,37500,524,592,664,385,388,403,HN|VN|DS), M("512x384x75",512,384,39400,520,568,656,384,386,400,HP|VP|DS), M("512x384x85",512,384,47250,536,584,688,384,386,404,HP|VP|DS), +M("512x384x89",512,384,50000,554,640,704,384,390,398,HP|VP|DS), M("576x432x75",576,432,54000,608,672,800,432,434,450,HP|VP|DS), M("640x480x60",640,480,54000,688,744,900,480,482,500,HP|VP|DS), M("640x480x85",640,480,74250,672,752,864,480,482,505,HP|VP|DS), @@ -107,4 +109,4 @@ M("700x525x60",700,525,61000,744,820,940,526,532,541,HP|VP|DS), M("700x525x74",700,525,77900,732,892,956,526,532,545,HP|VP|DS), }; -const int videomode_count = 38; +const int videomode_count = 39;