~ubuntu-branches/ubuntu/edgy/xorg-server/edgy-updates

« back to all changes in this revision

Viewing changes to hw/kdrive/epson/epson13806stub.c

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Parra Novo
  • Date: 2006-07-25 20:06:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060725200628-gjmmd9gxfxdc4ejs
Tags: 1:1.1.1-0ubuntu1
* New Upstream version
* Changed Build-Depends from mesa-swrast-source to mesa-swx11-source,
  following Debian package nomenclature
* Re-did 12_security_policy_in_etc.diff for 1.1.1
* Dropped 15_security_allocate_local.diff (applied upstream)
* Dropped 16_SECURITY_setuid.diff (applied upstream)
* Dropped 000_ubuntu_fix_read_kernel_mapping.patch (applied upstream)
* Dropped 002_ubuntu_fix_for_certain_intel_chipsets.patch (applied upstream)
* Updated versioned Build-Depends on mesa-swx11-source to version
  6.5.0.cvs.20060725-0ubuntu1
* Added arrayobj.c, arrayobj.h, bitset.h & rbadaptors.h to
  GL/symlink-mesa.sh (linked from mesa-swx11-source)
* Added arrayobj.c to default build target on GL/mesa/main

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Header$ */
 
2
/*
 
3
 * Copyright 2004 by Costas Stylianou <costas.stylianou@psion.com> +44(0)7850 394095
 
4
 *
 
5
 * Permission to use, copy, modify, distribute, and sell this software and its
 
6
 * documentation for any purpose is hereby granted without fee, provided that
 
7
 * the above copyright notice appear in all copies and that both that
 
8
 * copyright notice and this permission notice appear in supporting
 
9
 * documentation, and that the name of Costas Sylianou not be used in
 
10
 * advertising or publicity pertaining to distribution of the software without
 
11
 * specific, written prior permission. Costas Stylianou makes no representations
 
12
 * about the suitability of this software for any purpose.  It is provided
 
13
 * "as is" without express or implied warranty.
 
14
 *
 
15
 * COSTAS STYLIANOU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 
16
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
 
17
 * EVENT SHALL COSTAS STYLIANOU BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 
18
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 
19
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 
20
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 
21
 * PERFORMANCE OF THIS SOFTWARE.
 
22
 */
 
23
/*
 
24
 * epson13806stub.c 
 
25
 *
 
26
 * History:
 
27
 * 28-Jan-04  C.Stylianou       PRJ NBL: Created from fbdevinit.c
 
28
 *
 
29
 */
 
30
 
 
31
#ifdef HAVE_CONFIG_H
 
32
#include <kdrive-config.h>
 
33
#endif
 
34
 
 
35
#include <epson13806.h>
 
36
 
 
37
void
 
38
InitCard (char *name)
 
39
{
 
40
    KdCardAttr  attr;
 
41
 
 
42
    fprintf(stderr, "Epson 13806 Tiny X Driver ver 1.01\n");
 
43
 
 
44
    KdCardInfoAdd (&epsonFuncs, &attr, 0);
 
45
}
 
46
 
 
47
void
 
48
InitOutput (ScreenInfo *pScreenInfo, int argc, char **argv)
 
49
{
 
50
    KdInitOutput (pScreenInfo, argc, argv);
 
51
}
 
52
 
 
53
void
 
54
InitInput (int argc, char **argv)
 
55
{
 
56
    KdInitInput (&LinuxMouseFuncs, &LinuxKeyboardFuncs);
 
57
#ifdef TOUCHSCREEN
 
58
    KdAddMouseDriver (&TsFuncs);
 
59
#endif
 
60
}
 
61
 
 
62
int
 
63
ddxProcessArgument (int argc, char **argv, int i)
 
64
{
 
65
    return KdProcessArgument (argc, argv, i);
 
66
}
 
67
 
 
68
void
 
69
ddxUseMsg (void)
 
70
{
 
71
    KdUseMsg();
 
72
}