[PATCH vmware] Build fix for ABI version 12

Jeremy Huddleston jeremyhu at apple.com
Fri Oct 7 13:19:08 PDT 2011

This results in the vmware driver assuming there is only one PCI domain,
which I think is true for everywhere this is expected to run anyway.

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
This gets vmware building with my recent bus changes, but I haven't tested it.

I'm not sure what BUILD_FOR_420 is.  Is that to disable that code when building for XFree86-4.2 and prior?

 src/vmware.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/vmware.c b/src/vmware.c
index 1be0990..55bde22 100644
--- a/src/vmware.c
+++ b/src/vmware.c
@@ -612,9 +612,11 @@ VMWAREPreInit(ScrnInfoPtr pScrn, int flags)
     uint32 width = 0, height = 0;
     Bool defaultMode;
 #ifndef BUILD_FOR_420
     domainIOBase = pScrn->domainIOBase;
     if (flags & PROBE_DETECT) {
         return FALSE;

More information about the xorg-devel mailing list