diff options
author | Adam Jackson <ajax@redhat.com> | 2014-09-30 10:34:07 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2014-09-30 10:34:07 -0400 |
commit | c31d7f853d7469085f96f1e37923c260884c611c (patch) | |
tree | d488d27a49f8cef39fef4cac8dbc25d603f899b5 | |
parent | 08d459d2b548ce89264f45c7018f1cda9f08d795 (diff) |
Remove dependency on xf86PciInfo.h
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/smi.h | 10 | ||||
-rw-r--r-- | src/smi_i2c.c | 1 |
2 files changed, 9 insertions, 2 deletions
@@ -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" |