1fa225cbcSrjs/* -*- c-basic-offset: 4 -*- */ 2fa225cbcSrjs/* 3fa225cbcSrjs * Copyright © 2006 Intel Corporation 4fa225cbcSrjs * 5fa225cbcSrjs * Permission is hereby granted, free of charge, to any person obtaining a 6fa225cbcSrjs * copy of this software and associated documentation files (the "Software"), 7fa225cbcSrjs * to deal in the Software without restriction, including without limitation 8fa225cbcSrjs * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9fa225cbcSrjs * and/or sell copies of the Software, and to permit persons to whom the 10fa225cbcSrjs * Software is furnished to do so, subject to the following conditions: 11fa225cbcSrjs * 12fa225cbcSrjs * The above copyright notice and this permission notice (including the next 13fa225cbcSrjs * paragraph) shall be included in all copies or substantial portions of the 14fa225cbcSrjs * Software. 15fa225cbcSrjs * 16fa225cbcSrjs * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17fa225cbcSrjs * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18fa225cbcSrjs * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19fa225cbcSrjs * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20fa225cbcSrjs * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21fa225cbcSrjs * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22fa225cbcSrjs * DEALINGS IN THE SOFTWARE. 23fa225cbcSrjs * 24fa225cbcSrjs * Authors: 25fa225cbcSrjs * Eric Anholt <eric@anholt.net> 26fa225cbcSrjs * 27fa225cbcSrjs */ 28fa225cbcSrjs 29fa225cbcSrjs#ifdef HAVE_XORG_CONFIG_H 30fa225cbcSrjs#include <xorg-config.h> 31fa225cbcSrjs#endif 32fa225cbcSrjs 33fa225cbcSrjs#ifdef HAVE_CONFIG_H 34fa225cbcSrjs#include "config.h" 35fa225cbcSrjs#endif 36fa225cbcSrjs 37fa225cbcSrjs#include "xf86Module.h" 38fa225cbcSrjs 39fa225cbcSrjsstatic MODULESETUPPROTO(ivch_setup); 40fa225cbcSrjs 41fa225cbcSrjsstatic XF86ModuleVersionInfo ivch_version = { 42fa225cbcSrjs "ivch", 43fa225cbcSrjs MODULEVENDORSTRING, 44fa225cbcSrjs MODINFOSTRING1, 45fa225cbcSrjs MODINFOSTRING2, 46fa225cbcSrjs XORG_VERSION_CURRENT, 47fa225cbcSrjs 1, 0, 0, 48fa225cbcSrjs ABI_CLASS_VIDEODRV, 49fa225cbcSrjs ABI_VIDEODRV_VERSION, 50fa225cbcSrjs MOD_CLASS_NONE, 51fa225cbcSrjs { 0,0,0,0 } 52fa225cbcSrjs}; 53fa225cbcSrjs 54fa225cbcSrjs_X_EXPORT XF86ModuleData ivchModuleData = { 55fa225cbcSrjs &ivch_version, 56fa225cbcSrjs ivch_setup, 57fa225cbcSrjs NULL 58fa225cbcSrjs}; 59fa225cbcSrjs 60fa225cbcSrjsstatic pointer 61fa225cbcSrjsivch_setup(pointer module, pointer opts, int *errmaj, int *errmin) 62fa225cbcSrjs{ 63fa225cbcSrjs return (pointer)1; 64fa225cbcSrjs} 65