Annotation of /trunk/xorg-server/patches/xorg-server-1.0.1-sbus.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 2388 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 2388 byte(s)
-import
1 | niro | 153 | --- hw/xfree86/os-support/bus/xf86Sbus.h- 2005-12-19 19:30:39.000000000 +0000 |
2 | +++ hw/xfree86/os-support/bus/xf86Sbus.h 2005-12-19 19:30:39.000000000 +0000 | ||
3 | @@ -0,0 +1,70 @@ | ||
4 | +/* | ||
5 | + * Platform specific SBUS and OpenPROM access declarations. | ||
6 | + * | ||
7 | + * Copyright (C) 2000 Jakub Jelinek (jakub@redhat.com) | ||
8 | + * | ||
9 | + * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
10 | + * of this software and associated documentation files (the "Software"), to deal | ||
11 | + * in the Software without restriction, including without limitation the rights | ||
12 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
13 | + * copies of the Software, and to permit persons to whom the Software is | ||
14 | + * furnished to do so, subject to the following conditions: | ||
15 | + * | ||
16 | + * The above copyright notice and this permission notice shall be included in | ||
17 | + * all copies or substantial portions of the Software. | ||
18 | + * | ||
19 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
20 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
21 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
22 | + * JAKUB JELINEK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
23 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
24 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
25 | + */ | ||
26 | +/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h,v 1.3 2001/04/20 17:02:43 tsi Exp $ */ | ||
27 | + | ||
28 | +#ifdef HAVE_XORG_CONFIG_H | ||
29 | +#include <xorg-config.h> | ||
30 | +#endif | ||
31 | + | ||
32 | +#ifndef _XF86_SBUS_H | ||
33 | +#define _XF86_SBUS_H | ||
34 | + | ||
35 | +#if defined(linux) | ||
36 | +#include <asm/types.h> | ||
37 | +#include <linux/fb.h> | ||
38 | +#include <asm/fbio.h> | ||
39 | +#include <asm/openpromio.h> | ||
40 | +#elif defined(SVR4) | ||
41 | +#include <sys/fbio.h> | ||
42 | +#include <sys/openpromio.h> | ||
43 | +#elif defined(__OpenBSD__) && defined(__sparc64__) | ||
44 | +/* XXX */ | ||
45 | +#elif defined(CSRG_BASED) | ||
46 | +#if defined(__FreeBSD__) | ||
47 | +#include <sys/types.h> | ||
48 | +#include <sys/fbio.h> | ||
49 | +#include <dev/ofw/openpromio.h> | ||
50 | +#else | ||
51 | +#include <machine/fbio.h> | ||
52 | +#endif | ||
53 | +#else | ||
54 | +#include <sun/fbio.h> | ||
55 | +#endif | ||
56 | + | ||
57 | +#ifndef FBTYPE_SUNGP3 | ||
58 | +#define FBTYPE_SUNGP3 -1 | ||
59 | +#endif | ||
60 | +#ifndef FBTYPE_MDICOLOR | ||
61 | +#define FBTYPE_MDICOLOR -1 | ||
62 | +#endif | ||
63 | +#ifndef FBTYPE_SUNLEO | ||
64 | +#define FBTYPE_SUNLEO -1 | ||
65 | +#endif | ||
66 | +#ifndef FBTYPE_TCXCOLOR | ||
67 | +#define FBTYPE_TCXCOLOR -1 | ||
68 | +#endif | ||
69 | +#ifndef FBTYPE_CREATOR | ||
70 | +#define FBTYPE_CREATOR -1 | ||
71 | +#endif | ||
72 | + | ||
73 | +#endif /* _XF86_SBUS_H */ |