Therefore compilation fails saying ioBase isn't a member of struct pci. Simple fix. --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -2754,8 +2754,12 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) if (pXGI->Primary) { #if defined(__arm__) +#ifdef XSERVER_LIBPCIACCESS + VGAHWPTR(pScrn)->MapPhys = pXGI->PciInfo->regions[2].base_addr + 0xf2000000; +#else VGAHWPTR(pScrn)->MapPhys = pXGI->PciInfo->ioBase[2] + 0xf2000000; #endif +#endif VGAHWPTR(pScrn)->MapSize = 0x10000; /* Standard 64k VGA window */ if (!vgaHWMapMem(pScrn)) {
Fixed, with credit to the now unsubscribed OP.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.