diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-19 01:15:03 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-19 01:15:03 -0700 |
commit | 463886df688d3521afc47ec88f9aaf67e924ec7f (patch) | |
tree | 45c5905f9e9ebeda9fb6875d68e47549a6af28b9 | |
parent | 0b02c68581f48c3239bc150df137623053794a3e (diff) | |
download | xorg-driver-xf86-video-vesa-463886df688d3521afc47ec88f9aaf67e924ec7f.tar.gz |
Build fix for ABI Version 12
ABI Version 12 removes support for multiple PCI domains. If you need to
use this driver on a system with more than one PCI domain, you should
either port this driver to using libpciaccess directly or stick with an
older server.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | src/vesa.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1299,7 +1299,11 @@ VESAMapVidMem(ScrnInfoPtr pScrn) } #endif +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 pVesa->ioBase = pScrn->domainIOBase; +#else + pVesa->ioBase = 0; +#endif xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, DEBUG_VERB, "virtual address = %p,\n" |