summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus/e8870PCI.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/bus/e8870PCI.c')
-rw-r--r--hw/xfree86/os-support/bus/e8870PCI.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/hw/xfree86/os-support/bus/e8870PCI.c b/hw/xfree86/os-support/bus/e8870PCI.c
index adbd189f1..9eb34a67a 100644
--- a/hw/xfree86/os-support/bus/e8870PCI.c
+++ b/hw/xfree86/os-support/bus/e8870PCI.c
@@ -34,17 +34,23 @@
#include "Pci.h"
Bool
-xf86PreScanE8870(void)
+xorgProbeE8870(scanpciWrapperOpt flags)
{
PCITAG tag;
/* Look for an E8870's Hub interface */
tag = PCI_MAKE_TAG(0, 0x1E, 0);
- if (pciReadLong(tag, PCI_ID_REG) != DEVID(VENDOR_INTEL, CHIP_82801_P2P))
- return FALSE;
+ if (pciReadLong(tag, PCI_ID_REG) == DEVID(VENDOR_INTEL, CHIP_82801_P2P))
+ return TRUE;
+
+ return FALSE;
+}
+void
+xf86PreScanE8870(void)
+{
/* XXX Fill me in... */
- return TRUE;
+ return;
}
void