xfree86: Deprecate the use of xf86PciInfo.h

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
Jeremy Huddleston 2011-10-30 20:26:42 -07:00
parent eb3377ffb8
commit 1f5baa924a
6 changed files with 3 additions and 10 deletions

View File

@ -47,6 +47,8 @@
#ifndef _XF86_PCIINFO_H
#define _XF86_PCIINFO_H
#warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
/* PCI Pseudo Vendor */
#define PCI_VENDOR_GENERIC 0x00FF

View File

@ -49,6 +49,7 @@
#define XF86_OS_PRIVS
#include "xf86_OSproc.h"
#define PCI_VENDOR_GENERIC 0x00FF
/* Bus-specific globals */
Bool pciSlotClaimed = FALSE;

View File

@ -3552,13 +3552,6 @@ The following include files are typically required by video drivers:
Note: in drivers, this must be included after <filename>"xf86_ansic.h"</filename>.
</para>
<para>
Drivers that need to access PCI vendor/device definitions need this:
<literallayout><filename>
"xf86PciInfo.h"
</filename></literallayout>
</para>
<para>
Drivers that need to access the PCI config space need this:
<literallayout><filename>

View File

@ -9,7 +9,6 @@
#include "xf86_OSproc.h"
/* pci stuff */
#include "xf86PciInfo.h"
#include "xf86Pci.h"
#include "xf86cmap.h"

View File

@ -108,7 +108,6 @@
#define _PCI_H 1
#include "xf86Pci.h"
#include "xf86PciInfo.h"
/*
* Global Definitions

View File

@ -121,7 +121,6 @@ cat > sdksyms.c << EOF
#include "xf86Module.h"
#include "xf86Opt.h"
#ifdef XSERVER_LIBPCIACCESS
#include "xf86PciInfo.h"
#include "xf86VGAarbiter.h"
#endif
#include "xf86Priv.h"