diff --exclude-from /home/mkp/bin/dontdiff -urN xc.orig/programs/Xserver/hw/xfree86/common/xf86pciBus.c xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c --- xc.orig/programs/Xserver/hw/xfree86/common/xf86pciBus.c Wed May 16 03:56:06 2001 +++ xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c Tue May 28 17:34:43 2002 @@ -2784,10 +2784,14 @@ Bool xf86IsPrimaryPci(pciVideoPtr pPci) { +#if defined(linux) && defined(__ia64__) + return 1; +#else if (primaryBus.type != BUS_PCI) return FALSE; return (pPci->bus == primaryBus.id.pci.bus && pPci->device == primaryBus.id.pci.device && pPci->func == primaryBus.id.pci.func); +#endif } /*