1
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/ppcPci.c,v 1.8 2002/07/24 19:06:52 tsi Exp $ */
3
* ppcPci.c - PowerPC PCI access functions
5
* PCI driver functions supporting Motorola PowerPC platforms
6
* including Powerstack(RiscPC/RiscPC+), PowerStackII, MTX, and
7
* MVME 160x/260x/360x/460x VME boards
10
* Concurrent Computer Corporation
16
* Copyright 1998 by Concurrent Computer Corporation
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.
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
38
* Copyright 1998 by Metro Link Incorporated
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.
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
61
#ifdef HAVE_XORG_CONFIG_H
62
#include <xorg-config.h>
69
#include "xf86_OSlib.h"
73
#define MAP_FAILED (pointer)(-1)
80
static void motoppcPciInit(void);