diff options
author | Laurent Carlier <lordheavym@gmail.com> | 2016-11-21 20:02:34 +0100 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2018-12-06 14:48:59 -0800 |
commit | 77346606a1b1bdb624ad7661de4008e6b0f63381 (patch) | |
tree | c5f89ddb68a86b994440716a9ba9c6280ed1a209 | |
parent | f2c051aa66e0168e31b72697ca86a108edbfd986 (diff) |
Stop using deprecated xf86PciInfo.h
Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
Reviewed-by: Connor Behan <connor.behan@gmail.com>
-rw-r--r-- | src/i740.h | 6 | ||||
-rw-r--r-- | src/i740_accel.c | 1 | ||||
-rw-r--r-- | src/i740_dga.c | 1 | ||||
-rw-r--r-- | src/i740_i2c.c | 1 | ||||
-rw-r--r-- | src/i740_video.c | 1 |
5 files changed, 5 insertions, 5 deletions
@@ -37,7 +37,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "i740_pcirename.h" -#include "xf86PciInfo.h" #include "xf86Pci.h" #include "i740_reg.h" @@ -58,6 +57,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define OUTREG16(addr, val) *(volatile CARD16 *)(pI740->MMIOBase + (addr)) = (val) #define OUTREG(addr, val) *(volatile CARD32 *)(pI740->MMIOBase + (addr)) = (val) +#define PCI_VENDOR_REAL3D 0x003D +#define PCI_CHIP_I740_PCI 0x00D1 +#define PCI_VENDOR_INTEL 0x8086 +#define PCI_CHIP_I740_AGP 0x7800 + typedef struct _I740Rec *I740Ptr; typedef void (*I740WriteIndexedByteFunc)(I740Ptr pI740, int addr, diff --git a/src/i740_accel.c b/src/i740_accel.c index de06e07..b1e982c 100644 --- a/src/i740_accel.c +++ b/src/i740_accel.c @@ -42,7 +42,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "compiler.h" #include "xf86Pci.h" -#include "xf86PciInfo.h" #include "vgaHW.h" diff --git a/src/i740_dga.c b/src/i740_dga.c index c16cce3..f1103ad 100644 --- a/src/i740_dga.c +++ b/src/i740_dga.c @@ -29,7 +29,6 @@ #include "xf86.h" #include "xf86_OSproc.h" #include "xf86Pci.h" -#include "xf86PciInfo.h" #include "vgaHW.h" #include "xf86xv.h" #include "i740.h" diff --git a/src/i740_i2c.c b/src/i740_i2c.c index e57c7b0..0ad504e 100644 --- a/src/i740_i2c.c +++ b/src/i740_i2c.c @@ -33,7 +33,6 @@ #include "compiler.h" #include "xf86Pci.h" -#include "xf86PciInfo.h" #include "vgaHW.h" diff --git a/src/i740_video.c b/src/i740_video.c index fc2d137..89d94a6 100644 --- a/src/i740_video.c +++ b/src/i740_video.c @@ -60,7 +60,6 @@ #include "xf86.h" #include "xf86_OSproc.h" #include "compiler.h" -#include "xf86PciInfo.h" #include "xf86Pci.h" #include "xf86fbman.h" #include "regionstr.h" |