Permalink
Browse files

remove use of xf86PciInfo.h, deprecated now apparently

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information...
1 parent 248de8c commit f5d1cd2cb6808838ae1a188cef888eaa9582c76d @skeggsb committed Mar 5, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −2 src/nv_driver.c
  2. +0 −3 src/nv_include.h
View
4 src/nv_driver.c
@@ -65,8 +65,8 @@ static Bool NVUnmapMem(ScrnInfoPtr pScrn);
0x00030000, 0x00ffffff, 0 }
static const struct pci_id_match nouveau_device_match[] = {
- NOUVEAU_PCI_DEVICE(PCI_VENDOR_NVIDIA, PCI_MATCH_ANY),
- NOUVEAU_PCI_DEVICE(PCI_VENDOR_NVIDIA_SGS, PCI_MATCH_ANY),
+ NOUVEAU_PCI_DEVICE(0x12d2, PCI_MATCH_ANY),
+ NOUVEAU_PCI_DEVICE(0x10de, PCI_MATCH_ANY),
{ 0, 0, 0 },
};
View
3 src/nv_include.h
@@ -17,9 +17,6 @@
#define PPC_MMIO_IS_BE
#include "compiler.h"
-/* Drivers for PCI hardware need this */
-#include "xf86PciInfo.h"
-
/* Drivers that need to access the PCI config space directly need this */
#include "xf86Pci.h"

0 comments on commit f5d1cd2

Please sign in to comment.