1
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/gfx/gfx_vga.c,v 1.1 2002/12/10 15:12:26 alanh Exp $ */
3
* $Workfile: gfx_vga.c $
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.
9
* NSC_LIC_ALTERNATIVE_PREAMBLE
13
* National Semiconductor Alternative GPL-BSD License
15
* National Semiconductor Corporation licenses this software
20
* under one of the two following licenses, depending on how the
21
* Software is received by the Licensee.
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.
28
* END_NSC_LIC_ALTERNATIVE_PREAMBLE */
32
* National Semiconductor Corporation Open Source License for Durango
34
* (BSD License with Export Notice)
36
* Copyright (c) 1999-2001
37
* National Semiconductor Corporation.
38
* All rights reserved.
40
* Redistribution and use in source and binary forms, with or without
41
* modification, are permitted provided that the following conditions
44
* * Redistributions of source code must retain the above copyright
45
* notice, this list of conditions and the following disclaimer.
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.
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
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
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.
85
* National Semiconductor Corporation Gnu General Public License for Durango
87
* (GPL License with Export Notice)
89
* Copyright (c) 1999-2001
90
* National Semiconductor Corporation.
91
* All rights reserved.
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
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.
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.
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.
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
133
/* INCLUDE SUPPORT FOR FIRST GENERATION, IF SPECIFIED. */
139
/* WRAPPERS IF DYNAMIC SELECTION */
140
/* Extra layer to call either first or second generation routines. */
144
#endif /* GFX_DISPLAY_DYNAMIC */