mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
Drop dead PowerPC PCI code.
Also add a warning for anyone still using legacy PCI code.
This commit is contained in:
parent
99583b43a9
commit
e1ae8db625
4 changed files with 1 additions and 99 deletions
|
|
@ -15,10 +15,6 @@ if XORG_BUS_IX86PCI
|
|||
PCI_SOURCES += ix86Pci.c
|
||||
endif
|
||||
|
||||
if XORG_BUS_PPCPCI
|
||||
PCI_SOURCES += ppcPci.c
|
||||
endif
|
||||
|
||||
if XORG_BUS_SPARCPCI
|
||||
PCI_SOURCES += sparcPci.c
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -199,13 +199,12 @@
|
|||
|
||||
|
||||
#if !defined(ARCH_PCI_INIT)
|
||||
#warning You really need to port to libpciaccess.
|
||||
/*
|
||||
* Select architecture specific PCI init function
|
||||
*/
|
||||
#if defined(__i386__) || defined(__i386) || defined(__amd64__) || defined(__amd64)
|
||||
# define ARCH_PCI_INIT ix86PciInit
|
||||
#elif defined(__powerpc__) || defined(__powerpc64__)
|
||||
# define ARCH_PCI_INIT ppcPciInit
|
||||
#elif defined(__sparc__) || defined(sparc)
|
||||
# define ARCH_PCI_INIT sparcPciInit
|
||||
# define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
|
||||
|
|
|
|||
|
|
@ -1,82 +0,0 @@
|
|||
/*
|
||||
* ppcPci.c - PowerPC PCI access functions
|
||||
*
|
||||
* PCI driver functions supporting Motorola PowerPC platforms
|
||||
* including Powerstack(RiscPC/RiscPC+), PowerStackII, MTX, and
|
||||
* MVME 160x/260x/360x/460x VME boards
|
||||
*
|
||||
* Gary Barton
|
||||
* Concurrent Computer Corporation
|
||||
* garyb@gate.net
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright 1998 by Concurrent Computer Corporation
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software
|
||||
* and its documentation for any purpose is hereby granted without fee,
|
||||
* provided that the above copyright notice appear in all copies and that
|
||||
* both that copyright notice and this permission notice appear in
|
||||
* supporting documentation, and that the name of Concurrent Computer
|
||||
* Corporation not be used in advertising or publicity pertaining to
|
||||
* distribution of the software without specific, written prior
|
||||
* permission. Concurrent Computer Corporation makes no representations
|
||||
* about the suitability of this software for any purpose. It is
|
||||
* provided "as is" without express or implied warranty.
|
||||
*
|
||||
* CONCURRENT COMPUTER CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD
|
||||
* TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS, IN NO EVENT SHALL CONCURRENT COMPUTER CORPORATION BE
|
||||
* LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
* DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
* SOFTWARE.
|
||||
*
|
||||
* Copyright 1998 by Metro Link Incorporated
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software
|
||||
* and its documentation for any purpose is hereby granted without fee,
|
||||
* provided that the above copyright notice appear in all copies and that
|
||||
* both that copyright notice and this permission notice appear in
|
||||
* supporting documentation, and that the name of Metro Link
|
||||
* Incorporated not be used in advertising or publicity pertaining to
|
||||
* distribution of the software without specific, written prior
|
||||
* permission. Metro Link Incorporated makes no representations
|
||||
* about the suitability of this software for any purpose. It is
|
||||
* provided "as is" without express or implied warranty.
|
||||
*
|
||||
* METRO LINK INCORPORATED DISCLAIMS ALL WARRANTIES WITH REGARD
|
||||
* TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS, IN NO EVENT SHALL METRO LINK INCORPORATED BE
|
||||
* LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
* DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_XORG_CONFIG_H
|
||||
#include <xorg-config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "compiler.h"
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "Pci.h"
|
||||
|
||||
#ifndef MAP_FAILED
|
||||
#define MAP_FAILED (pointer)(-1)
|
||||
#endif
|
||||
|
||||
void
|
||||
ppcPciInit()
|
||||
{
|
||||
|
||||
static void motoppcPciInit(void);
|
||||
motoppcPciInit();
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue