1 /* COPYRIGHT AND PERMISSION NOTICE
3 Copyright (c) 2000, 2001 Nokia Home Communications
7 Permission is hereby granted, free of charge, to any person obtaining
8 a copy of this software and associated documentation files (the
9 "Software"), to deal in the Software without restriction, including
10 without limitation the rights to use, copy, modify, merge, publish,
11 distribute, and/or sell copies of the Software, and to permit persons
12 to whom the Software is furnished to do so, provided that the above
13 copyright notice(s) and this permission notice appear in all copies of
14 the Software and that both the above copyright notice(s) and this
15 permission notice appear in supporting documentation.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
20 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21 HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
22 SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
23 RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
24 CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
25 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27 Except as contained in this notice, the name of a copyright holder
28 shall not be used in advertising or otherwise to promote the sale, use
29 or other dealings in this Software without prior written authorization
30 of the copyright holder.
32 X Window System is a trademark of The Open Group */
34 /* Stub functions for the i810 KDrive driver
35 Author: Pontus Lidman <pontus.lidman@nokia.com>
39 #include <kdrive-config.h>
46 static const int i810Cards
[]={
52 #define numI810Cards (sizeof(i810Cards) / sizeof(i810Cards[0]))
60 for (i
= 0; i
< numI810Cards
; i
++)
61 if (LinuxFindPci (0x8086, i810Cards
[i
], 0, &attr
))
62 KdCardInfoAdd (&i810Funcs
, &attr
, (void *) i810Cards
[i
]);
67 InitOutput (ScreenInfo
*pScreenInfo
, int argc
, char **argv
)
69 KdInitOutput (pScreenInfo
, argc
, argv
);
73 InitInput (int argc
, char **argv
)
75 KdOsAddInputDrivers ();
86 ddxProcessArgument (int argc
, char **argv
, int i
)
90 ret
= KdProcessArgument(argc
, argv
, i
);