~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xfree86/os-support/bus/ppcPci.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/ppcPci.c,v 1.8 2002/07/24 19:06:52 tsi Exp $ */
 
2
/*
 
3
 * ppcPci.c - PowerPC PCI access functions
 
4
 *
 
5
 * PCI driver functions supporting Motorola PowerPC platforms
 
6
 * including Powerstack(RiscPC/RiscPC+), PowerStackII, MTX, and
 
7
 * MVME 160x/260x/360x/460x VME boards
 
8
 *
 
9
 * Gary Barton
 
10
 * Concurrent Computer Corporation
 
11
 * garyb@gate.net
 
12
 *
 
13
 */
 
14
 
 
15
/*
 
16
 * Copyright 1998 by Concurrent Computer Corporation
 
17
 *
 
18
 * Permission to use, copy, modify, distribute, and sell this software
 
19
 * and its documentation for any purpose is hereby granted without fee,
 
20
 * provided that the above copyright notice appear in all copies and that
 
21
 * both that copyright notice and this permission notice appear in
 
22
 * supporting documentation, and that the name of Concurrent Computer
 
23
 * Corporation not be used in advertising or publicity pertaining to
 
24
 * distribution of the software without specific, written prior
 
25
 * permission.  Concurrent Computer Corporation makes no representations
 
26
 * about the suitability of this software for any purpose.  It is
 
27
 * provided "as is" without express or implied warranty.
 
28
 *
 
29
 * CONCURRENT COMPUTER CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD
 
30
 * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 
31
 * AND FITNESS, IN NO EVENT SHALL CONCURRENT COMPUTER CORPORATION BE
 
32
 * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
 
33
 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
34
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 
35
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 
36
 * SOFTWARE.
 
37
 *
 
38
 * Copyright 1998 by Metro Link Incorporated
 
39
 *
 
40
 * Permission to use, copy, modify, distribute, and sell this software
 
41
 * and its documentation for any purpose is hereby granted without fee,
 
42
 * provided that the above copyright notice appear in all copies and that
 
43
 * both that copyright notice and this permission notice appear in
 
44
 * supporting documentation, and that the name of Metro Link
 
45
 * Incorporated not be used in advertising or publicity pertaining to
 
46
 * distribution of the software without specific, written prior
 
47
 * permission.  Metro Link Incorporated makes no representations
 
48
 * about the suitability of this software for any purpose.  It is
 
49
 * provided "as is" without express or implied warranty.
 
50
 *
 
51
 * METRO LINK INCORPORATED DISCLAIMS ALL WARRANTIES WITH REGARD
 
52
 * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 
53
 * AND FITNESS, IN NO EVENT SHALL METRO LINK INCORPORATED BE
 
54
 * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
 
55
 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
56
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 
57
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 
58
 * SOFTWARE.
 
59
 */
 
60
 
 
61
#ifdef HAVE_XORG_CONFIG_H
 
62
#include <xorg-config.h>
 
63
#endif
 
64
 
 
65
#include <stdio.h>
 
66
#include "compiler.h"
 
67
#include "xf86.h"
 
68
#include "xf86Priv.h"
 
69
#include "xf86_OSlib.h"
 
70
#include "Pci.h"
 
71
 
 
72
#ifndef MAP_FAILED
 
73
#define MAP_FAILED (pointer)(-1)
 
74
#endif
 
75
 
 
76
void
 
77
ppcPciInit()
 
78
{
 
79
  
 
80
  static void motoppcPciInit(void);
 
81
  motoppcPciInit();
 
82
 
 
83
}