1/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/gfx/gfx_vga.c,v 1.1 2002/12/10 15:12:26 alanh Exp $ */
2/*
3 * $Workfile: gfx_vga.c $
4 *
5 * This file contains routines to interface to the VGA registers.  Some
6 * operating systems require mode sets be done through VGA, rather than
7 * directly using the "gfx_set_display_mode" routine.
8 *
9 * NSC_LIC_ALTERNATIVE_PREAMBLE
10 *
11 * Revision 1.0
12 *
13 * National Semiconductor Alternative GPL-BSD License
14 *
15 * National Semiconductor Corporation licenses this software
16 * ("Software"):
17 *
18 *      Durango
19 *
20 * under one of the two following licenses, depending on how the
21 * Software is received by the Licensee.
22 *
23 * If this Software is received as part of the Linux Framebuffer or
24 * other GPL licensed software, then the GPL license designated
25 * NSC_LIC_GPL applies to this Software; in all other circumstances
26 * then the BSD-style license designated NSC_LIC_BSD shall apply.
27 *
28 * END_NSC_LIC_ALTERNATIVE_PREAMBLE */
29
30/* NSC_LIC_BSD
31 *
32 * National Semiconductor Corporation Open Source License for Durango
33 *
34 * (BSD License with Export Notice)
35 *
36 * Copyright (c) 1999-2001
37 * National Semiconductor Corporation.
38 * All rights reserved.
39 *
40 * Redistribution and use in source and binary forms, with or without
41 * modification, are permitted provided that the following conditions
42 * are met:
43 *
44 *   * Redistributions of source code must retain the above copyright
45 *     notice, this list of conditions and the following disclaimer.
46 *
47 *   * Redistributions in binary form must reproduce the above
48 *     copyright notice, this list of conditions and the following
49 *     disclaimer in the documentation and/or other materials provided
50 *     with the distribution.
51 *
52 *   * Neither the name of the National Semiconductor Corporation nor
53 *     the names of its contributors may be used to endorse or promote
54 *     products derived from this software without specific prior
55 *     written permission.
56 *
57 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
58 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
59 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
60 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
61 * NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY
62 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
63 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
64 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
65 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
66 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE,
67 * INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY
68 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
69 * OF SUCH DAMAGE.
70 *
71 * EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF
72 * YOUR JURISDICTION. It is licensee's responsibility to comply with
73 * any export regulations applicable in licensee's jurisdiction. Under
74 * CURRENT (2001) U.S. export regulations this software
75 * is eligible for export from the U.S. and can be downloaded by or
76 * otherwise exported or reexported worldwide EXCEPT to U.S. embargoed
77 * destinations which include Cuba, Iraq, Libya, North Korea, Iran,
78 * Syria, Sudan, Afghanistan and any other country to which the U.S.
79 * has embargoed goods and services.
80 *
81 * END_NSC_LIC_BSD */
82
83/* NSC_LIC_GPL
84 *
85 * National Semiconductor Corporation Gnu General Public License for Durango
86 *
87 * (GPL License with Export Notice)
88 *
89 * Copyright (c) 1999-2001
90 * National Semiconductor Corporation.
91 * All rights reserved.
92 *
93 * Redistribution and use in source and binary forms, with or without
94 * modification, are permitted under the terms of the GNU General
95 * Public License as published by the Free Software Foundation; either
96 * version 2 of the License, or (at your option) any later version
97 *
98 * In addition to the terms of the GNU General Public License, neither
99 * the name of the National Semiconductor Corporation nor the names of
100 * its contributors may be used to endorse or promote products derived
101 * from this software without specific prior written permission.
102 *
103 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
104 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
105 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
106 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
107 * NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY
108 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
109 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
110 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
111 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
112 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE,
113 * INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY
114 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
115 * OF SUCH DAMAGE. See the GNU General Public License for more details.
116 *
117 * EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF
118 * YOUR JURISDICTION. It is licensee's responsibility to comply with
119 * any export regulations applicable in licensee's jurisdiction. Under
120 * CURRENT (2001) U.S. export regulations this software
121 * is eligible for export from the U.S. and can be downloaded by or
122 * otherwise exported or reexported worldwide EXCEPT to U.S. embargoed
123 * destinations which include Cuba, Iraq, Libya, North Korea, Iran,
124 * Syria, Sudan, Afghanistan and any other country to which the U.S.
125 * has embargoed goods and services.
126 *
127 * You should have received a copy of the GNU General Public License
128 * along with this file; if not, write to the Free Software Foundation,
129 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
130 *
131 * END_NSC_LIC_GPL */
132
133/* INCLUDE SUPPORT FOR FIRST GENERATION, IF SPECIFIED. */
134
135#if GFX_VGA_GU1
136#include "vga_gu1.c"
137#endif
138
139/* WRAPPERS IF DYNAMIC SELECTION */
140/* Extra layer to call either first or second generation routines. */
141
142#if GFX_VGA_DYNAMIC
143
144#endif /* GFX_DISPLAY_DYNAMIC */
145
146/* END OF FILE */
147