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