1/* $XFree86$ */ 2/* 3 * $Workfile: drac9210.h $ 4 * $Revision: 1.1.1.1 $ 5 * 6 * File Contents: This file contains the panel header file and definition 7 * for the platform with 9210 support. 8 * 9 * SubModule: Geode FlatPanel library 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 * Panel Library 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 * Panel Library 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 * Panel Library 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/* 143 * NSC_LIC_ALTERNATIVE_PREAMBLE 144 * 145 * Revision 1.0 146 * 147 * National Semiconductor Alternative GPL-BSD License 148 * 149 * National Semiconductor Corporation licenses this software 150 * ("Software"): 151 * 152 * Geode graphics driver for panel support 153 * under one of the two following licenses, depending on how the 154 * Software is received by the Licensee. 155 * 156 * If this Software is received as part of the Linux Framebuffer or 157 * other GPL licensed software, then the GPL license designated 158 * NSC_LIC_GPL applies to this Software; in all other circumstances 159 * then the BSD-style license designated NSC_LIC_BSD shall apply. 160 * 161 * END_NSC_LIC_ALTERNATIVE_PREAMBLE */ 162 163/* NSC_LIC_BSD 164 * 165 * National Semiconductor Corporation Open Source License for Durango 166 * 167 * (BSD License with Export Notice) 168 * 169 * Copyright (c) 1999-2001 170 * National Semiconductor Corporation. 171 * All rights reserved. 172 * 173 * Redistribution and use in source and binary forms, with or without 174 * modification, are permitted provided that the following conditions 175 * are met: 176 * 177 * * Redistributions of source code must retain the above copyright 178 * notice, this list of conditions and the following disclaimer. 179 * 180 * * Redistributions in binary form must reproduce the above 181 * copyright notice, this list of conditions and the following 182 * disclaimer in the documentation and/or other materials provided 183 * with the distribution. 184 * 185 * * Neither the name of the National Semiconductor Corporation nor 186 * the names of its contributors may be used to endorse or promote 187 * products derived from this software without specific prior 188 * written permission. 189 * 190 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 191 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 193 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 194 * NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY 195 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 196 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 197 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 198 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 199 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE, 200 * INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY 201 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 202 * OF SUCH DAMAGE. 203 * 204 * EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF 205 * YOUR JURISDICTION. It is licensee's responsibility to comply with 206 * any export regulations applicable in licensee's jurisdiction. Under 207 * CURRENT (2001) U.S. export regulations this software 208 * is eligible for export from the U.S. and can be downloaded by or 209 * otherwise exported or reexported worldwide EXCEPT to U.S. embargoed 210 * destinations which include Cuba, Iraq, Libya, North Korea, Iran, 211 * Syria, Sudan, Afghanistan and any other country to which the U.S. 212 * has embargoed goods and services. 213 * 214 * END_NSC_LIC_BSD */ 215 216/* NSC_LIC_GPL 217 * 218 * National Semiconductor Corporation Gnu General Public License for Durango 219 * 220 * (GPL License with Export Notice) 221 * 222 * Copyright (c) 1999-2001 223 * National Semiconductor Corporation. 224 * All rights reserved. 225 * 226 * Redistribution and use in source and binary forms, with or without 227 * modification, are permitted under the terms of the GNU General 228 * Public License as published by the Free Software Foundation; either 229 * version 2 of the License, or (at your option) any later version 230 * 231 * In addition to the terms of the GNU General Public License, neither 232 * the name of the National Semiconductor Corporation nor the names of 233 * its contributors may be used to endorse or promote products derived 234 * from this software without specific prior written permission. 235 * 236 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 237 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 238 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 239 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 240 * NATIONAL SEMICONDUCTOR CORPORATION OR CONTRIBUTORS BE LIABLE FOR ANY 241 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 242 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 243 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 244 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 245 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE, 246 * INTELLECTUAL PROPERTY INFRINGEMENT, OR OTHERWISE) ARISING IN ANY WAY 247 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 248 * OF SUCH DAMAGE. See the GNU General Public License for more details. 249 * 250 * EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF 251 * YOUR JURISDICTION. It is licensee's responsibility to comply with 252 * any export regulations applicable in licensee's jurisdiction. Under 253 * CURRENT (2001) U.S. export regulations this software 254 * is eligible for export from the U.S. and can be downloaded by or 255 * otherwise exported or reexported worldwide EXCEPT to U.S. embargoed 256 * destinations which include Cuba, Iraq, Libya, North Korea, Iran, 257 * Syria, Sudan, Afghanistan and any other country to which the U.S. 258 * has embargoed goods and services. 259 * 260 * You should have received a copy of the GNU General Public License 261 * along with this file; if not, write to the Free Software Foundation, 262 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 263 * 264 * END_NSC_LIC_GPL */ 265 266#include "panel.h" 267 268#ifndef _DRAC9210_h 269#define _DRAC9210_h 270#define CX55x0_ID 0x80009000 271static unsigned char c92DataReg = 0; 272#endif /* !_DRAC9210_h */ 273 274/* END OF FILE */ 275