From c31d7f853d7469085f96f1e37923c260884c611c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 30 Sep 2014 10:34:07 -0400 Subject: Remove dependency on xf86PciInfo.h Signed-off-by: Adam Jackson --- src/smi.h | 10 +++++++++- src/smi_i2c.c | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/smi.h b/src/smi.h index 8ca760e..dce82e6 100644 --- a/src/smi.h +++ b/src/smi.h @@ -37,7 +37,6 @@ authorization from the XFree86 Project and Silicon Motion. #include "xf86.h" #include "xf86_OSproc.h" -#include "xf86PciInfo.h" #include "xf86Pci.h" #include "xf86Cursor.h" #include "vgaHW.h" @@ -68,6 +67,15 @@ authorization from the XFree86 Project and Silicon Motion. /* D E F I N I T I O N S */ /******************************************************************************/ +#define PCI_VENDOR_SMI 0x126F +#define PCI_CHIP_SMI910 0x0910 +#define PCI_CHIP_SMI810 0x0810 +#define PCI_CHIP_SMI820 0x0820 +#define PCI_CHIP_SMI710 0x0710 +#define PCI_CHIP_SMI712 0x0712 +#define PCI_CHIP_SMI720 0x0720 +#define PCI_CHIP_SMI731 0x0730 + #ifndef SMI_DEBUG #define SMI_DEBUG 0 #endif diff --git a/src/smi_i2c.c b/src/smi_i2c.c index f38b514..ecf350e 100644 --- a/src/smi_i2c.c +++ b/src/smi_i2c.c @@ -35,7 +35,6 @@ authorization from the XFree86 Project and Silicon Motion. #include "xf86_OSproc.h" #include "compiler.h" #include "xf86Pci.h" -#include "xf86PciInfo.h" #include "vgaHW.h" #include "smi.h" -- cgit v1.2.3