2
* Id: smistub.c,v 1.1 1999/11/02 08:19:15 keithp Exp $
4
* Copyright 1999 SuSE, Inc.
6
* Permission to use, copy, modify, distribute, and sell this software and its
7
* documentation for any purpose is hereby granted without fee, provided that
8
* the above copyright notice appear in all copies and that both that
9
* copyright notice and this permission notice appear in supporting
10
* documentation, and that the name of SuSE not be used in advertising or
11
* publicity pertaining to distribution of the software without specific,
12
* written prior permission. SuSE makes no representations about the
13
* suitability of this software for any purpose. It is provided "as is"
14
* without express or implied warranty.
16
* SuSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
17
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SuSE
18
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
20
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
* Author: Keith Packard, SuSE, Inc.
25
/* $XFree86: xc/programs/Xserver/hw/kdrive/smi/smistub.c,v 1.4 2002/10/08 21:25:35 keithp Exp $ */
28
#include <kdrive-config.h>
38
if (LinuxFindPci (0x126f, 0x0720, 0, &attr))
39
KdCardInfoAdd (&smiFuncs, &attr, 0);
43
InitOutput (ScreenInfo *pScreenInfo, int argc, char **argv)
45
KdInitOutput (pScreenInfo, argc, argv);
49
InitInput (int argc, char **argv)
51
KdInitInput (&LinuxMouseFuncs, &LinuxKeyboardFuncs);
62
ddxProcessArgument (int argc, char **argv, int i)
66
if (!(ret = subProcessArgument (argc, argv, i)))
67
ret = KdProcessArgument(argc, argv, i);