/* $XFree86$ */ /* $XdotOrg$ */ /* * OEM Data for 315/330/340 series * * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria * * If distributed as part of the Linux kernel, the following license terms * apply: * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the named License, * * or any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA * * Otherwise, the following license terms apply: * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted provided that the following conditions * * are met: * * 1) Redistributions of source code must retain the above copyright * * notice, this list of conditions and the following disclaimer. * * 2) Redistributions in binary form must reproduce the above copyright * * notice, this list of conditions and the following disclaimer in the * * documentation and/or other materials provided with the distribution. * * 3) The name of the author may not be used to endorse or promote products * * derived from this software without specific prior written permission. * * * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Author: Thomas Winischhofer <[email protected]> * */ static const unsigned char SiS310_LCDDelayCompensation_301[] = …/* 301 */ { … }; /* This is contained in 650+301B BIOSes, but it is wrong - so we don't use it */ static const unsigned char SiS310_LCDDelayCompensation_650301LV[] = …/* 650 + 30xLV */ { … }; static const unsigned char SiS310_LCDDelayCompensation_651301LV[] = …/* M650/651 301LV */ { … }; static const unsigned char SiS310_LCDDelayCompensation_651302LV[] = …/* M650/651 302LV */ { … }; static const unsigned char SiS310_LCDDelayCompensation_3xx301B[] = …/* 30xB */ { … }; static const unsigned char SiS310_LCDDelayCompensation_3xx301LV[] = …/* 315+30xLV */ { … }; static const unsigned char SiS310_TVDelayCompensation_301[] = …/* 301 */ { … }; static const unsigned char SiS310_TVDelayCompensation_301B[] = …/* 30xB, 30xLV */ { … }; static const unsigned char SiS310_TVDelayCompensation_740301B[] = …/* 740 + 30xB (30xLV?) */ { … }; static const unsigned char SiS310_TVDelayCompensation_651301LV[] = …/* M650, 651, 301LV */ { … }; static const unsigned char SiS310_TVDelayCompensation_651302LV[] = …/* M650, 651, 302LV */ { … }; #if 0 /* Not used */ static const unsigned char SiS_TVDelay661_301[] = /* 661, 301 */ { 0x44,0x44, 0x44,0x44, 0x00,0x00, 0x44,0x44, 0x44,0x44, 0x44,0x44 }; static const unsigned char SiS_TVDelay661_301B[] = /* 661, 301B et al */ { 0x44,0x44, 0x44,0x44, 0x00,0x00, 0x44,0x44, 0x44,0x44, 0x44,0x44 }; #endif static const unsigned char SiS310_TVDelayCompensation_LVDS[] = …/* LVDS */ { … }; static const unsigned char SiS310_TVAntiFlick1[6][2] = …; static const unsigned char SiS310_TVEdge1[6][2] = …; static const unsigned char SiS310_TVYFilter1[5][8][4] = …; static const unsigned char SiS310_TVYFilter2[5][9][7] = …; static const unsigned char SiS310_TVPhaseIncr1[3][2][4] = …; static const unsigned char SiS310_TVPhaseIncr2[3][2][4] = …; /**************************************************************/ /* CUSTOM TIMING DATA --------------------------------------- */ /**************************************************************/ /* Inventec / Compaq Presario 3045US, 3017 */ static const struct SiS_LCDData SiS310_ExtCompaq1280x1024Data[] = …; /* Asus A2xxxH _2 */ static const struct SiS_Part2PortTbl SiS310_CRT2Part2_Asus1024x768_3[] = …;